Japanese mixes kanji, hiragana and katakana on one page, which is a hard case for OCR set to English. Tesseract’s manual lists jpn (Japanese) among its traineddata files and notes that selecting a language also selects its character set and dictionary.
Use the practice file
A practice document, practice-japanese-text.pdf. The file is fictional.
| Page | Content |
|---|---|
| 1 | English title page |
| 2 | Japanese passage, 5 lines, kanji and kana mixed |
| 3 | English summary |
Page 2 is the check page: the Japanese passage has 5 lines.
Check the Japanese passage
Expected result. We checked the Tesseract manual and the Adobe Help. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.
1. List the installed languages
Run tesseract –list-langs and look for jpn.
Expected result: jpn is listed, so the Japanese pack is installed.
2. Run OCR with jpn
Set the OCR language to jpn for page 2.
Expected result: OCR processes page 2 with the Japanese model.
3. Select a word in the passage
Drag across a word on page 2.
Expected result: The word highlights as a group.
4. Copy the passage
Copy the five lines and paste them into a text file.
Expected result: The pasted text shows Japanese characters, not Latin gibberish, and the line count is 5.
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| List the installed languages | jpn is listed, so the Japanese pack is installed. | — |
| Run OCR with jpn | OCR processes page 2 with the Japanese model. | — |
| Select a word in the passage | The word highlights as a group. | — |
| Copy the passage | The pasted text shows Japanese characters, not Latin gibberish, and the line count is 5. | — |
Related guides: How to Pick the OCR Language for a Multilingual Scanned PDF — How to Check That Your OCR Language Pack Is Installed.
Limits
- Mixed scripts need the right pack, not a bigger scan: if the output is Latin gibberish, the language setting is wrong, whatever the resolution.
- The wrong language setting produces confident-looking gibberish; the language must match the page, not the reader.
- UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.
Sources
- Tesseract manual, “tesseract(1) — command-line OCR engine” — Default language is English; -l takes 3-character ISO 639-2 codes, joined with + for several languages; –list-langs lists installed packs; –psm sets the page segmentation mode. Checked 2026-11-28.
- Adobe Help, “Recognize text in scanned PDFs with Acrobat” — Scanned PDFs hold only image data; Recognize Text creates a searchable text layer. Checked 2026-11-28.
