speech_recognition
Namespaces | Variables
grammar.py File Reference

Go to the source code of this file.

Namespaces

 grammar
 

Variables

 grammar.dummy_model_path = os.path.dirname(os.path.realpath(__file__))
 
 grammar.grammar_file = sys.argv[1]
 
 grammar.k = Grammar(dummy_model_path, grammar_file, target)
 
 grammar.s1 = k.parse(test_sentence_1)
 
 grammar.s2 = k.parse(test_sentence_2)
 
 grammar.subprocess_exit_status
 
 grammar.target = sys.argv[2]
 
string grammar.test_sentence_1 = "bring me the coke"
 
string grammar.test_sentence_2 = "bring the coke to the kitchen"