mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-11 12:18:04 +03:00
updated code eg & description of contextualSpellCheck (#7096)
This commit is contained in:
parent
0c7937c74d
commit
de2874f0f8
|
@ -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.')",
|
||||
"",
|
||||
|
|
Loading…
Reference in New Issue
Block a user