diff --git a/TaskE06/description.txt b/TaskE06/description.txt new file mode 100644 index 0000000..99453f7 --- /dev/null +++ b/TaskE06/description.txt @@ -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 diff --git a/TaskE06/test.exp b/TaskE06/test.exp new file mode 100644 index 0000000..c84c879 --- /dev/null +++ b/TaskE06/test.exp @@ -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: \ No newline at end of file diff --git a/TaskE06/test.in b/TaskE06/test.in new file mode 100644 index 0000000..20a1219 --- /dev/null +++ b/TaskE06/test.in @@ -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 diff --git a/TaskE07/description.txt b/TaskE07/description.txt new file mode 100644 index 0000000..2cda9d0 --- /dev/null +++ b/TaskE07/description.txt @@ -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 diff --git a/TaskE07/test.exp b/TaskE07/test.exp new file mode 100644 index 0000000..87d4fbb --- /dev/null +++ b/TaskE07/test.exp @@ -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: \ No newline at end of file diff --git a/TaskE07/test.in b/TaskE07/test.in new file mode 100644 index 0000000..e93fd0a --- /dev/null +++ b/TaskE07/test.in @@ -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 diff --git a/blend.sh b/blend.sh index 3e6147b..ec38ab6 100755 --- a/blend.sh +++ b/blend.sh @@ -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