How to Make spelling correction for custom entity #13393
-
I want to do spelling correction for Custom entity like apple , banana etc . `import spacy nlp = spacy.load("en_core_web_sm") pipeline = nlp.add_pipe("contextual spellchecker", last=True) ContextualSpellCheck(nlp=nlp, name="my_contextual_spellchecker",vocab_path="testvocab.txt") doc = nlp('can i buy aple') the output i am getting as below |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi! We haven't created or maintain |
Beta Was this translation helpful? Give feedback.
Hi! We haven't created or maintain
ContextualSpellCheck
, so it's best to ask there directly: https://github.com/R1j1t/contextualSpellCheck