Skip to content

Spoken ordinal numbers not extracted correctly (in German) #17

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

Open
JoergZ2 opened this issue Mar 7, 2025 · 0 comments
Open

Spoken ordinal numbers not extracted correctly (in German) #17

JoergZ2 opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@JoergZ2
Copy link

JoergZ2 commented Mar 7, 2025

>>> a = "nimm den siebten eintrag"
>>> b = ovos_number_parser.extract_number_de(a)
>>> b
>>> 

Maybe not all grammatical variants are considered...

Further examples (using strings from module source code):

>>> a = "nimm den siebt eintrag"
>>> b = ovos_number_parser.extract_number_de(a)
>>> print(b)
>>> None

In English a bit different, may help:

>>> a = "take second row"
>>> b = ovos_number_parser.extract_number_en(a)
>>> print(b)
>>> False

Noticeable that in German it is 'None' and in English 'False'

@JarbasAl JarbasAl added bug Something isn't working help wanted Extra attention is needed labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants