Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Big prefix bugfix #29

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

nlipsyc
Copy link

@nlipsyc nlipsyc commented Dec 13, 2024

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.

When using the spacy integration, an improperly transcribed piece of text cased the parsing to fail. In this case it was "y. Million" (should have been "why millions").  This had a pattern match, 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant