Speach Recognition / Speech to Text (TTS) for alternative OS without google apps - General Questions and Answers

I installed LineageOS on my pixel 2 without google apps (using lineageOS for microG).
For some applications as duolingo, I am missing speech to text to be able to learn with duolingo by speaking. I was able to use the built-in speech recognition feature in the past with lineageOS, but lost the support when Upgrading. I remember I installed some app, but do not remember which one. I do not want to install the whole Gapps, only the apps needed for this specific feature.
Can someone help me out here please?

Related

[Q] I'm interested in creating a custom GAPPS

Since I got my hands on an android I figured it would be a good challenge to use it without any connectivity to google applications while still maintaining functionality.
For a fully functional experience you are almost required to use google tts, google voice search/command, and google play/market.
Even with the alternative applications like svox tts engine, vlingo, and alternative app centers you still have to have the basis of google apps at least installed.
For instance, try and install svox on a fresh flash of your favorite mod without flashing GAPPS first. svox will install but you won't be able to select it as a tts engine unless you first install google's tts engine.
So these alternative programs have dependencies that I would like to be able to figure out so that I can strip the GAPPS package to it's bare essentials for my needs.
This is my first go at developing anything custom for the android, but I feel it would be useful to myself and others. Having a current GAPPS light would be nice.
I have downloaded/installed apkanalyser and the sdk tools. I have analyzed an apk that I know has dependencies on certain GAPPS to function properly. After analysis what do I look for to figure out what programs/scripts the app is calling on outside of itself to function properly?

Google translate with offline speech input?

Anyone know how to get Google Translate working with offline speech input (e.g. in airplane mode) on the Idol 3? This worked for me on my old Moto phone running KK (actually, running CM11). But on the Idol 3, I can do offline translation via typing (having downloaded the relevant offline language packs), and I can get the app to speak either the typewritten input or output, but when I tap the microphone to activate speech input, I get a never-ending "initializing" message. Voice typing itself works offline (e.g. I can compose a notepad note), just not within Google Translate.
rhcohen said:
Anyone know how to get Google Translate working with offline speech input (e.g. in airplane mode) on the Idol 3? This worked for me on my old Moto phone running KK (actually, running CM11). But on the Idol 3, I can do offline translation via typing (having downloaded the relevant offline language packs), and I can get the app to speak either the typewritten input or output, but when I tap the microphone to activate speech input, I get a never-ending "initializing" message. Voice typing itself works offline (e.g. I can compose a notepad note), just not within Google Translate.
Click to expand...
Click to collapse
You might try installing the google offline voice xposed module....you might also have luck using a keyboad like swiftkey that has it's own voice input button.
http://repo.xposed.info/module/com.germainz.googleofflinevoice
famewolf said:
You might try installing the google offline voice xposed module....you might also have luck using a keyboad like swiftkey that has it's own voice input button.
http://repo.xposed.info/module/com.germainz.googleofflinevoice
Click to expand...
Click to collapse
I can update a bit. If I go to settings/Language & Input/Voice Input and select "Basic Google Recognition", then Translate will most of the time (not always) recognize my speech input offline (as noted before I have no issues in other apps, so I can't see where swiftkey would help), for going from English to the other language of interest (in this case, Japanese). And the phone will speak the Japanese translation. But going in the other direction does would not work. I have the Japanese offline language pack installed, so that is not the issue. The issue may be that I didn't have Japanese as an installed "Downloaded Language" under "Offline speech recognition". I have now taken care of that, (it requires knowing how to write "Japanese" in kanji characters), but seemingly it still doesn't work offline (I don't have a good Japanese speaker available to test, but with an internet connection the app recognizes my poor Japanese. But not offline.)
Have you considered using a dedicated app for your translations rather than google? I know I picked up one or two as amazon free apps. One was http://www.amazon.com/Jourist-Verla...1440539636&sr=1-1&keywords=travel+interpreter
I mention it because you may want to review "similar apps" and see if any are free and will suit your purpose.
I am new to this, I have copied the repo software onto my SD card. What do I do now? I still have no offline voice recognition.
Had similar probl w s4
Switch to google txt 2 spch engine
Instsll translation dats of choice for offline use
Can translate foreign language offline to eng but not eng to foreign language
Suspect can only translate to default language with free app offline...no rev for google

Best assistant

What's the best and more popular assistant for S7?
In my device I find S-Voice but it seems an old assistant.. Google Now maybe the most integrated with other apps and features... but what the new ones like Bixby and Google Assistant?
Does anyone use Google Now?
I don't use any assistant, in fact I've disabled all the info collecting settings for Google to the point the assistant won't work unless I turn them all back on again
Cortana from Microsoft is available on the play store too / apk install but as with Android, I kill that thing on Windows too, assistants are dumb and it's generally faster and more accurate to do everything manually anyway, and doesn't collect your data in the process
It's your choice, while I *need* an assistant driving my car to call, create reminders, send WhatsApp messages, SMS, etc
I'd like to perform only a few simple (hands-free) actions, you can easily do with Siri (iOS).
Google Now seems so poor.. so many times it doesn't understand what I say and put my request to google (web)... so frustating.. You too?
Yea, I've never found any voice recognition / assistant that can understand what I'm saying well enough for it to be any use, spend more time correcting and typing in the correct words than I would if I just did it myself in the first place
Siri is what you're looking for
Anyway Google Assistant (born inside Google Allo) should become the new modern virtual assistant improving the current Google Now. Unfortunately it's not available in Italian... have you tried it in English? (at first look it seems faster and more clever than Now)

Offline voice translation, Android 8+, Anyone got this working? (Google Translate)

Has anybody managed to figure out how to get Google Translate to work offline for voice/conversion translations with Android 8 or 9? If so, please explain how.
Google translate used to do offline voice translation, once you had figured out you need to install 3 lots of offline data. This has helped me out many times in places with no internet access. They removed this feature after V5.10 so for years I have been using the old version under Android 5,6 & 7 without any issue. I have been trying for hours to get it to work under Android 8 & 9 without success. I just get the error "Speech input is having difficulties. Try again (E1001)"
I think this might be that the system seems to be now using "speech services by google" instead of the google app for voice recognition.
I can't understand why they removed this feature, everything is there to complete the task, offline voice recognition, offline text translation, offline text to speech output. They even removed voice typing from the translate text input field.
There is a sort of workaround (after you have downloaded all the offline data)
From any text input field, use voice typing, then select the result and share to translate. This is quite a faff as you need to change the preferred language each time to have a conversation. Could a third party app do this automatically (allow voice typing and pass the result to the translate app)?
If anybody has figured out how to get the translate app to work, or a better workaround, please let me know.
Thanks
Really surprised nobody else wants to get offline voice translations working again.
I've spent many more hours and still can't get rid of the E1001 error.
Tried Microsoft translate but that also disables voice typing input - Why??
There must be a way to fix this?
I must be the only one wanting this. Still can get it to work. Best workaround I can find is using SpeechTexter app to do the voice typing then share the result to translate app. A bit of a faff. Surely there is a better way?
Any suggestions?

How to replace google apps with alternative softwares on Ulefone Armor X9 Pro

Hi,
I have a new Ulefone Armor X9 Pro. I am personally annoyed by all the preinstalled Google Apps like Google Play (I prefer free softwares available in FDroid for example), the Google search bar on the home screen, etc...
The first thing I did is disable and force exit of all the google apps and now, whatever I try to do I have notifications telling anything would work with Google Play disabled...
Even writing a sms or search something in Google Chrome is not possible because the keyboard does not appear...
I think I could solve this problem by
- enabling Google Play back
or
- download apk files for fdroid, aptoid etc. and install them manually
or
- root the phone
or
- install an alternative android version
But I am a newbie and I am afraid of broking my new phone...
Could you help me find the better way to use my phone without being force to use google services ?
Thank you for your help
PS sorry for my poor english
You can replace the pre-installed proprietary Google apps basket ( read: GMS ) by an aftermarket suite called GApps as provided by different developers.
BTW: Google Play is not part of GMS.
Thank you for your answer.
But I cannot uninstall the google apps, I can only quit them and disable them.
And the final goal is to not use the google apps.
Fortunately, I succeeded in manually install the alternative apps I need.
First of all, when I first started the phone, I did not connect the internet.
Then, I exited and disabled all the google apps and services I found.
On my computer, I downloaded the apks :
- Fdroid package manager (for free/opensource apps)
- Fennek browser
- K9mail client
- Simple Contacts (Simple Mobile Tools)
- Simple Camera (Simple Mobile Tools)
- Simple Gallery (Simple Mobile Tools)
- Simple Phone (Simple Mobile Tools)
- Simple Keyboard (Apache)
I transferred them on the phone by USB and installed each manually.
After that I installed Aptoid to install Telegram.
Everything seems to work, google apps and services seems to not restart automatically and after I disabled all apps saying "App xxx cannot work without Google Play" I dont have notifications like this anymore.
By default pre-installed GMS - what you call Google apps for whatever reason - are installed as system-privileged apps hence they are part of Android system and not any ordinary user app. You need a rooted Android to uninstall system-privileged apps, same is with Google Play components.
.

Categories

Resources