Tags: R1j1t/contextualSpellCheck
Tags
Add support to spaCy v3 (#52) * Update to spacyv3 (#49) * Resolved #48 by migrating the code to match the nlp pipeline in spacy v3. See: https://nightly.spacy.io/usage/v3#migrating-add-pipe * updated tests in contextualSpellCheck.py to match the pipeline in spacy v3 * updated spacy dependency number * black lint * Update tests Co-authored-by: R1j1t <22280243+R1j1t@users.noreply.github.com> * updated the type check based on PEP 3017 Ref: - https://stackoverflow.com/a/21384492/7630458 - https://docs.python.org/3/library/typing.html - https://www.python.org/dev/peps/pep-3107/ * updated README and controller * reflected changes in examples and other housekeeping * preparing for release * removed optional config from README usage Co-authored-by: jonmun <jonny.munro@hotmail.co.uk>
Merge pull request #21 from R1j1t/dev - updated README to correctly represent the spacy extension response and minor changes - Added validation is max_edit_dist param and raise ValueError if fails - update vocab loading from static vocab file to load from transformers model
PreviousNext