A dialog transformer plugin for OpenVoiceOS (OVOS).
This plugin prepares text for a text-to-speech (TTS) engine. It expands contractions and converts digits to words, so the TTS engine pronounces the text correctly. It supports multiple languages.
Examples:
- "I'm" -> "I am"
- "Dr." -> "Doctor"
- "1" -> "one"
pip install ovos-dialog-normalizer-plugin
Add an entry under "dialog_transformers" in your mycroft.conf to enable the plugin.
"dialog_transformers": {
"ovos-dialog-normalizer-plugin": {}
}
- OpenVoiceOS/ovos-number-parser: number-to-word conversion used by this plugin. To improve number handling, contribute there.
- OpenVoiceOS/ovos-plugin-manager: defines the
DialogTransformerbase class this plugin implements.
Pull requests are welcome. Adding new expansions is straightforward. To improve number handling, see ovos-number-parser.
TigreGotico developed this plugin for OpenVoiceOS under the ILENIA project.
This plugin was funded by the Ministerio para la Transformación Digital y de la Función Pública and Plan de Recuperación, Transformación y Resiliencia. It was funded by the EU, NextGenerationEU, within the framework of the project ILENIA, reference 2022/TL22/00215337.
