drmfinlay / pyjsgf

JSpeech Grammar Format (JSGF) compiler, matcher and parser package for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to parse DictationGrammar for file. like parse_grammar_file(path)

huziyuan14 opened this issue · comments

how to parse DictationGrammar for file.
like parse_grammar_file(path)
and how to write Dictation in grammar file?

This is not currently possible because DictationGrammar is an extension to JSGF. Its compiled output changes based on the last matching rule. I will try to come up with a solution for parsing and writing them.