riderodd / react-native-vosk Goto Github PK
View Code? Open in Web Editor NEWSpeech recognition module for react native using Vosk library
License: MIT License
Speech recognition module for react native using Vosk library
License: MIT License
Hi, I'm having issues rebuilding my Xcode project after installing pods. I'm using React Native 0.70.1 and React Native Vosk 0.1.9, and I am building on an M1 Mac. Xcode is not providing any more details to the errors shown in the image below. Do you know what they could mean / where to investigate?
Thanks
Hello! We have this implemented for both Android and iOS - Android works like a charm, but on iOS we get a null value passed in for the onPartialResult
callback function.
Example logs output from both the onPartialResult
and the onResult
on iOS:
LOG partial result: null
LOG partial result: null
LOG partial result: null
LOG partial result: null
LOG partial result: null
LOG final result: check check one to one two
So we can see that the event is firing but no value for res
in
const partialResultEvent = vosk.onPartialResult(async (res) => {
console.log('partial result: ', res);
});
const resultEvent = vosk.onResult(async (res: string) => {
console.log('final result: ', res);
});
Any guidance or workaround would be greatly appreciated!
I'm trying to get onFinalResult to trigger because, as I understand, it contains the final text after processing. However it doesn't seem to ever trigger, and I use the stop()
method. Any idea about this?
Hello!
Is it possible to use the library by importing the model instead of from the assets folder from a different location?
We are trying to use the library with 4.5GB models and by entering it in the assets it is impossible to compile.
In the tests we have carried out we get an error with a file called uuid. This file is generated by Android Studio when compiling the assets and contains, as the name indicates, a uuid. We have tried putting a uuid file in the external storage in the same folder where the model is located but it still gives us the same error.
Is there any limit on the size of the model?
Thanks in advance and greetings!
just updated from 0.1.12 to 0.1.16, and found these functions don't exist. Please advise what to do?
android gradle version is too height.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0.
Required by:
project :
> The consumer was configured to find a runtime of a component compatible with Java 8, packaged as a jar, and its dependencies declared externally. However we cannot choose between the following variants of org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0:
- gradle70JavadocElements
- gradle70RuntimeElements
- gradle70SourcesElements
- javadocElements
- runtimeElements
- sourcesElements
Add Vosk Option finishing recognition with silence after x seconds instead of fixed time out that is currently available.
help pls im trying to fix this error but no luck
When I press Record after a moment nothing happens and transcription does not work.
Thank you very much, this is a good job
how to build libvosk.a for ios with latest vosk or vosk 0.3.45 version
@riderodd I am facing a problem where the `onFinalResult` event is never triggered, and I believe this change is the reason since everything is cleaned up on the first result. Does it make sense?
Originally posted by @joazvsoares in #32 (comment)
I am using React native example but for every speech it return Result is: [unk] I tried small and large model both and result is same.
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.