I think we need a global logic for lockOutAllGrammarExcept.
If we use API, or chatbot UI to send command, even with ear.lockOutAllGrammarExcept() , robot will react. ( so, not using webkitspeech only )
We need something like : i01.lockOutAllGrammarExcept()
This will do :
ear.lockOutAllGrammarExcept()
chatbot.lockOutAllGrammarExcept()
I think we need a global logic for lockOutAllGrammarExcept. If we use API, or chatbot UI to send command, even with ear.lockOutAllGrammarExcept() , robot will react. ( so, not using webkitspeech only )
We need something like : i01.lockOutAllGrammarExcept() This will do : ear.lockOutAllGrammarExcept() chatbot.lockOutAllGrammarExcept()
off course with global clearLock() also