Giter Club home page Giter Club logo

Comments (11)

nshmyrev avatar nshmyrev commented on May 17, 2024

Sure, but you have to modify recognizer C++ source.

from vosk-api.

YunzhaoLu avatar YunzhaoLu commented on May 17, 2024

Does anyone share the idea of returning nbest outputs?

from vosk-api.

sskorol avatar sskorol commented on May 17, 2024

@YunzhaoLu you can check the linked PR to get an idea of how to do it. It might not be the final version though.

from vosk-api.

YunzhaoLu avatar YunzhaoLu commented on May 17, 2024

@sskorol Thank you.

from vosk-api.

nshmyrev avatar nshmyrev commented on May 17, 2024

We have this now with SetMaxAlternatives method.

from vosk-api.

Tetsujinfr avatar Tetsujinfr commented on May 17, 2024

Hi,

did anyone play with mixing this SetMaxAlternative feature and a next word model predictor to increase accuracy? If yes, any feedback on the soundness of that approach?

E.g. I was transcribing some audio about space exploration in english (although the speaker has a south african accent, guess who that can be...) with vosk api, which is doing a pretty good work. Simply, from time to time for instance it would detect "launderette" instead of "launchpad", and I was thinking that certainly with some context awareness the transcription should be able to prefer "launchpad" as a higher probability than "launderette".

from vosk-api.

nshmyrev avatar nshmyrev commented on May 17, 2024

Simply, from time to time for instance it would detect "launderette" instead of "launchpad"

You can adjust the language model with https://alphacephei.com/vosk/lm

from vosk-api.

Tetsujinfr avatar Tetsujinfr commented on May 17, 2024

You mean that the model I am using may not contain "launchpad" in its vocabulary and I should add it? I am using the 1.8GB eng model.

from vosk-api.

nshmyrev avatar nshmyrev commented on May 17, 2024

The word launchpad is already there, it might just have suboptimal probability.

from vosk-api.

Tetsujinfr avatar Tetsujinfr commented on May 17, 2024

Yes so hence why I was looking to use some context awarness model (next word predictor , using BART for example) to pick up lower proba words using a model which tracks the ttranscript domain (space here).
I am not clear what I can do with the language model here though. I understand that the language model tweaking is useful to add vocabulary for abbreviations or proper nouns for example, but in my scenario I am not sure what I can do really. Maybe I am missing something on what LM can bring though.

from vosk-api.

nshmyrev avatar nshmyrev commented on May 17, 2024

Maybe I am missing something on what LM can bring though.

Yes. LM is exactly about context awareness.

from vosk-api.

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.