0.2.0
- Updated to LT version 5.2.
- Suggestions now have a
message
andsource
attribute (#5):
suggestions = rules.suggest_sentence("She was not been here since Monday.")
for s in suggestions:
print(s.start, s.end, s.text, s.source, s.message)
# prints:
# 4 16 ['was not', 'has not been'] WAS_BEEN.1 Did you mean was not or has not been?
- NLPRule is parallelized by default now. Parallelism can be turned off by setting the
NLPRULE_PARALLELISM
environment variable to false.