Giter Site home page Giter Site logo

msqr1 / vosklet Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 0.0 244.96 MB

A speech recognizer that can run on the browser, inspired by vosk-browser

License: Apache License 2.0

JavaScript 27.81% C++ 33.41% Shell 38.28% C 0.51%
api javascript speech-recognizer vosk webassembly

vosklet's Introduction

Read vertically

Hi, I stuff. the

I like I most.

am to love

Rylex. code C++

vosklet's People

Contributors

msqr1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vosklet's Issues

Not work with different model

On the step of model's creation (malloc) JS throw error without text but with 1 number, it looks like number of bytes tried to allocate.

Have you built model with fixed memory size? doesn't it allow memory_grow?

evaluation give worse metrics then server-based VOSK. Way to run it sync for test?

I have a dataset of syllables on which I perform the evaluation.
Each wav = 1 syllable (0.2 sec). Just read one by one, recognize, check with ground true.

Vosk on the host gives ~80% accuracy.

Vosklet give ~65%, Possible it's because async nature of the js wrapper.
I use a timeout 2 sec to divide different wav recognition, but 11% of records have nothing as recognized result, and 8% contains 2 syllables.

Other things all the same between hosted Vosk and browser Vosklet.
Maybe running in main thread synchronously will help?

Unhandled Promise Rejection: ReferenceError: Can't find variable: SharedArrayBuffer

[Error] Unhandled Promise Rejection: ReferenceError: Can't find variable: SharedArrayBuffer
	(anonymous function) (Vosklet.js:9:9494)
	(anonymous function) (index.html:21)

Safari Version 17.3.1 (19617.2.4.11.12)

Happens after clicking start and speaking via the example

Thanks for the lib, still failing to get browser offline speech recognition working with any example from any offering ๐Ÿ™ƒ

working example?

I tried to run on IDE devserver, different services but get error about SharedBufferArray
I created a simple Flask with necessary CORS headers, but now it fails at

let model = await module.createModel("en-model.tgz","model","ID")

with

Uncaught (in promise) TypeError: Failed to fetch

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.