Hi Filip Havlicek, I change my code as follows intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS, 100000 );
But i did not see any result. I am testing it with adding zeros to the number. Still same issue am getting. Is there any other way to solve it? thanks vamsi On Mar 23, 1:53 pm, Filip Havlicek <[email protected]> wrote: > Hi vamsi, > > you should of course specify some integer value representing the silence > length in milliseconds. For example: > > Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); > > intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILEN > CE_LENGTH_MILLIS, > 1000); > intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_COMPLETE_SILENCE_LENGTH > _MILLIS, > 2000); > > Try to experiment with the numbers (1000 and 2000) and with presence of only > one of the extras or their combination. > > Best regards, > Filip Havlicek > > 2011/3/23 vamsi <[email protected]> > > > > > > > > > Thanks Filip Havlicek, > > > I found those string constants in android documentation previously. > > And tried to use those elements in my app. > > Following is my code, > > > public static final String > > EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS = > > > "android.speech.extras.SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS > > "; > > > Intent intent = new > > Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); > > > intent.putExtra(RecognizerIntent.EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILEN > > CE_LENGTH_MILLIS, > > EXTRA_SPEECH_INPUT_POSSIBLY_COMPLETE_SILENCE_LENGTH_MILLIS ); > > > But, i did not see any improvement. Am i doing correct or did i do any > > mistake. > > Please let me know. > > > Thanks > > vamsi > > > On Mar 22, 5:01 pm, Filip Havlicek <[email protected]> wrote: > > > Hi vamsi, > > > > check this RecognizerIntent extrahttp:// > > developer.android.com/reference/android/speech/RecognizerInten... > > > > Best regards, > > > Filip Havlicek > > > > 2011/3/22 vamsi <[email protected]> > > > > > Hi > > > > > In android voice recognition, Can any one know how to increase the > > > > amount of time that it should take after we stop hearing speech to > > > > consider the input possibly complete. I need to prevent the endpointer > > > > cutting off during very short mid-speech pauses while voice > > > > recognition. If anyone knows the solution, please give reply. Any > > > > response would be appreciated. > > > > > thanks in advance > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Android Developers" group. > > > > To post to this group, send email to > > [email protected] > > > > To unsubscribe from this group, send email to > > > > [email protected] > > > > For more options, visit this group at > > > >http://groups.google.com/group/android-developers?hl=en > > > -- > > You received this message because you are subscribed to the Google > > Groups "Android Developers" group. > > To post to this group, send email to [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

