diff --git a/api/tests/test_normalizer.py b/api/tests/test_normalizer.py index 4a589b4..93b3f76 100644 --- a/api/tests/test_normalizer.py +++ b/api/tests/test_normalizer.py @@ -206,6 +206,11 @@ def test_time(): == "It is currently three o'clock" ) + assert ( + normalize_text("12:00 am is midnight", normalization_options=NormalizationOptions()) + == "twelve am is midnight" + ) + def test_number(): """Test number normalization""" @@ -244,6 +249,11 @@ def test_number(): == "He made minus fifty sales today." ) + assert ( + normalize_text("56.789 to the power of 1.35 million", normalization_options=NormalizationOptions()) + == "fifty-six point seven eight nine to the power of one point three five million" + ) + def test_non_url_text(): """Test that non-URL text is unaffected""" assert ( diff --git a/outputstream.wav b/outputstream.wav deleted file mode 100644 index 41b2d30..0000000 Binary files a/outputstream.wav and /dev/null differ