You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currencies in Unicode have the Sc character class. This should be split from the generic punctuation event type and put into a currency event type.
Each currency symbol has a singular and plural form (for n=1 and n>1 respectively, e.g. _£ = "pound", _£s = "pounds"). NOTE: Need to investigate whether other languages have other forms.
NOTE: Some currency symbols are in the Ll character class (e.g. "25p").
Currencies have a whole number part (e.g. dollars) and a corresponding fractional part (e.g. cents). These are used when reading fractional numbers (e.g. $2.55 is read as "two dollars and fifty five cents").
The currency symbol can occur before (e.g. £6) or after (e.g. 62p) the number. Usually it is the fractional currency that occurs after, but European countries place the Euro sign after the number.
Some text places both the currency symbol and its name together (e.g. $4 dollars). Here, most text-to-speech programs read the currency name twice. The tts/context_analysis.cpp code should detect this and avoid duplicating the currency name.
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1026781-support-reading-currencies?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).
The text was updated successfully, but these errors were encountered:
Currencies in Unicode have the
Sc
character class. This should be split from the genericpunctuation
event type and put into acurrency
event type.Each currency symbol has a singular and plural form (for
n=1
andn>1
respectively, e.g._£
= "pound",_£s
= "pounds"). NOTE: Need to investigate whether other languages have other forms.NOTE: Some currency symbols are in the
Ll
character class (e.g. "25p").Currencies have a whole number part (e.g. dollars) and a corresponding fractional part (e.g. cents). These are used when reading fractional numbers (e.g.
$2.55
is read as "two dollars and fifty five cents").The currency symbol can occur before (e.g.
£6
) or after (e.g.62p
) the number. Usually it is the fractional currency that occurs after, but European countries place the Euro sign after the number.Some text places both the currency symbol and its name together (e.g.
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1026781-support-reading-currencies?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).$4 dollars
). Here, most text-to-speech programs read the currency name twice. Thetts/context_analysis.cpp
code should detect this and avoid duplicating the currency name.The text was updated successfully, but these errors were encountered: