sdr 0.21

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
AbstractEmit  
BuildGrammars Build speech/plain-text grammars for the various programs.
EmitANTLR  
EmitANTLRv3 Emit an ANTLRv3 "natural language" grammar for calls.
EmitJSAPI  
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  
 

Enum Summary
Grm.Mult.Type  
 

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.21

Copyright (c) 2006 C. Scott Ananian