riderodd / react-native-vosk

Speech recognition module for react native using Vosk library
MIT License
41 stars 10 forks source link

Transcribe audio files [Feature] #52

Closed abdoemr11 closed 2 weeks ago

abdoemr11 commented 4 months ago

I can't find a way to use this library to transcribe audio files only real time transcribing. As far as I can tell, the audio file transcribing is possible in vosk but it isn't implemented. So, could you implement it?

riderodd commented 4 months ago

For sure that would be a great improvement. For now I'm too busy, but we will keep it in mind. If you can contribute feel free to do a PR with the implementaiton !

abdoemr11 commented 4 months ago

Ok, I'm getting things up and running. but where exactly should I put the model folder. I tried to put it on example/android/app/assets but it gives me this error java.io.FileNotFoundException: vosk-model-small-ar/uuid

riderodd commented 4 months ago

Check the readme, you're in the wrong folder. Models should live in your android/ main folder.