/poliepa-android

pocketsphinx testing liepa-1 acoustic model

Primary LanguageKotlinBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Intro

This app is an demo of CMU PocketSphinx for Android. It uses Liepa-1 acoustic model, simplified grammar, dictionary. pocketsphinx is included as arr file and precompiled as separate activity Read more PocketSphinx on Android

How to build CMU PocketShpix library you should check:

Demo app

You cand find this app in google play store: https://play.google.com/store/apps/details?id=io.github.mondhs.poliepa

Build instructions

Clean up code

gradle clean

Build dev version

gradle assembleDebug

Build Release

gradle assembleRelease

Find file app/build/outputs/apk/release/app-release.apk

Extract raw files: ~/Android/Sdk/platform-tools/adb shell ls -1 /sdcard/Android/data/io.github.mondhs.poliepa/files/sync/audio ~/Android/Sdk/platform-tools/adb pull /sdcard/Android/data/io.github.mondhs.poliepa/files/sync/audio/*.raw /tmp/audio aplay -f S16_LE -r 16000 000000003.raw