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

Make number parsing locale aware #40

Open
rhdunn opened this issue Apr 11, 2013 · 0 comments
Open

Make number parsing locale aware #40

rhdunn opened this issue Apr 11, 2013 · 0 comments

Comments

@rhdunn
Copy link
Owner

rhdunn commented Apr 11, 2013

At the moment tts/context_analysis.cpp only handles numbers of the form nnnnn. That is, it does not handle numbers of the form:

`n,nnn,nnn` -- e.g. US numbers
`n nnn nnn` -- e.g. Swedish numbers
`n.nnn.nnn` -- e.g. German numbers

This should really be handled in tts/text_reader.cpp which should be passed a "digit separator" character. Doing it this way allows tts/text_reader.cpp to produce a single number token.

This should be done based on the associated document language.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1026783-make-number-parsing-locale-aware?utm_campaign=plugin&utm_content=tracker%2F254961&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F254961&utm_medium=issues&utm_source=github).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant