Live data from Hacker News

A 2019 Guide for Automatic Speech Recognition

heartbeat.fritz.ai

11–20 of 39 posts

Re: A 2019 Guide for Automatic Speech Recognition

#11

So how can one actually use one of these systems? I'm familiar with pocketsphinx, where you download it and then run procketsphinx_continuous and it prints a transcription of the microphone. Or Julius, where you write a grammar and run it with that and it prints the output. The process for DeepSpeech seems to be along the lines of "get access to a machine with ten GPUs, find a huge dataset, train it, and then run tha…

Obviously the big cloud players offer their own APIs and SDKs (for a price), but there are a few other solutions worth looking at. Facebook has open sourced some pre-trained models: https://github.com/facebookresearch/wav2letter Picovoice has some smaller, more efficient models capable of running on edge devices: https://github.com/Picovoice Full ASR does require quite large models and datasets, but you don't need ne…

Ah, thanks, I wasn't aware Picovoice had released an actual engine yet.

Re: A 2019 Guide for Automatic Speech Recognition

#12
Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy?

I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is.

Edit: I looked into cloud-based ASR, such as that provided by Azure and AWS, but that would mean network latency on top of the recognition latency, and that would drive me nuts!

Re: A 2019 Guide for Automatic Speech Recognition

#13
post #9
post #5

I'm a little confused about the title because the first paper is from 2014. It's also too bad this doesn't mention any traditional HMM-based ASR techniques, as HMMs continue to be used on many SOTA systems, particularly those that can be reproduced publicly: https://github.com/syhw/wer_are_we

This. The article quotes DeepSpeech, wavenets, LSTMs of all sorts; essentially, all the neural networks that scale terribly. DeepSpeech for example is pretty heavy and requires a decent GPU to get anywhere near a realtime factor of 1. Meanwhile ASR through HMM's consistently hits realtime factors sub-1 and can run on small CPUs. e.g. the default models Kaldi ships with outperform DeepSpeech on a lot of modern example…

Do you have any advice or links for a "normal" developer to get started with HMMs for speech recognition? I'd love to build something just for myself here.

Re: A 2019 Guide for Automatic Speech Recognition

#14
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

[deleted]

Re: A 2019 Guide for Automatic Speech Recognition

#15
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

I dream of building a competitor to Siri and google and I’d probably use https://snips.ai/. I think it gains recognition accuracy by having a limited skill set. Looks good though and has functionality for defining skills.

Re: A 2019 Guide for Automatic Speech Recognition

#16

So how can one actually use one of these systems? I'm familiar with pocketsphinx, where you download it and then run procketsphinx_continuous and it prints a transcription of the microphone. Or Julius, where you write a grammar and run it with that and it prints the output. The process for DeepSpeech seems to be along the lines of "get access to a machine with ten GPUs, find a huge dataset, train it, and then run tha…

Obviously the big cloud players offer their own APIs and SDKs (for a price), but there are a few other solutions worth looking at. Facebook has open sourced some pre-trained models: https://github.com/facebookresearch/wav2letter Picovoice has some smaller, more efficient models capable of running on edge devices: https://github.com/Picovoice Full ASR does require quite large models and datasets, but you don't need ne…

Wasn't aware of Picovoice. Just tried the live do they have on their website... wow, it's... not great! Even if I spoke as precisely as possible or/and put on an American accent, it was way off the mark.

Re: A 2019 Guide for Automatic Speech Recognition

#17
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

Though not entirely with OSS libraries, there was a guy who did the "development without arms/hands" side of this back in 2013:

https://www.youtube.com/watch?v=OWyMA_bT7UI

It used the windows version of Dragon Dictate that had a python interface which was then hooked up to emacs, iirc. I attempted to replicate his system at some point but never got it working -- seems that the libraries he referenced weren't well maintained and/or running windows through a VM on my mac introduced additional issues.

Re: A 2019 Guide for Automatic Speech Recognition

#18
post #15
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

I dream of building a competitor to Siri and google and I’d probably use https://snips.ai/ . I think it gains recognition accuracy by having a limited skill set. Looks good though and has functionality for defining skills.

Speech recognition of a small set of possible words is basically a solved problem. It's why you've been able to call a phone support line and read numbers to it for years and years now; speech recognition for 10 digits and a handful of control words is basically done.

So, if your project can be built on that, good news; you can build now.

Re: A 2019 Guide for Automatic Speech Recognition

#19
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

(Slightly offtopic, sorry) I think the best path to “programming by conversation” is to have a programming language designed specifically for that goal, so perhaps you want to research that. I’d say a version of prolog / attempto controlled english / similar functional language (to work on small bits of mostly contained meaning), a verbal repl that is carefully designed to explore data, generate test data, manage errors correctly, and highlight what’s important, etc. would be a super interesting project, that can then be easily plugged into voice interfaces.

Re: A 2019 Guide for Automatic Speech Recognition

#20
post #12

Are there any good quality OSS speech recognition libraries that are easy to get started with, or is it still so complex/expensive that this is a fantasy? I really love the idea of hacking something together for development so I don't need to use my arms and hands so much, or could lessen my mouse use (for accessibility reasons), but I don't know how realistic that is. Edit: I looked into cloud-based ASR, such as tha…

[deleted]
Post reply on HN