grafestes

package
v1.8.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CVs = []string{"ti", "do", "ga", "mo", "may", "bu", "pi", "ku"}
View Source
var CVsPerPos = 4 // The graf-estes experiment had 4 cv possibilities per syllable position
View Source
var CVsPerWord = 2 // The graf-estes experiment used 2 syllable words

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.Unit, 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