import edu.cmu.sphinx.api.SpeechResult; import edu.cmu.sphinx.api.StreamSpeechRecognizer; static StreamSpeechRecognizer makeSphinxRecognizer() ctex { ret new StreamSpeechRecognizer(makeSphinxConfig()); }