added basic functionality to speech recognition and sentence translation