Vocabularies from Tcl
Creating a Vocab object
Example for full Vocab:
Vocab vocab vocabfile -fillerlist fillerfile -dictionary dict -acousticModel amo
Example for simple Vocab:
Vocab vocab vocabfile
- vocab: name of the new object
- filename: required filename of the list of words that are to be known to the
recognizer.
- -fillerlist filename: optional filename of the list of words that are to be
ignored by the language model. These words are added to the list of words given in filename.
- -dictionary dictobj object of the type Dictionary is required when using
the Vocab to build a search.
- -acousticModel amodelobj: object of the type AModel is required when using the
Vocab to build a search.
Vocab methods
- puts: displays the contents of a vocabulary
- index: returns indices of named vocab words
- name: returns names of indexed vocab entries
Vocab configure
- -name
- -useN 0
- -phonesN 0
- -silenceWord 0
- -startWord 0
- -finishWord 0
- -firstWord 0
- -itemN 0
- -blkSize 100
Maintainer: monika@ira.uka.de