Skip to main content

Crate voirs_g2p

Crate voirs_g2p 

Source
Expand description

§VoiRS G2P (Grapheme-to-Phoneme) Conversion

Converts text to phonemes using various backends including rule-based, neural, and hybrid approaches for multiple languages.

Modules§

accuracy
Accuracy benchmarking and evaluation for G2P systems
advanced
Advanced G2P features and enhancements.
backends
G2P backend implementations.
config
Configuration system for VoiRS G2P library.
detection
Language detection for G2P preprocessing.
english
English G2P module providing convenient re-exports and aliases.
languages
Language-specific phoneme inventories and rules.
models
G2P model definitions, training, and loading.
optimization
Real-time optimization and self-tuning for G2P systems.
performance
Performance optimizations for G2P conversion
phonology
Phonological process modeling for natural speech production.
prelude
Prelude for convenient imports
preprocessing
Text preprocessing for G2P conversion.
rules
Rule-based G2P implementation for English and other languages.
ssml
Advanced SSML (Speech Synthesis Markup Language) integration for G2P conversion.
ssml_legacy
SSML (Speech Synthesis Markup Language) integration for G2P conversion.
streaming
Advanced streaming text processing for real-time TTS applications
training
Model training pipeline for G2P systems.
utils
Utility modules for G2P processing.

Macros§

timed
Timed execution macro for performance monitoring

Structs§

DummyG2p
Dummy G2P backend for testing and fallback
G2pConverter
G2P converter with multiple backend support
G2pDiagnosticContext
Diagnostic context for G2P conversion issues
G2pMetadata
G2P metadata information
Phoneme
A phoneme with its symbol and detailed features
PhoneticFeatures
Phonetic features for IPA classification

Enums§

G2pError
G2P-specific error types
LanguageCode
Language codes supported by VoiRS
ProcessingStage
Processing stages for diagnostic context
SyllablePosition
Syllable position for phonemes

Traits§

G2p
Trait for grapheme-to-phoneme conversion

Type Aliases§

Result
Result type for G2P operations