Skip to content

Fix Latin correction for non-Latin OCR languages - #670

Open
NgoQuocViet2001 wants to merge 1 commit into
TheJoeFin:mainfrom
NgoQuocViet2001:fix-language-scoped-latin-correction
Open

Fix Latin correction for non-Latin OCR languages#670
NgoQuocViet2001 wants to merge 1 commit into
TheJoeFin:mainfrom
NgoQuocViet2001:fix-language-scoped-latin-correction

Conversation

@NgoQuocViet2001

Copy link
Copy Markdown

Fixes #669

Summary

  • Apply CorrectToLatin only when the selected capture language is Latin-based.
  • Carry the capture language through paragraph, line/table, PDF, Tesseract, and Grab Frame OCR paths.
  • Add regression coverage for Latin and Cyrillic capture languages.

Testing

  • dotnet test Tests\Tests.csproj --no-restore --verbosity minimal (1446 passed, 7 skipped)
  • dotnet test Tests\Tests.csproj --no-restore --filter 'FullyQualifiedName~CleanOutput_CorrectsOnlyLatinCaptureLanguages' --verbosity minimal (2 passed)

@NgoQuocViet2001
NgoQuocViet2001 force-pushed the fix-language-scoped-latin-correction branch from e9f039d to 5215a4d Compare August 14, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Correct misidentifications between Greek and Cyrillic to Latin letters setting overly applied

1 participant