Edinburgh Speech Tools  2.1-release
EST_SCFG_Chart.cc File Reference
#include <cstdlib>
#include "siod.h"
#include "EST_math.h"
#include "EST_SCFG.h"
#include "EST_SCFG_Chart.h"
Include dependency graph for EST_SCFG_Chart.cc:

Go to the source code of this file.

Functions

void EST_SCFG_chart_load_relation (EST_Relation &s, LISP sent)
 
void scfg_parse (EST_Relation *Word, const EST_String &name, EST_Relation *Syntax, EST_SCFG &grammar)
 
LISP scfg_parse (LISP string, LISP grammar)
 
LISP scfg_parse (LISP string, EST_SCFG &grammar)
 
LISP scfg_bracketing_only (LISP parse)
 
void count_bracket_crossing (const EST_bracketed_string &ref, const EST_bracketed_string &test, EST_SuffStats &vs)
 

Function Documentation

void EST_SCFG_chart_load_relation ( EST_Relation s,
LISP  sent 
)

Definition at line 423 of file EST_SCFG_Chart.cc.

void scfg_parse ( class EST_Relation Word,
const EST_String name,
class EST_Relation Syntax,
EST_SCFG grammar 
)

Parse named features in (list) relation Word into (tree) relation Syntax

Definition at line 454 of file EST_SCFG_Chart.cc.

LISP scfg_parse ( LISP  string,
LISP  grammar 
)

Parse a given string using the given grammar.

Definition at line 470 of file EST_SCFG_Chart.cc.

LISP scfg_parse ( LISP  string,
EST_SCFG grammar 
)

Parse the given string using the given EST_SCFG .

Definition at line 487 of file EST_SCFG_Chart.cc.

LISP scfg_bracketing_only ( LISP  parse)

From a full parse, extract the string with bracketing only.

Definition at line 504 of file EST_SCFG_Chart.cc.

void count_bracket_crossing ( const EST_bracketed_string ref,
const EST_bracketed_string test,
EST_SuffStats vs 
)

Cummulate cross bracketing information between ref and test.

Definition at line 559 of file EST_SCFG_Chart.cc.