title: Android Continuous Speech Recognition using pocketsphinx. How to clear hypothesis?
body: <p>I am Currently working on a project to implement offline continuous speech recognition using pocketsphinx. I have developed it to the point where it recognizes the keyword I say, however the hypothesis in <code>onPartialResults()</code> and <code>onResults()</code> is not cleared and the words keep appending to the string. Therefore the code ahead keeps getting called infinitely.</p>
  
  <p>Using <code>hypothesis.setHypstr("");</code> or <code>hypothesis.delete();</code> doesn't do anything.</p>
  
  <p>I want it to wait in the background, whenever I say the keyword, it runs the code and wait in the background again.</p>