alphacep / vosk-android-demo

Offline speech recognition for Android with Vosk library.
Apache License 2.0
740 stars 198 forks source link

app compile test no timestamp #187

Open ChenCong168 opened 2 years ago

ChenCong168 commented 2 years ago

The latest android app demo does not have a timestamp after compilation. The APK test provided by the download has a timestamp. How can I add a timestamp? eg: I need: {word: ‘wo’, start: 1.5, end: 2.2}

nshmyrev commented 2 years ago

Add a call to recognizer.setWords(true) after constructor