Kõnele is an Android app that offers speech-to-text user interfaces to other apps. Its main components are:
- a voice search panel (i.e. a RecognizerIntent activity)
- a speech keyboard that implements the input method editor (IME) API
- two implementations of SpeechRecognizer, backed by two open source speech recognition servers
The SpeechRecognizer-implementations have been deprecated, we recommend to use the external app Kõnele service to connect to kaldi-gstreamer-server.
The diagram below shows Kõnele's main components in dark yellow, while the standard Android interfaces via which other apps can interact with Kõnele are in green. Deprecated parts are crossed out.
The main goals of this project is to offer support for Estonian speech recognition on the Android platform, as well as grammar-based speech recognition for voice command applications.
For documentation, APKs, app store links, news etc. see http://kaljurand.github.io/K6nele/.
Clone the source code including the speechutils
submodule:
git clone --recursive git@github.com:Kaljurand/K6nele.git
Point to the Android SDK directory by setting the environment variable
ANDROID_HOME
, e.g.
ANDROID_HOME=${HOME}/myapps/android-sdk/
In order to change your build environment create the file gradle.properties
at a location pointed to by the environment variable GRADLE_USER_HOME
.
This will extend and override the definitions found in the gradle.properties
that is part of the release.
Build the Kõnele app
./gradlew assemble
If you have access to a release keystore then
-
point to its location by setting the environment variable
KEYSTORE
-
set
KEY_ALIAS
to the key alias -
add these lines to your
gradle.properties
found inGRADLE_USER_HOME
:storePassword=<password1> keyPassword=<password2>
The (signed and unsigned) APKs will be generated into app/build/outputs/apk/
.
The client for https://github.com/alumae/kaldi-gstreamer-server was originally based on https://github.com/truongdq54/kaldi-gstreamer-android-client.
Please read through the Contributing Guide before making a pull request.