fix crashes on empty string content and unparsable grammar
Merge branch 'master' of https://github.com/rit-sse-mycroft/app-speech-to-text