contextualSpellCheck: Misbehavior? #10604
-
I'm not sure if a spell checker should actually perform a paraphrase. "Conference on Empirical Methods in Natural Language Processing" |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @Halvani , this might be due to the fact that |
Beta Was this translation helpful? Give feedback.
Hi @Halvani , this might be due to the fact that
contextualSpellChecker
uses BERT embeddings (i.e., checking the context of a given token) to estimate how a word should be corrected. You may have a shot by preprocessing the text a bit to better guide the spell-checker, trying out a rules-based approach (perhaps by using other tools like autocorrect), or experimenting with some of the spell checker's parameters. For the last suggestion, perhaps you can try playing around the edit distance or the BERT model? Just to see how strict it will be when correcting your text.