Live data from Hacker News

Voice2json: Offline speech and intent recognition on Linux

voice2json.org

91–100 of 114 posts

Re: Voice2json: Offline speech and intent recognition on Linux

#91

Good FLOSS speech recognition and TTS is badly needed. Such interaction should not be left to an oligoply with bad history of not respecting users freedoms and privacy.

pico2wav with the en-gb voice seems not too bad for TTS. I had reasonable luck in limited domain speech recognition with pocketsphinx, but it does need some custom vocabulary.

Example: https://www.youtube.com/watch?v=tfcme7maygw

Granted, maybe this is "not good enough", but I feel like I got pretty far with pico2wave, pocketsphinx plus 1980's Zork level "comprehension" technology.

And the open source status of pico2wave is a bit questionable, I'll grant you that.

A bit more detail about the implementation here: https://scaryreasoner.wordpress.com/2016/05/14/speech-recogn...

Re: Voice2json: Offline speech and intent recognition on Linux

#92

Author here. Thanks to everyone for checking out voice2json! The TLDR of this project is: a unified command-line interface to different offline speech recognition projects, with the ability to train your own grammar/intent recognizer in one step. My apologies for the broken packages; I'll get those fixed shortly. My focus lately has been on Rhasspy ( https://github.com/rhasspy/rhasspy ), which has a lot of the same i…

Have you seen anyone using this for vim? Do you have any example of how that might look, or insight into whether it would work?

Re: Voice2json: Offline speech and intent recognition on Linux

#93
post #92

Author here. Thanks to everyone for checking out voice2json! The TLDR of this project is: a unified command-line interface to different offline speech recognition projects, with the ability to train your own grammar/intent recognizer in one step. My apologies for the broken packages; I'll get those fixed shortly. My focus lately has been on Rhasspy ( https://github.com/rhasspy/rhasspy ), which has a lot of the same i…

Have you seen anyone using this for vim? Do you have any example of how that might look, or insight into whether it would work?

I haven't seen this yet, but I imagine it would involve running at least "voice2json record-command | voice2json transcribe-wav | jq .text". This will record a single command (until silence), and output the text transcription.

Re: Voice2json: Offline speech and intent recognition on Linux

#94
post #86

Earlier quoted context omitted.

Hey there, this looks great. I was wondering why Deepspeech 0.6? Why not the latest version DeepSpeech 0.9?

I need to cycle back and update voice2json. Rhasspy (the full voice assistant) supports DeepSpeech 0.9.3.

Awesome, thanks.

Re: Voice2json: Offline speech and intent recognition on Linux

#95

Earlier quoted context omitted.

Does using copyrighted works to train a machine learning model make that model infringing?

Generally a ML model transforms the copyrighted material to the point where it isn't recognizable, so it should be treated as its own unrelated work that isn't infringing or derivative. But then you have e.g. GPT that is reproducing some (largeish) parts of the training set word-for-word, which might be infringing. Also I don't think there have been any major court cases about this, so there's no clear precedent in e…

There are some that say that the Google Books court case is precedent for ML model stuff, if you search back through my comment history you will find links.

Re: Voice2json: Offline speech and intent recognition on Linux

#96
I wonder if this would pass the Debian Deep Learning Team's Machine Learning policy, which requires public data under a libre license that is retrainable using software under a libre license, without any proprietary drivers:

https://salsa.debian.org/deeplearning-team/ml-policy

Re: Voice2json: Offline speech and intent recognition on Linux

#97

Good FLOSS speech recognition and TTS is badly needed. Such interaction should not be left to an oligoply with bad history of not respecting users freedoms and privacy.

Mozilla CommonVoice is definitely trying. I always do a few validations and a few clips if I have a few minutes to spare, and I recommend everyone does. They need volunteers to validate and upload speech clips to create a dataset. https://commonvoice.mozilla.org/en

[deleted]

Re: Voice2json: Offline speech and intent recognition on Linux

#98

Earlier quoted context omitted.

Speech recognition algorithms today require lots of data, lots of training computation, and a decent design. Decent designs are in published papers all over the place, so thats a solved issue. Lots of compute requires lots of $$$, which isn't opensource-friendly. Lots of data also isn't really opensource friendly. Sadly this is a niche that the opensource business model doesn't really fit.

People would probably say the same about wikipedia 20 years ago. People said similar things about gnu, gcc and linux 30 years ago.

GNU is heavily skewed to developer tools and infrastructure, and gcc is no counterexample. There are so many classes of software where this does not work. Pretty much anything for heavily regulated industries is not well served by FLOSS. There are few open source insurance software or medical records systems (the few that exist are highly niche and/or limited), EDA/CAD is not well served by FLOSS (I’ve toyed with FreeCAD, but even hobbyists gravitate to Fusion). Outside of developer tooling and infrastructure: commercial, generally closed source, closed development software is king.

* besides the hard part of standing up an EMR is not installing a prepackaged software.

Re: Voice2json: Offline speech and intent recognition on Linux

#100
post #84
post #63

Earlier quoted context omitted.

I do this successfully for work using https://talonvoice.com/ - initial learning curve is steep, but once you learn how to configure and hack on the commands, you can be very effective. I use it maybe half the day to combat lingering RSI symptoms, and with some work I could probably use it for 98% of input for the computer. Some people do use it for 100% afaik

You do this on Linux?

Yeah, although it's also available for Mac
Post reply on HN