sdr 0.7

net.cscott.sdr.calls.grm
Class EmitJSAPI

java.lang.Object
  extended by net.cscott.sdr.calls.grm.GrmVisitor<String>
      extended by net.cscott.sdr.calls.grm.EmitJSAPI

public class EmitJSAPI
extends GrmVisitor<String>

Emit Java Speech API representation of post-processed natural language grammar for calls.


Method Summary
static String emit(String parserName, List<RuleAndAction> l)
           
protected  String paren(Grm g1, Grm g2)
           
 String visit(Grm.Alt alt)
           
 String visit(Grm.Concat concat)
           
 String visit(Grm.Mult mult)
           
 String visit(Grm.Nonterminal nt)
           
 String visit(Grm.Terminal t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

emit

public static String emit(String parserName,
                          List<RuleAndAction> l)

visit

public String visit(Grm.Mult mult)

visit

public String visit(Grm.Nonterminal nt)

paren

protected String paren(Grm g1,
                       Grm g2)

visit

public String visit(Grm.Alt alt)
Specified by:
visit in class GrmVisitor<String>

visit

public String visit(Grm.Concat concat)
Specified by:
visit in class GrmVisitor<String>

visit

public String visit(Grm.Terminal t)
Specified by:
visit in class GrmVisitor<String>

sdr 0.7

Copyright © 2006-2009 C. Scott Ananian