Giter Club home page Giter Club logo

react-native-vosk's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

react-native-vosk's Issues

Undefined symbol error

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

Screen Shot 2022-09-18 at 6 29 06 PM

iOS - onPartialResult null string value

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!

onFinalResult never triggered?

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?

Load model from the another path

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!

android gradle version is 7.2.1?

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

Adding feature

Add Vosk Option finishing recognition with silence after x seconds instead of fixed time out that is currently available.

example not works

When I press Record after a moment nothing happens and transcription does not work.

Better implementation

          @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)

Always return : [unk]

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.