Closed breandan closed 1 year ago
According to Nikolay Shmyrev,
It's more important to properly process recognition result, allow user to correct input and provide fast response time. It is more important to be able to analyze lattice results than 1-best.
Hard-coded changes like grammar switch can only confuse user and the recognizer... It's recommended to have grammars as relaxed as possible, not as tight as possible.
cf. https://sourceforge.net/p/cmusphinx/discussion/help/thread/9c84d504/
Need to isolate grammar and implement swapping for context specific commands.
http://cmusphinx.sourceforge.net/wiki/sphinx4:swappinggrammars#swapping_between_dynamically_defined_grammars