sdr 0.7

Package net.cscott.sdr.calls.grm

This package contains the tools needed to generate Sphinx and ANTLRv3 grammars for "natural language calls" from the information in the call lists about grammar and precedence for individual calls.

See:
          Description

Class Summary
AntlrPostProcessor Post-process an ANTLR-generated grammar to avoid "code too large" errors.
BuildGrammars Build speech/plain-text grammars for the various programs.
CompletionEngine Uses Grm.grammar(Program) to compute possible completions for a partially-input call.
EmitANTLRv3 Emit an ANTLRv3 "natural language" grammar for calls.
EmitDictionary Emit (trimmed) pronunciation dictionary for spoken natural-language call grammar.
EmitJava Emit Java representation of post-processed natural language grammar for calls.
EmitJSAPI Emit Java Speech API representation of post-processed natural language grammar for calls.
Grm This class contains inner classes creating an AST for the 'natural language' grammar of square dance calls and concepts.
Grm.Alt Alternation: a|b.
Grm.Concat Concatanation: a b.
Grm.Mult Multiplicity marker: a*, a+, or a?.
Grm.Nonterminal A nonterminal reference to an external rule.
Grm.Terminal A grammar terminal: a string literal to match.
GrmVisitor<T> Instance of the visitor pattern for Grm.
Rule Grammar rule: a right-hand side, left-hand side, and a precedence level.
RuleAndAction Rule and Action is a simple mutable pair class to associate a grammar rule with its appropriate (ANTLR) action.
SimplifyGrm Basic optimizations for a grammar rule.
 

Enum Summary
Grm.Mult.Type Type of multiplicity marker: Grm.Mult.Type.STAR, Grm.Mult.Type.PLUS, or Grm.Mult.Type.QUESTION.
 

Package net.cscott.sdr.calls.grm Description

This package contains the tools needed to generate Sphinx and ANTLRv3 grammars for "natural language calls" from the information in the call lists about grammar and precedence for individual calls.


sdr 0.7

Copyright © 2006-2009 C. Scott Ananian