From d004b6d304a7bc0fd06133d33e84616ab057dd1c Mon Sep 17 00:00:00 2001 From: Fireblade2534 <77405729+fireblade2534@users.noreply.github.com> Date: Fri, 4 Apr 2025 19:06:59 -0400 Subject: [PATCH] Apply suggestions from copilot Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- api/src/services/text_processing/normalizer.py | 4 ++-- api/src/structures/schemas.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/services/text_processing/normalizer.py b/api/src/services/text_processing/normalizer.py index e743ad1..e9f73c0 100644 --- a/api/src/services/text_processing/normalizer.py +++ b/api/src/services/text_processing/normalizer.py @@ -69,9 +69,9 @@ VALID_UNITS = { "mi": "mile", # Length "g": "gram", "kg": "kilogram", - "mg": "miligram", # Mass + "mg": "milligram", # Mass "s": "second", - "ms": "milisecond", + "ms": "millisecond", "min": "minutes", "h": "hour", # Time "l": "liter", diff --git a/api/src/structures/schemas.py b/api/src/structures/schemas.py index 5600576..260224c 100644 --- a/api/src/structures/schemas.py +++ b/api/src/structures/schemas.py @@ -52,7 +52,7 @@ class NormalizationOptions(BaseModel): ) url_normalization: bool = Field( default=True, - description="Changes urls so they can be properly pronouced by kokoro", + description="Changes urls so they can be properly pronounced by kokoro", ) email_normalization: bool = Field( default=True,