updated code eg & description of contextualSpellCheck (#7096)

This commit is contained in:
Rajat 2021-02-17 17:56:43 +05:30 committed by svlandeg
parent 0c7937c74d
commit de2874f0f8

View File

@ -2542,14 +2542,14 @@
"id": "contextualSpellCheck",
"title": "Contextual Spell Check",
"slogan": "Contextual spell correction using BERT (bidirectional representations)",
"description": "This package currently focuses on Out of Vocabulary (OOV) word or non-word error (NWE) correction using BERT model. The idea of using BERT was to use the context when correcting NWE. In the coming days, I would like to focus on RWE and optimising the package by implementing it in cython.",
"description": "This package currently focuses on Out of Vocabulary (OOV) word or non-word error (NWE) correction using BERT model. The idea of using BERT was to use the context when correcting NWE.",
"github": "R1j1t/contextualSpellCheck",
"pip": "contextualSpellCheck",
"code_example": [
"import spacy",
"import contextualSpellCheck",
"",
"nlp = spacy.load('en')",
"nlp = spacy.load('en_core_web_sm')",
"contextualSpellCheck.add_to_pipe(nlp)",
"doc = nlp('Income was $9.4 milion compared to the prior year of $2.7 milion.')",
"",