This commit is contained in:
Filip Gralinski 2020-01-23 10:58:42 +01:00
parent 26d99c648d
commit 853687c604
7 changed files with 74 additions and 1 deletions

13
TaskE06/description.txt Normal file
View File

@ -0,0 +1,13 @@
Text normalization for a TTS (continued)
=======================================
The same as in E05 plus:
- convert numbers 0-999999 into words
- convert "&" into "and"
- convert "+" into "plus
- converting "-", "*", "/" into "minu", "times", "divided by" when with numbers,
"hyphen", "star", "slash" otherwise
POINTS: 4
DEADLINE: 2020-01-28 23:59

12
TaskE06/test.exp Normal file
View File

@ -0,0 +1,12 @@
Input string: Output string: i bought twenty-one books from professor smith
Input string: Output string: doctor
Input string: Output string: for example world war the second and other things
Input string: Output string: ninety-nine helium-oxygen balloons
Input string: Output string: four four four
Input string: Output string: nothing to normalize
Input string: Output string: thirteen
Input string: Output string: this one hundred and seven plus thirty-four times three minus four
Input string: Output string: aaa and bbb
Input string: Output string: a slash slash b plus c hyphen d star
Input string: Output string: fifty six thousand five hundred and sixty
Input string:

11
TaskE06/test.in Normal file
View File

@ -0,0 +1,11 @@
I bought 21 books from prof. Smith!
dr.
E.g. World War II, and other things.
99 helium-oxygen balloons
4 4 4
nothing to normalize
13
this: 107 + 34 * 3-4
aaa&bbb
a // b + c - d *
56560

10
TaskE07/description.txt Normal file
View File

@ -0,0 +1,10 @@
Text normalization for a TTS (continued)
=======================================
The same as in E06, plus:
- convert numbers 0-99999999 into words
- phone number of the form +DD DDD-DDD-DDD should be "read" digit-by-digit, with "0" converted into "oh"
POINTS: 4
DEADLINE: 2020-01-28 23:59

14
TaskE07/test.exp Normal file
View File

@ -0,0 +1,14 @@
Input string: Output string: i bought twenty-one books from professor smith
Input string: Output string: doctor
Input string: Output string: for example world war the second and other things
Input string: Output string: ninety-nine helium-oxygen balloons
Input string: Output string: four four four
Input string: Output string: nothing to normalize
Input string: Output string: thirteen
Input string: Output string: this one hundred and seven plus thirty-four times three minus four
Input string: Output string: aaa and bbb
Input string: Output string: a slash slash b plus c hyphen d star
Input string: Output string: fifty six thousand five hundred and sixty
Input string: Output string: one hundred twenty-three million four hundred fifty-six hundred seven hundred eighty nine
Input string: Output string: four eight five five five four three oh three one two
Input string:

13
TaskE07/test.in Normal file
View File

@ -0,0 +1,13 @@
I bought 21 books from prof. Smith!
dr.
E.g. World War II, and other things.
99 helium-oxygen balloons
4 4 4
nothing to normalize
13
this: 107 + 34 * 3-4
aaa&bbb
a // b + c - d *
56560
123456789
+48 555-430-312

View File

@ -19,7 +19,7 @@ cp "${PREFIX}/count-points.pl" arena/
cp "${PREFIX}/overrides.txt" arena/
cp "${PREFIX}/Makefile" arena/
for TX in X01 X02 X03 X04 X05 X06 X07 X08 B00 B01 B02 B03 B04 B05 B06 C00 C01 C02 C03 C04 C05 C06 E01 E02 E03 E04 E05 # X05 X06 X07 X08 X09 X10 B03 B04 X10
for TX in X01 X02 X03 X04 X05 X06 X07 X08 B00 B01 B02 B03 B04 B05 B06 C00 C01 C02 C03 C04 C05 C06 E01 E02 E03 E04 E05 E06 E07 # X05 X06 X07 X08 X09 X10 B03 B04 X10
do
mkdir -p arena/Task$TX
done