Have other frameworks had the concept of ["interactive islands"]?
I'd love to know more, but the docs aren't fleshed out yet. Does anyone know of other (documented) frameworks that use this concept?
In order to get a more comprehensive vocabulary/grammar, you need to substitute out the sample that it comes with. There are instructions in the README. For the demo, it just uses the sample grammar that voxforge provides, which is (as you can see) fairly limited.
This was my first emscripten project - I would definitely recommend it. I found it to be a great tool. Two things to point out:
- If something is not documented well, it is probably tested well. If you can find the tests that cover it, you can usually get a good idea of how it works.
- There is no multithreading. I had to fake it by breaking up my loops with setTimeouts.
There is an IRC channel if you need a place to go for help. Also, feel free to PM.
There is now a (very rudimentary) demo on the GitHub page: zzmp.github.io/juliusjs
Much thanks to @iffy for writing the first pass.
It uses voxforge's sample vocabulary, so you'll need to say things like "Dial 1 2 3" or "Call Kenneth McDougall" for it to understand you, but the vocabulary is easily swapped out for your own projects, as explained in the README.
It does post them back from the worker, but the Julius interface doesn't expose them (yet). The way that Julius deals with confidence scores is also a little different (they're not fractional), so you'd need to account for that.
I'll be sure to include them soon - it's probably just a few more lines of code, so you can expect them in the onrecognition function this afternoon.
True. Transpiled, with a few abstractions written over the transpiled code (such as a worker script), and some tweaks to the transpiled code to fake multithreading so that it can coexist with the Web Audio API.
I used voxforge[1], a project made specifically to solve this problem:
> VoxForge was set up to collect transcribed speech for use with Free and Open Source Speech Recognition Engines (on Linux, Windows and Mac).
VoxForge's sample grammar is provided as a default, in its own folder [2]. It would be nice to get a high-quality acoustic model, as voxforge's is not that comprehensive yet, but I couldn't find anything with the right licensing and zero cost. If anyone knows of one, I'd love to hear about it.
["interactive islands"]: https://fresh.deno.dev/docs/concepts/islands