R1j1t / contextualSpellCheck

✔️Contextual word checker for better suggestions
MIT License
405 stars 56 forks source link

updated extensions and context to model #5

Closed R1j1t closed 4 years ago

R1j1t commented 4 years ago
  1. Context changed from Doc to Span (sentence) in candidateGenerator hence parser is required
  2. doc._.outcome_spellCheck extension will now be a getter
  3. doc._.suggestions_spellCheck is now set during the call to candidateRanking
  4. Updated suggestions_spellCheck response from {spaCy.Token: List(str)} to {spaCy.Token: str} as score_spellcheck extension was also giving similar data
  5. misspellIdentify updated with new conditions