lib

package
v0.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2025 License: MIT Imports: 6 Imported by: 0

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

Sentence runs the algorithm on a sentence string in a specific language.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL