vowels

package
v0.9.19 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cats = []string{"ae", "ah", "aw", "eh", "ei", "er", "ih", "iy", "oa", "oo", "uh", "uw"}

Cats are the categories, in this case vowel sounds

Functions

func IdxFmSnd

func IdxFmSnd(s string, id string) (val int, ok bool)

IdxFmSnd returns the slice index of the snd if found. id is ignored if the corpus doesn't have subsets of sounds

func LoadTimes

func LoadTimes(fn string, names []string) ([]speech.SpeechUnit, error)

LoadTimes loads the timing and sequence (transcription) data for CV files

func LoadTranscription

func LoadTranscription(fn string) ([]string, error)

LoadTranscription reads in a list of cv strings for decoding a particular sequence and returns a slice of strings

func SndFmIdx

func SndFmIdx(idx int, id string) (cv string, ok bool)

SndFmIdx returns the sound if found in the slice of sounds of the corpus. id is ignored if the corpus doesn't have subsets of sounds

Types

This section is empty.

Jump to

Keyboard shortcuts

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