Conversion of speech to grammar for automatic response in different accents