name: JSGFParser

synopsis:

g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_mmedia.a

#include <JSGFParser.h>

JSGFParser();
boolean setExpression(String& expression_a, long line_a);
boolean parseExpression(const String& graph_start_a, const String& graph_term_a);
DiGraph<String> getGraph();
Vector<String> getSymbolList();
String getGrammarName();
quick start:

JSGFParser jp;
String start(L"S");
String term(L"T");
String expression(L"public <rule> = /0/ A /0/ B /0/ C;");
jp.setExpression(expression, 0);
jp.parseExpression(start, term);
description:

JSGFParser is a parser used by the
LanguageModel class to convert the platform-independent, vendor-independent textual JSGF grammar (Java Speech Grammar Format) to the ISIP internal DiGraph format. Digraph is used to represent grammar as a graph. This graph is used for training and decoding in the ISIP speech recognizer. For details on JSGF, see:

dependencies:

public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods:

examples:

notes: