refactored speechrecognition parser
simplifies issue diagnosis

Signed-off-by: Arvind Chembarpu <achembarpu@gmail.com>