t-vk / termux-deepspeech Goto Github PK
View Code? Open in Web Editor NEWOpen source offline speech recognition for Android using Mozilla's DeepSpeech in Termux
Open source offline speech recognition for Android using Mozilla's DeepSpeech in Termux
I thought DeepSpeech was a NN-based good model.
I found no details regarding how well this works. I could not get it to recognize things correctly even one time.
The best recognition was also the most funny one: It turned “substance abuse is bad” into “substance the best”. 🤣
So this bug exists, as a request to add a link to the readme, where users can read about DeepSpeech. (And possibly download other speech files, as it may be my accent. 😇)
🥺
👉👈
Sometimes, speech2text
throws this error. The number varies.
I found no way to reproduce it reliably. So before I go add some logging output lines to the entire script, maybe you know what it likely is, and can tell me to put logging at the right location(s), that show me some context when it happens).
(Btw, since it’s hard to test right now, giving me a hint on how to make it recognize German would make it much easier for me to test it. I think right now, it may struggle because it can’t find anything English with my accent. ;)
Hi, thank you for your wonderful script. It works perfectly on my device. Is it possible to integrate Vosk binaries to Termux like you did with DeepSpeech?
https://github.com/alphacep/vosk-api
https://github.com/alphacep/vosk-android-service
Thank you
Hello,
First, thanks very much for this script creation, it's very interesting!
I have been able to solve the error, just i want to notify the proble and share the solution.
I have tryed to run, but i get the next error:
CANNOT LINK EXECUTABLE "ffmpeg": cannot locate symbol "_ZNSt6__ndk16__itoa8__u32toaEjPc" referenced by "/data/data/com.termux/files/usr/lib/libopenmpt.so"...
Unexpected type for ./tmp.wav: 0
The missing symbol should be supplied by the "libc+++_shared.so" library.
I have tryed preloading the lib from Termux lib dir before executing "speech2text" using the next command:
env LD_PRELOAD=/data/data/com.termux/files/usr/lib/libc++_shared.so ./Termux-DeepSpeech/speech2text
And now "speech2text" script runs fine.
So it seems that the libc++ version supplied by deepspeech is obsolete.
I have found two solutions:
Thanks again.
Berbascum
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.