In file ../include/EST_SCFG.h:
class EST_SCFG_traintest |
A class used to train (and test) SCFGs is an extention of EST_SCFG.
![]() | test_corpus () Test the current grammar against the current corpus print summary. |
![]() | test_crossbrackets () Test the current grammar against the current corpus. |
![]() | load_corpus (const EST_String &filename) Load a corpus from the given file. |
![]() | train_inout (int passes, int startpass, int checkpoint, int spread, const EST_String &outfile) Train a grammar using the loaded corpus. |
Constructor and initialisation functions
utility functions
file i/o functions
A class used to train (and test) SCFGs is an extention of EST_SCFG.This offers an implementation of Pereira and Schabes ``Inside-Outside reestimation from partially bracket corpora.'' ACL 1992.
A SCFG maybe trained from a corpus (optionally) containing brackets over a series of passes reestimating the grammar probabilities after each pass. This basically extends the EST_SCFG class adding support for a bracket corpus and various indexes for efficient use of the grammar.
Cross entropy measure only is given.
Sumamry includes percentage of cross bracketing accuracy and percentage of fully correct parses.
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.
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