Menu

Android pause between words

Help
Junbang Ma
2019-03-04
2019-03-04
  • Junbang Ma

    Junbang Ma - 2019-03-04

    Hi, everyone. I'm developing an android app using Sphinx on Windows.
    I found that when I say something, the recognizer will call onResult very often, even I only pause for a very short time. And the results from onPartialResult are different from which from onResult.
    Is it possible to let context from onResult equals to sum of onPartialResult? Or is it possible to let onPartialResult tolerate a longer pause?
    Thanks a lot.
    (In this picture, "hear partial" lines are from onPartialResult, "hear" lines are from onResult.)

     
  • Junbang Ma

    Junbang Ma - 2019-03-04

    I figured it out. Every time you call "recognizer.stop()", it will to go onResult, just don't stop.

     
    • Nickolay V. Shmyrev

      Ideally we wanted to change this to more intuitive behavior, yes.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.