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

[Persian][Numeral] Extract incorrect number from text #713

Open
AmirMohamadBabaee opened this issue Feb 8, 2023 · 0 comments
Open

[Persian][Numeral] Extract incorrect number from text #713

AmirMohamadBabaee opened this issue Feb 8, 2023 · 0 comments

Comments

@AmirMohamadBabaee
Copy link

when I checked the numeral dimension, I figured out that there is an issue with the numeral extractor.
in Persian, صدرا is a first name, and صد means hundred. when the name is fed into the Duckling the output is 100را which is not correct. I tried some other examples and found it in another example when the verb بده (which means give) is converted to ب10 cause ده means ten in Persian.
How can I change the configuration of Duckling to enforce rules to apply just to tokens that are space separated?

@AmirMohamadBabaee AmirMohamadBabaee changed the title extract incorrect number from text in Persian [Persian][Numeral] Extract incorrect number from text Feb 8, 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

No branches or pull requests

1 participant