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 #21

Closed
wants to merge 2 commits into from
Closed

V2 #21

Show file tree
Hide file tree
Changes from all 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
4 changes: 0 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ marytts {
}
}

repositories {
mavenCentral()
}

dependencies {
implementation group: 'org.apache.commons', name: 'commons-csv', version: '1.9.0'
runtimeOnly group: 'de.dfki.mary', name: 'marytts-lexicon-dsb', version: '0.2.0'
Expand Down
2 changes: 2 additions & 0 deletions src/main/resources/marytts/language/dsb/abbreviations.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"abbreviation","expansion"
"ca.","circa"
"dr.","doktor"
"kwart.","kwartal"
"kw.","kwartal"
"mjas.","mjasac"
Expand Down
11 changes: 1 addition & 10 deletions src/main/resources/marytts/language/dsb/formatRules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ x.x: << koma >>;
400: styrista[>>];
500: <<stow[>>];
1000: tysac[>>];
1100/100: <%spellout-numbering<stow[ >>];
2000: <<tysac[>>];
1000000: jaden milion[ >>];
2000000: dwa miliona[ >>];
Expand Down Expand Up @@ -211,13 +212,3 @@ x.x: << koma >>;
9000: źewjeśtysacne;
10000: źaseśtysacne;
20000: dwaźasćatysacne;
%alt-teens:
=%spellout-numbering=;
1000>: <%%alt-hundreds<[ >>];
10000: =%spellout-numbering=;
%%alt-hundreds:
0: SHOULD NEVER GET HERE!;
10: <%spellout-numbering< tysac;
11: =%spellout-numbering= stow>%%empty>;
%%empty:
0:;
7 changes: 5 additions & 2 deletions src/test/resources/marytts/language/dsb/numbers.csv
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@
665,šesćstowpěśašesćźaset
-827,minus wósymstowsedymadwaźasća
1033,tysactśiatśiźasća
1500,tysacpěśstow
1984,tysacźewjeśstowstyriawósymźaset
1217,dwanasćostow sedymnasćo
1500,pěśnasćostow
1601,šesnasćostow jaden
1854,wósymnasćostow styriapołsta
1984,źewjeśnasćostow styriawósymźaset
5022,pěśtysacdwaadwaźasća
10101,źaseśtysacstojaden
42099,dwaastyrźasćatysacźewjeśaźewjeśźaset
Expand Down
Loading