post_process_fragment library
Fragment repair passes for OCR post-processing.
Handles fragmented word reconstruction, fragment merging, and split-character recovery.
Functions
-
normalizeFragmentedLine(
String line, {bool applyDictionary = true}) → String - Repairs fragmented words and common letter confusions in noisy lines.