Skip to content

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.

Noah Lipsyc added 2 commits December 13, 2024 16:05
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