Skip to content

Add text normalization #76

@vvolhejn

Description

@vvolhejn

For cases like #73, we should pre-process the text (apply text normalization) to make the job easier for the text to speech.

See e.g. https://developer.nvidia.com/blog/text-normalization-and-inverse-text-normalization-with-nvidia-nemo

Complicated examples:

  • 2/3 -> two thirds
  • $100 -> hundred dollars (or "one hundred dollars")
  • 50g -> fifty grams
  • Sunset Blvd -> Sunset Boulevard

The model might learn some of these from the training data, but we can make its job easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions