top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Speech Recognition in offline Mode

0 votes
324 views

I have a query regarding Android speech Recognition, I am using RecognizerIntent for speech to text and making a call EXTRA_PREFER_OFFLINE with true value:

in documentation:
https://developer.android.com/reference/android/speech/RecognizerIntent.html

EXTRA_PREFER_OFFLINE

Optional boolean, to be used with ACTION_RECOGNIZE_SPEECH, ACTION_VOICE_SEARCH_HANDS_FREE, ACTION_WEB_SEARCH to indicate whether to only use an offline speech recognition engine.

My question is:

  1. while using extra_prefer_offline with true, with our application in online mode(i.e. accessing internet permission), as mentioned in the link "only use an offline speech recognition engine".

  2. does speech recognition sends any data to server to enhance its online learning when our application is in online mode? (used extra_prefer_offline)

posted Jan 16, 2018 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
+1 vote

Can any one tell me why does google included new Location and Activity Recognition apis as part of the Playservices apk? is there any plan to include them as part of the sdk also in future?

+3 votes

How can I convert the value of the speech rate value from Google's TTS into words per minute? Is there any direct relation between them, somewhere in the source code?

0 votes

I tried to run Dalvik in portable mode by setting /data/local.prop as follows:

dalvik.vm.execution-mode = int:portable

But after I reboot the device (which is a Nexus 7), app_process (hosting zygote) still starts in jit mode.

However, if I run:

adb shell stop
adb shell setprop dalvik.vm.execution-mode int:portable
adb shell start

Then app_process will run in portable mode. Is /data/local.prop deprecated or something is missing here?

+2 votes

I have Micromax Unite 4 Pro Q465, and using in India. upgraded to 5.1
I cant see Enhanced 4G LTE mode under the Cellular Networks.
I already checked "*#4636#*#*, its showing already ON (Turn off Volte provisioned flag)

What can I do to enable Enhanced 4G?

+2 votes

I am trying to control Aeroplane mode on Android using Python code. I am running QPyPlus python. When I execute this code(that is widespread in the net),

#!/usr/bin/python 
import android droid = android.Android()
# go to airplane mode
 droid.toggleAirplaneMode()

droid.makeToast('exiting')

I get the error 'no such attribute Android()'.

One important thing is, I want to be able to do this without the need to reboot the Android device and any other working solution is also fine long as it is invokeable through Python.

...