Open statzhero opened 11 months ago
Symspell takes two factors into account when ranking correction candidates:
Symspell does not take into account:
Using those factors with weighted Damerau-Levenshtein edit distance for the ranking of correction candidates could significantly improve correction quality. But the purpose of SymSpell was just to demonstrate the symmetric-delete algorithm and its speed advantage, but not to provide a turn-key spelling correction. But there is a SymSpell implementation with weighted Damerau-Levenshtein edit distance / keyboard-distance which probably could be used to improve correction quality for OCR
Thank you! I guess I was hoping someone already made a “low tech” solution in the form of a dictionary for all the kerning and ligature issues.
What is the recommended practice for OCR typos that come from say poor kerning? Examples below.
mformation --> information wntmg --> writing
The problem I have is that SymSpell
lookup_compound
seems to suggest other words such as "formation" or "with a" instead of the correct terms.Apologies if this is not the right place to ask.