New Tool Radar

OCR & Text Layers

How to Check Chinese Characters in a Scanned PDF After OCR

Check whether simplified Chinese characters in a scanned PDF are recognised with the right language pack, not guessed as English.

Schematic illustration of a scanned PDF with a simplified Chinese passage: after OCR with chi_sim the characters highlight as a group and paste back as Chinese.

Chinese characters are outside the Latin alphabet, so English OCR produces gibberish on a Chinese page. Tesseract’s manual lists chi_sim (Chinese simplified) 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-chinese-text.pdf. The file is fictional.

Page Content
1 English title page
2 Simplified Chinese passage, 5 lines, including the characters for “harvest”
3 English summary

Page 2 is the check page: the Chinese passage has 5 lines.

Check the Chinese 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 chi_sim.

Expected result: chi_sim is listed, so the simplified Chinese pack is installed.

2. Run OCR with chi_sim

Set the OCR language to chi_sim for page 2.

Expected result: OCR processes page 2 with the Chinese model.

3. Select a character group

Drag across the characters for “harvest” on page 2.

Expected result: The characters highlight as a group, not as scattered marks.

4. Copy the passage

Copy the five lines and paste them into a text file.

Expected result: The pasted text shows Chinese characters, not Latin gibberish, and the line count is 5.

Verdict table

Check Expected result Pass?
List the installed languages chi_sim is listed, so the simplified Chinese pack is installed. —
Run OCR with chi_sim OCR processes page 2 with the Chinese model. —
Select a character group The characters highlight as a group, not as scattered marks. —
Copy the passage The pasted text shows Chinese 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

  • If the pasted text is Latin gibberish, the language pack was missing or the wrong language was set; the characters themselves are the test, not the fact that something was produced.
  • 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

See all