Start with one line you can check

Open the original PDF and try selecting a word. If it copies clearly, use regular extraction first. If you can only select the whole page, it is probably a photograph. OCR reads its visible letters. Some older PDFs let you select a word but paste unrelated symbols. In that case, read the page again using OCR.

Check the small marks first

Read this sample as you would a receipt. Check the subscript in the word for “Khmer,” the repeated Khmer zeroes, and the currency at the end. A line can look convincing even if one small mark or digit is missing.

សៀវភៅភាសាខ្មែរ
តម្លៃ ២៥,០០០ រៀល

In this example the amount is 25,000 riel. Compare one group of digits at a time. For official documents, check names and dates against the original even when the surrounding words are correct.

Try a Khmer library notice

Download our one-page practice scan. In the PDF reader, choose the file, extract its text and compare these three lines against your result.

Download the Khmer practice PDF (240 KB)

ទីកន្លែង៖ បណ្ណាល័យសហគមន៍
ចំនួនសៀវភៅ៖ ១២ ក្បាល
ថវិកាសរុប៖ ២៥,០០០ រៀល

When a scan drops letters

Zoom in on the source. If a subscript touches the line below it, a stronger black-and-white filter can merge the strokes. Try a sharper colour or grayscale scan with the page flat and the camera straight above it. With two-column documents, check that the last words of one column have not joined the first words of the next.

Save a checked copy

Correct the extracted text before saving it. Keep the original scan for comparison. For a clean PDF of the corrected words, paste the text into the PDF maker. Open the downloaded file and check the line breaks before sharing.

Extract text from a PDF · Create a PDF from text