Kaljurand / speechutils

Android library for speech-to-text and text-to-speech apps
Apache License 2.0
88 stars 27 forks source link
android-library speech-recognition

Speechutils

Speechutils is an Android library that helps to implement apps that need to include speech-to-text and text-to-speech functionality. For example, it provides methods for

Used by

Testing

Note that some tests currently fail.

$ adb devices -l
List of devices attached
... transport_id:1
...

$ adb -t 1 shell am instrument -w -r \
  -e package ee.ioc.phon.android.speechutils -e debug false \
  ee.ioc.phon.android.speechutils.test/androidx.test.runner.AndroidJUnitRunner | egrep "^[0-9]+)"
1) test01(ee.ioc.phon.android.speechutils.RawAudioRecorderTest)
2) test02(ee.ioc.phon.android.speechutils.RawAudioRecorderTest)
3) test100(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
4) test218(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
5) test40(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
6) test61(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
7) test80(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
8) test90(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)
9) test92(ee.ioc.phon.android.speechutils.editor.InputConnectionCommandEditorTest)