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

V2 #26

Merged
merged 8 commits into from
Nov 8, 2024
Merged

V2 #26

Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 4 additions & 10 deletions src/main/resources/marytts/language/hsb/formatRules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ x.x: << koma >>;
400: štyrista[>>];
500: <<stow[>>];
1000: tysac[>>];
1100/100: <%spellout-numbering<stow[ >>];
2000: <<tysac[>>];
1000000: jedyn milion[ >>];
2000000: dwaj milionaj[ >>];
Expand Down Expand Up @@ -173,13 +174,6 @@ x.x: << koma >>;
80: [>>a]wosomdźesate;
90: [>>a]dźewjećdźesate;
100: stote;
%alt-teens:
=%spellout-numbering=;
1000>: <%%alt-hundreds<[ >>];
2000: =%spellout-numbering=;
%%alt-hundreds:
0: SHOULD NEVER GET HERE!;
10: <%spellout-numbering< tysac;
11: =%spellout-numbering= stow>%%empty>;
%%empty:
0:;
1801-1899: wosomnaćestow[ >>];
1900: dźewjatnaćestow;
1901-1999: dźewjatnaćestow[ >>];
psibre marked this conversation as resolved.
Show resolved Hide resolved
9 changes: 6 additions & 3 deletions src/test/resources/marytts/language/hsb/numbers.csv
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@
665,šěsćstowpjećašěsćdźesat
827,wosomstowsydomadwaceći
1033,tysactřiatřiceći
1500,tysacpjećstow
1984,tysacdźewjećstowštyriawosomdźesat
1217,dwanaćestow sydomnaće
1500,pjatnaćestow
1601,šěsnaćestow jedyn
1854,wosomnaćestow štyriapołsta
1984,dźewjatnaćestow štyriawosomdźesat
5022,pjećtysacdwajadwaceći
10101,dźesaćtysacstojedyn
42099,dwajaštyrcećitysacdźewjećadźewjećdźesat
Expand All @@ -31,4 +34,4 @@
375730163855,"třistapjećasydomdźesat miliardow sydomstowtřiceći milionow stotřiašěsćdźesattysacwosomstowpjećapołsta"
2455353628018,"dwaj bilionaj štyristapjećapołsta miliardow třistatřiapołsta milionow šěsćstowwosomadwacećitysacwosomnaće"
1001001001001001,"jedna biliarda jedyn bilion jedna miliarda jedyn milion tysacjedyn"
3.14159,"tři koma jedyn štyri jedyn pjeć dźewjeć"
3.14159,"tři koma jedyn štyri jedyn pjeć dźewjeć"
Loading