In file ../include/EST_SCFG.h:
class EST_SCFG |
A class representing a stochastic context free grammar (SCFG).
![]() | Constructor and initialisation functions
| ||||||||||||||||||||||||||
![]() | utility functions
| ||||||||||||||||||||||||||
![]() | file i/o functions
|
A class representing a stochastic context free grammar (SCFG).This class includes the representation of the grammar itself and methods for training and testing it against some corpus.
At presnet of grammars in Chomsky Normal Form are supported. That is rules may be binary or unary. If binary the mother an two daughters are nonterminals, if unary the mother must be nonterminal and daughter a terminal symbol.
The terminals and nonterminals symbol sets are derived automatically from the LISP representation of the rules at initialization time and are represented as EST_Discretes. The distinguished symbol is assumed to be the first mother of the first rule in the given grammar.
Alphabetic index HTML hierarchy of classes or Java
This page is part of the
Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact:
speech_tools@cstr.ed.ac.uk