Documentation
¶
Overview ¶
Package lib implements G2P (grapheme-to-phoneme) IPA phonemizer/dephonemizer for 136+ human languages, including validation and normalization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Phonemizer ¶
type Phonemizer struct {
// contains filtered or unexported fields
}
func NewPhonemizer ¶
func NewPhonemizer(di *DependencyInjection) *Phonemizer
NewPhonemizer creates a new phonemizer. Parameter di can be nil.
func (*Phonemizer) Sentence ¶
func (p *Phonemizer) Sentence(r requests.PhonemizeSentence) responses.PhonemizeSentence
Sentence runs the algorithm on a sentence string in a specific language.
Click to show internal directories.
Click to hide internal directories.