はじめに 記事の対象者と目的 こんにちは!株式会社エンラプト開発チームです。本記事では、OCR(光学的文字認識)のサービスを活用したアプリケーション開発に関心がある皆さんに向けて、ChatGPTと組み合わせてOCRを利用続きを読む “OCRサービスで抽出したテキストデータをChatGPTに解析させる”
タグアーカイブ:Japanese
Kanji Character Validation in Javascript
The simplest way I’ve found to restrict the entry of characters to only allow entry of valid Shift-JIS characters is just to check each character in the input field and throw an error on the entry of an invalid character.
Full-width to Half-width Katakana Conversion using Javascript
Since the byte characters and lengths are different for full-width and half-width versions of katakana, most Japanese web applications resolve this issue by auto-converting full-width katakana characters into half-width katakana characters.