-
Notifications
You must be signed in to change notification settings - Fork 503
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
Improve Turkish implementation #534
Comments
VNLP itself handles better, maybe get that implementation (giving comma and dot spelling option)
|
From TDK (turkish language)
So num2words intended for "monetary/currency" only for Turkish (clause 3, but not for actually word spelling). Edit: This needs fix too , zero after point is not spelled |
Hello, i am currently maintaining the project, however i dont speak the language, if you have the time you could submit a MR and we can include it on the next release |
sure will improve upon it when have time. |
Expected Behaviour
On Turkish, numbers to text is joined.
It is acceptable for goverment purpose (tax filing etc) , but it does not reflect real wording and will fail on a TTS a lot.
On floating point e.g 1.5 , it uses "virgül" as point, this is expected and correct though on mathematical sense it should also have option to pronounce point ("nokta")
Floating point only works for 2 decimal point, it should be at least going to 7 decimal points (English goes to 15 decimal points)
*to not change default behaviour , there should be an override to add spaces between words (it fails on TTS like this)
Actual Behaviour
num2words(12455544, lang="tr")
'onikimilyondörtyüzellibeşbinbeşyüzkırkdört'
num2words(1.5, lang="tr")
'birvirgülelli'
num2words(1.2455544, lang="tr")
'birvirgülyirmidört' >> missing
on english
num2words(1.2455544, lang="en")
'one point two four five five five four four'
Steps to reproduce
num2words(12455544, lang="tr")
'onikimilyondörtyüzellibeşbinbeşyüzkırkdört'
num2words(1.5, lang="tr")
'birvirgülelli'
num2words(1.2455544, lang="tr")
'birvirgülyirmidört'
The text was updated successfully, but these errors were encountered: