You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wondering if there is a way to force some words to be corrected to a certain word.
for example, I want always to correct "teh" with 'the', instead of 'ten' for example.
Something like:
sym_spell.create_dictionary_entry("splling", "spelling", 1000)
which apparently won't work, but just as an example of the logic.
Maybe, there is a way to create a custom disctionary with 'misspelling' and 'correction' for these specific words and symspellpy will use them instead of relying on the current used edit distance. Please let me know what you think.
Thanks
The text was updated successfully, but these errors were encountered:
Hi @mammothb ,
I am wondering if there is a way to force some words to be corrected to a certain word.
for example, I want always to correct "teh" with 'the', instead of 'ten' for example.
Something like:
sym_spell.create_dictionary_entry("splling", "spelling", 1000)
which apparently won't work, but just as an example of the logic.
Maybe, there is a way to create a custom disctionary with 'misspelling' and 'correction' for these specific words and symspellpy will use them instead of relying on the current used edit distance. Please let me know what you think.
Thanks
The text was updated successfully, but these errors were encountered: