Coder Social home page Coder Social logo

Comments (8)

Noitidart avatar Noitidart commented on June 4, 2024

I also was trying to accomplish this. I couldn't figure out an idea so made a feature request - #44

from voice.

aamping avatar aamping commented on June 4, 2024

Any update on this? :)

EDIT: We would need something like..
onLongPress=> Recognize
onRelease => StopRecognizing

from voice.

ohtangza avatar ohtangza commented on June 4, 2024

@aamping Some people use ASR to capture longer commands or whole transcript of several sentences. I guess the LongPress solution is something we can do tricks in UI level, not in a library level.

One thing I am disappointed from Google is the poor documentation to predict how this API works on Android.

Not that Google provides ASR for their paid API, perhaps Google does this on purpose. Please provide any input if anyone finds a solution for this.

from voice.

aamping avatar aamping commented on June 4, 2024

@ohtangza Can you detailed a little bit more about ASR? Is it a react-native possible solution?

I was researching through the NativeComponent, but it doesn't seem that trivial either.

Checking https://github.com/innFactory/react-native-dialogflow by now

from voice.

ohtangza avatar ohtangza commented on June 4, 2024

@aamping ASR is just... you know, the speech recognition. Auto stop seems to work automatically at the native level. I think DialogFlow is a different story. Please let me know if I am wrong.

from voice.

aamping avatar aamping commented on June 4, 2024

@ohtangza DialogFlow has a RN module that recognizes the speech too.

However, it isn't the purpose of that module to do so, so it is complicated to implement
https://github.com/innFactory/react-native-dialogflow

from voice.

ohtangza avatar ohtangza commented on June 4, 2024

@aamping Oh, you are right. It seems that they also implemented their own ASR inside. It seems that they are not using Android's native ASR module. You might be able to use it as an alternative to this module, but I haven't tried myself.

from voice.

lfoliveir4 avatar lfoliveir4 commented on June 4, 2024

@ap050492 Did you solved your problem?

from voice.

Related Issues (20)

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.