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

fixed a bug in German ordinal detection #89

Merged
merged 1 commit into from
May 26, 2023
Merged

Conversation

fquirin
Copy link
Contributor

@fquirin fquirin commented May 26, 2023

I realized there was a bug inside the function split_number_word for the German parser related to the detection of ordinal numbers. For example the word einkaufsliste (shopping-list) became "1" because the parser saw "ein" (one) and falsely assumed "...iste" was the ending of an (unknown) ordinal number.
I fixed the bug by making sure that the ordinal indicator "iste" actually follows a known number.

@rtxm
Copy link
Collaborator

rtxm commented May 26, 2023

Thanks for your participation!

@rtxm rtxm merged commit 55fe23a into allo-media:master May 26, 2023
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.

None yet

2 participants