Releases: R1j1t/contextualSpellCheck
Releases · R1j1t/contextualSpellCheck
Allow user specific vocab and minor fix
Following changes in this release:
- Allow user specified vocab to identify misspell (#12)
- Fix a bug where file read presented issue. Thanks to @gaurav0804 for #11
Fix: token modification by package downstream
Thanks @mark-fangzhou-xie for pointing out an issue where the token text and position is modified an a downstream process. This affected our custom extension.
As a fix
- use setter for corrected sentence and not getter (to solve issue with downstream process)
- raise warning when extension is accessed and the token position/text is modified
Release with better doc and extension
Updated following:
- Context changed from
Doc
toSpan
(sentence) incandidateGenerator
henceparser
is required doc._.outcome_spellCheck
extension will now be a getterdoc._.suggestions_spellCheck
is now set during the call tocandidateRanking
and outputs our recommendation- Updated
suggestions_spellCheck
response from{spaCy.Token: List(str)}
to{spaCy.Token: str}
asscore_spellcheck
extension was also giving similar data misspellIdentify
updated with new conditions
Some other minors enhancements and fixes!
Thanks all, who downloaded and tried the package, please ⭑ the repo if you like the work!
Corrected default path for vocab
0.0.4 relative path fix
Initial public release
This is first release of the package. There is still many tasks left from here!