News for hackers. Stuff that matters.

zzmp

Re:Fresh – Next-gen web framework on Monday June 13, 2022 @12:28AM (#31721124)
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?

["interactive islands"]: https://fresh.deno.dev/docs/concepts/islands

Re:The Church of Interruption on Monday September 23, 2019 @12:42AM (#21045957)
This is beautifully written.
Re:Markdown and mock = textmock on Saturday April 14, 2018 @06:45PM (#16839997)
They typo’ed on the word poopular. Or not. :D
Re:Facebook Delays Home-Speaker Unveil Amid Data Crisis on Tuesday March 27, 2018 @11:43PM (#16695084)
They call all of their sources "the people". It's not coming out yet, "the people said". Kinda strange...
Re:A letter about Google AMP on Tuesday January 09, 2018 @04:29PM (#16110281)
This letter just seems to affirm that Google made a good business decision with AMP.
Re:Why Is Node Being Forked? on Thursday October 16, 2014 @11:31AM (#8465427)
node-forward stated in their issues [1] that it's just politics. They've taken it private for the time being.

[1] https://github.com/node-forward/discussions/issues/7

Re:Show HN: Hacker News implemented using the new API on Tuesday October 07, 2014 @07:14PM (#8424523)
Are you able to show the comment counts as well?
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Saturday October 04, 2014 @02:45PM (#8410179)
It's definitely a fun little toy...

http://node-os.com/

http://osjsv2.0o.no/

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Saturday October 04, 2014 @12:17PM (#8409801)
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.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Saturday October 04, 2014 @12:16PM (#8409794)
I believe that Julius offers their own tools for conversions like these, but the best place to consult would be the JuliusBook [1].

[1] http://julius.sourceforge.jp/juliusbook/en/

Why isn't Rust on that list?
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @06:20PM (#8407948)
I'm literally sitting here hitting refresh. Thanks.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @03:46PM (#8407282)
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.

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @02:53PM (#8406997)
Right, it's all done on the client, so it is server agnostic.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @02:09PM (#8406767)
OK it's done! Not well documented yet - that will wait for another day - but you can now access the score through the `onrecognition` event.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @02:04PM (#8406729)
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.

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @02:02PM (#8406718)
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.

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @12:42PM (#8406273)
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.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @11:56AM (#8406060)
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.

[1] http://www.voxforge.org/ [2] https://github.com/zzmp/juliusjs/tree/master/dist/voxforge

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @10:50AM (#8405758)
I'll try to whip one up today and post it to the README.
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @10:19AM (#8405636)
pocketsphinx.js looks amazing, but there's definitely a barrier to entry if you've never worked with speech recognition before. That was my biggest goal in porting this tool - a nice, abstracted API. Glad you like it :)
Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @10:00AM (#8405555)
No, but I think it's a great idea. If you end up using JuliusJS for this, please let me know. I still need to make some example applications to showcase what JuliusJS can do - I'll have them listed in the README when they're done.

I also came across PocketSphinx, which has been around a little longer - that may have some users in the wild already, and I wouldn't be surprised if it was used for navigation somewhere.

[PocketSphinx] https://github.com/syl22-00/pocketsphinx.js/

Re:Show HN: JuliusJS – Speech recognition in JavaScript on Friday October 03, 2014 @09:45AM (#8405490)
Creator here - I ported this over from the open-source Julius using emscripten. AMA

Older »