Closed jacobzweig closed 5 years ago
Hey @jacobzweig, minor bug with a recursive algorithm for stemming. Thanks for reporting, I've pushed a fix (basically doesn't stem words beyond a certain length, since words that are clearly above a certain length are garbage input). I've pushed a fix, and will report back here once it passes the CI/CD pipeline and is deployed to PyPI.
@jacobzweig this should now be fixed on version 0.1.119
, use pip install pymagnitude -U
to upgrade on Python 2.7 or pip3 install pymagnitude -U
to upgrade on Python 3.
Excellent, thanks @AjayP13!
I ran into an interesting RecursionError with a string in a corpus I was using recently:
Results in the following traceback:
Any ideas on what might have caused this? Obviously the string should likely be removed, but curious why I ran into the error.