Skip to content

Kaljurand/K6nele

Repository files navigation

Kõnele

Kõnele is an Android app that offers speech-to-text user interfaces to other apps. Its main components are:

The SpeechRecognizer-implementations have been deprecated, we recommend to use the external app Kõnele service to connect to kaldi-gstreamer-server.

Get it on F-Droid Get it on Google Play

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.

Components

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/.

Building the APK from source

Clone the source code including the speechutils submodule:

git clone --recursive [email protected]: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 in GRADLE_USER_HOME:

    storePassword=<password1>
    keyPassword=<password2>
    

The (signed and unsigned) APKs will be generated into app/build/outputs/apk/.

Contributions

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.