Load a corpus from the given file. Each setence in the corpus should be contained in parentheses. Additional paranethesis may be used to denote phrasing within a sentence. The corpus is read using the LISP reader so LISP conventions shold apply, notable single quotes should appear within double quotes. Train a grammar using the loaded corpus.
Parameters passes the number of training passes desired.
Build intersection of all WFSTs in given list. Build union of all WFSTs in given list. Build union of WFSTs a and b. Build new WFST by composition of a and b. Outputs of a are fed to b, given a new WFSTs which has a's input language and b's output set.