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

Better ordinal detection #43

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

Better ordinal detection #43

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 detects an ordinal number if a number is followed by st, nd, rd, th. This should be improved to:

  1. Restrict the suffixes to their end-digit (e.g. 1 with st) -- or not (to cope with incorrect suffixes like 3st [*]);
  2. Support locale-specific suffixes;
  3. Support locale-specific variants (e.g. German uses n. to indicate ordinal numbers).

[*] Is this an ordinal or "stones" (weight)?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1026780-better-ordinal-detection?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