numerizer icon indicating copy to clipboard operation
numerizer copied to clipboard

Big prefix bugfix

Open nlipsyc opened this issue 1 year ago • 0 comments

When using the spacy integration, an improperly transcribed piece of text caused the parsing to fail. In this case it was "y. Million" (should have been "why millions"). This had a pattern match for . Million, but group_1 was . which can't be parsed to a number.

This PR just allows us to gracefully fall back to the best effort in that case.

nlipsyc avatar Dec 13 '24 21:12 nlipsyc