Skip to content

parolteknologio/AndroidParolRekono

 
 

Repository files navigation

Android Esperanto Parolrekono

[Esperanto]

Android Esperanto Parolrekono rekonas vian parolon en Esperanto kaj provizas la tekston.

Ĝi baziĝas sur la Vosk parolrekona modelo por Esperanto (vosk-model-small-eo-0.42) trovebla ĉe https://alphacephei.com/vosk/models.

Vi povas elŝuti de https://javabog.dk/privat/EsperantoParolRekono.apk

Privateco

Mi kolektas aŭ registras neniujn privatajn informojn

[English]

Note: This application is just a proof of concept for now

LocalSTT is an Android application that provides automatic speech recognition services without needing internet connection as all processing is done locally on your phone.

This is possible thanks to:

  • a RecognitionService wrapping the Vosk library
  • a RecognitionService wrapping Mozilla's DeepSpeech library
  • an Activity that handles RECOGNIZE_SPEECH intents amongst others

The code is currently just a PoC strongly based on:

LocalSTT should work with all keyboards and applications implementing speech recognition through the RECOGNIZE_SPEECH intent or Android's SpeechRecognizer class. It has been successfully tested using the following applications on Android 9:

You can download a pre-built binary with Vosk models for:

and also with DeepSpeech models here:

If you want to use the application with your language just replace the models in app/src/main/assets/sync/vosk-model/ with a package from https://alphacephei.com/vosk/models and rebuild the application.

Build notes:

  • git clone https://github.com/ewheelerinc/LocalSTT.git
  • ./gradlew build
  • ./repack-n-sign.sh ./app/build/outputs/apk/release/app-release-unsigned.apk
    • You might need to update paths and keys in this script for your use.

BUGS:

  • Does not work with Google's keyboard "GBoard".
  • Not all record applications read the voice text properly, there must be another way---and if you know how, it is probably a trivial fix.

Demo

LocalSTT in action

About

Parolrekono por Androjdo (uzante Vosk)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 92.5%
  • Ruby 4.1%
  • Shell 3.4%