Open Source Speech Recognition - With Source 404
Paul Lamere writes " This story
on ZD-Net and this recent story
on Slashdot
describes the recent open sourcing of IBM's voice
recognition software. This release, unfortunately, doesn't include
any source for the actual speech recognition engine. Olaf Schmidt, a
developer on the KDE Accessibility Project ,
is quoted as saying 'There is no speech-recognition system available
for Linux, which is a big gap.' In an attempt to close this gap, we
have just released Sphinx-4,
a state-of-the-art, speaker-independent, continuous
speech recognition system written entirely in the Java programming
language. It was created by researchers and engineers from Sun, CMU,
MERL, HP, MIT and UCSC. Despite (or because of) being written in the
Java programming language, Sphinx-4 performs as well as similar
systems written in C. Here are the release notes and
some performance data."
Aim You Sing Ate Write How (Score:5, Funny)
Translation for those who still don't get it... (Score:4, Informative)
Body: It(Ate) works(lurks) very(barry) well(wall).
Re:Translation for those who still don't get it... (Score:2, Insightful)
Re:Translation for those who still don't get it... (Score:2)
Re:Translation for those who still don't get it... (Score:3, Funny)
Re:Translation for those who still don't get it... (Score:3, Insightful)
This being said, yes, that the explanation of the joke would be modded up is a bit sad, alright.
Re:Translation for those who still don't get it... (Score:4, Insightful)
It takes at least 3 people to make for a really good joke:
Re:Aim You Sing Ate Write How (Score:5, Funny)
Who ate my wall?
Java!?! (Score:3, Funny)
Re:Java!?! (Score:5, Funny)
Just be glad it wasn't written in Lisp.
Re:Java!?! (Score:3, Informative)
Embedded sysrtems can not use it without huge overhead. if it was in C then it could really give a boost to the embedded linux market.
Sigh, it's still a huge gap to what I do, No room for a Java VM in the embedded systems until I double all my costs on the hardware.
on another note, it just might help fill in the other huge gap in linux. There is no Navigation software to use with map data and a GPS.
and no kiddies, GPSdrive is NOT navigation.
Re:Java!?! (Score:3, Informative)
Check out gcj [gnu.org]. One of it's primary uses is targeting embedded systems. It's quite lean and mean for a Java runtime.
HTH.
Convert to C easily with ALMA (Score:4, Informative)
It can read several high level languages and build an internal representation and the convert that to other high level languages.
It is a great tool to help port this software to C for example.
Unfortunately the site seems to have gone, although I have used this software in the past.
See the google cache though: http://66.102.9.104/search?q=cache:Dbw7OX6Tco4J:w
Google, schmoogle, there are better ways! (Score:3, Informative)
I've also mirrored the source [cyberknights.com.au] Just In Case (that's an ADSL link, you'd be better off downloading it directly from WayBack).
Re:Java!?! (Score:5, Informative)
Does this mean that one could make a shared library out of the java code for C-programmers to use?
withOUT source surely? (Score:3, Funny)
"This release, unfortunately, doesn't include any source for the actual speech recognition engine."
Re:withOUT source surely? (Score:2, Interesting)
Java comment (Score:3, Insightful)
Im sick of these comments. Anyone that needs to know about the performance of Java knows its very fast. Why bother commenting about it anymore?
Its like saying "... and because it was written in C, its very fast...", as if we didn't know already.
Re:Java comment (Score:4, Insightful)
Obviously (Score:5, Funny)
Looking at the performance data it just blazes along on that config. Not exactly what I'd call an embedable system, though Microsoft might beg to differ.
Re:Java comment (Score:2)
The issue is Javas footprint and integration (Score:5, Insightful)
Java is a memory hog, and it's certainly not going to be on any device I would want speech recognition on. Heck, I don't have Java installed on any of my machines, mostly because of the absolutely ridiculous footprint on disk as well as when running in ram.
And integrating Java applications into other applications is very difficult. Now, Java is good for certain things, but a speech recognition engine in Java sounds like the worst abuse possible
That and I still can't train it to recognise my slight australian accent, unlike every other bit of SR software I've used on Win32
Whether or not Sphinx-4 works, and whether or not Java is 'fast' enough to do speech recognition processing, its of no use to me.
Frustrated Java detractors... (Score:3, Interesting)
Next up - Java's footprint and startup time is too slow... Take a look at what they're doing in Java 1.5 to memory map and share core classes and pre-bind read only cl
But what about text to speech? (Score:5, Interesting)
Re:But what about text to speech? (Score:5, Informative)
Re:But what about text to speech? (Score:3, Interesting)
We would like to know if something does not sound quite right. After entering some text and listening to it, please fill out a feedback form and tell us what was mispronounced. And please note that no language translation is done so, for example, if you choose a French voice you should submit French text.)
(That text is from the same page.)
Re:But what about text to speech? (Score:2)
Re:But what about text to speech? (Score:4, Interesting)
Have the same person read the same passage ten times the same way and you will get ten very different results. Ask them to change tones/emotions and it will be even different.
Re:But what about text to speech? (Score:3, Insightful)
I disagree. If computers can't understand context, then don't use the computer to provide the context. Instead, use humans to annotate text using emotional markers, in the same way that composers and conductors add accents and other notations to sheet music. Although you can sort of do this now by explicity indicating phonemes, a better system would
Re:But what about text to speech? (Score:3, Insightful)
Like any community we get all kinds. There are those who do as you say. But there are also those who care for non-programmers and try to accommodate them. It all depends. In the case of a hard-core problem like speech recognition/synthesis (which is nowhere near acceptable level of scientific understanding) you are likely to get more of the "go code it yourself" kind because this area
Re:But what about text to speech? (Score:3, Insightful)
Non-programmer can't code it. Arrogant-open-source-p
Re:But what about text to speech? (Score:5, Funny)
Re:But what about text to speech? (Score:3, Funny)
OT Star Wars Nitpick (Score:5, Informative)
Re:But what about text to speech? (Score:2)
Re:But what about text to speech? (Score:2)
Re:But what about text to speech? (Score:3, Interesting)
Re:But what about text to speech? (Score:3, Funny)
In fact I suspect it sounds like a good RFC that could be released early next April. It would have to be an improvement over IP over Avain Carrier.
Re:But what about text to speech? (Score:2, Funny)
Re:But what about text to speech? (Score:2)
Now, if someone were to make a program that generated coordinates for the muscles that corresponded to going between different uterances, we'd be in business.
Re:But what about text to speech? (Score:4, Insightful)
Probably because speaking is incredibly complicated, and providing realistic speech from unmarked text is an intractable problem.
When you write something down, you don't provide a pronunciation guide. Rather, the reader is guided by context. For instance, if I write the word "import", how do you pronounce it? If we're talking about trade deficits, you probably know that the stress is on the second syllable; but if we're discussing meaning, the stress is on the first.
How do we expect computers that have a difficult time with context to make a pronunciation decision? This is a serious barrier to "good" text to speech (whatever "good" means).
If you mean that you want the voice to sound more natural, even if it's pronouncing words incorrectly, you still have a lot of hard problems. For instance, the muscles in the tongue and lips move differently based on how phonemes are grouped. Coarticulation models are difficult to construct, and when you try to account for a convincing number of muscles and vibrations, the problem may quickly become intractable.
Not only do we have to pay attention to the physics of speaking, but also the physics of hearing. The amount of signal processing involved can be pretty staggering if you're going to implement a complete system. Thierry Dutoit has a really good book on the subject called An Introduction to Text-to-Speech Synthesis. You should check it out if you want a somewhat more exhaustive answer to your question.
IBM gave me speech recognition a decade ago (Score:2, Interesting)
How about open source word spotting (Score:2, Interesting)
New hotness = word spotting
When are we going to see software for Linux that allow us to search keywords in audio or video files like Dragon MediaIndexer [scansoft.com] does?
Virtual Machine Syndrome (Score:5, Funny)
Treat suspected cases with caution, and under no condition contradict the patient. There is no known cure.
Re:Virtual Machine Syndrome (Score:5, Funny)
TREATMENT: Implement reliable and efficient systems using virtual machine of choice, regardless of criticisms. Apply free-market therapy judiciously, allowing adopters of Virtual Machine technology to thrive and become prosperous if warranted. VMS symptoms typically disappear when sufferer's stock options are valued at 300% of their strike price. Symptoms may also be temporarily relieved through just-in-time compilation.
RELATED SYNDROMES: Ossified Self-Important Myopia (OSIM), which is the tendency to assume that one's favorite programming paradigm, language, or OS is unconditionally and unreservedly the best choice for any software project. Characterised by the inability to understand that the only way to guarantee maximum efficiency is to write everything in assembly language, with complete and perfect knowledge of all quirks of the specific target instruction set.
Re:Virtual Machine Syndrome (Score:5, Informative)
An expecially odd statement considering much of speech recognition can be broken down into great big vector operations, which are perfect for hand coding in C. Bet I could quadruple the speed of it in a couple of hours with some hand coded SIMD ops in x86 assembler.
It's funny because Java is fantastic at JIT compiling code with lots of non-local behaviour (e.g complex UIs) because it can take into account global behaviour at runtime. But it sucks at tight, heavy computation loop. DSP is a fantastic example of something Java is going to get creamed at when pitched against non-virtual machines.
Of course, if you have some cross-platform standard API calls for those vector DSP ops, then it's a different argument...
Re:Virtual Machine Syndrome (Score:3, Insightful)
You could always code the easily vectorizable stuff in C with inline assembly and call it from Java using your preffered runtime's FFI.
Re:Virtual Machine Syndrome (Score:5, Funny)
Why should I?
Because it's written in Java!
How is it better than what I'm currently using?
It's written in Java!
I'm already using vi, emacs, kate and gedit, why should I use yours as well?
Because it's written in Java!
Does it have a spell checker, syntax highlighting, and auto-indent?
Who cares? It's written in Java!
Name two benefits to your text editor?
That's easy! First, it's written in Java. Second, it's uh... uh... hang on, uh... it's written in Java! Yeah, that's it, it's written in Java!
Re:Virtual Machine Syndrome (Score:4, Insightful)
Seriously though, Sphinx-4 is really worth looking at. That group at Sun does great work.
Re:Virtual Machine Syndrome (Score:5, Insightful)
True, instead there are a thousand "super-efficient" .jar libraries required by a "Hello World" app, which use the "Object Oriented Programing and Long Lasting Cure All and Testicular Itch Relief Paradigm(tm)" to such extremes that it takes 12 objects instantiated in 4 containers to flip a bit in a byte. Additionally, there is the substitution of native performance of compiled code to code compiled "Just Too Late" combined with exceptional memory usage that entails. If it were not enough, as a bonus, we get the garbage collector which is scientifically fine-tuned to run just when user is expected to interact with the application in most time sensitive manner. As an icing on the cake we also are treated to multiple, insideously incompatible with each other, versions of the so-called "universal" VM, resulting in one app demanding that SunVM is used and the other that MS VM is used thus resulting in total impossibility of using both at the same time. Yes I do speak from looong and utterly infuriorating experience with Java apps.
At one point I considered printing a sign warning of Java advocates being shot on sight, I could probably make some serious money selling it, given similiar amount of grief my other colleagues are going through.
Ahem, and yes, the greatest offenders in me experience are... err... frigging IBM Java apps. We actually abandoned DB2 8.x release because noone could deal with the havoc the DB2 admin tools were causing with various other retarded banking related Java apps.
Re:Virtual Machine Syndrome (Score:5, Insightful)
Garbage collection, in particular, is coming along nicely. Check out "Metronome" by David Bacon, of IBM. You set the knobs, it tells you how much memory you will need, and it gives you GC with real time performance. No pauses.
Or, consider the machine that Azul is working on (good luck getting details now that they are in some sort of a quiet period). It has hardware support for read and write barriers, plus a good story for stack caches. Chances are good its GC pauses will be tiny (1-10 ms).
I can also tell you that the market very much prefers JIT compilation. I worked on an ahead-of-time-compiling JVM, and there were a couple of others built by other companies. I don't work on that JVM any more, and the other AOT JVM companies have either failed or gone into other lines of business.
So, great story, but not exactly correlated with reality.
On the other hand, consider all the buggy apps that we (who sometimes administer Windows machines) have needed to patch over and over again over the years. If I am unwilling to run an application in the first place because of its poor security, does it really matter how little memory it uses, how fast it runs, or how well it gets along with the other worm-friendly apps?
Re:Virtual Machine Syndrome (Score:5, Funny)
I dont give a damn about Metronomes and speech recognition of questionable usefulnes. None of those are Java apps I deal with. And of those I deal with all suck.
worm-friendly apps?
Speaking of security, most Java apps are deployed in places that need them not in the first place, as a kludge for an E-Commerce site or electronic banking interface which can be done with a bit of thinking in plain HTML. Others, like IBMs for example, are mainly administrative tools which have no communication abilities outside of their narrow scope. These, if made in any other language would not be any more prone to worms. As a matter of fact, the use of Java on some of these electronic commerce sites introduces unneeded complexity and results in code executing on customer's computers whereby they become prone to being abused by spoofed/buggy VM's etc.
So, great story, but not exactly correlated with reality.
Reality? Oh dear. Listen dude, I am telling you as a user of your wonderful computer science masturbation effort otherwise known as Java: No. Nada. Niet. It aint a go. No can do. The bank we deal with is rewriting their apps to be java-free because of the amount of flaq they are getting (and no they are not going to that other aberration known as C# either). IBM DB2 is banned in many companies we deal with. Etc etc. We, the users, not you, Mr. Java Wanker, have the final word on this. Trust me.
Re:Virtual Machine Syndrome (Score:3, Insightful)
I think there is something specially weird about these Java priests. I have seen people exhibiting unhealthy attachment to some tools or languages, but nothing even approaching the amount of zealotry Java seems to produce. Well maybe except the Emacs/Vi war but that at least had some comedic elements. Java worshippers on the other hand are indeed appearing to believe they somehow discovered some secret source of mojo and the Ultimate
Re:Virtual Machine Syndrome (Score:3, Informative)
Some of the advantages of byte-code are:
. branch prediction and other speculative optimisations can be done based on observing the flow at runtime rather than guessing at compile time.
. it's not necessarily tied to a specific architecture
. if code optimisation technology improves, you don't need to recompile anything. the new JIT engine can do it all for yo
Re:Virtual Machine Syndrome (Score:3, Funny)
"In Soviet Russia... bullshit calls you!"
Free C++ alternative from Mississippi State Univ. (Score:5, Interesting)
--
Try Nuggets [mynuggets.net], the mobile search engine. We answer your questions via SMS, across the UK.
Re:Free C++ alternative from Mississippi State Uni (Score:2, Funny)
Another alternative: HTK (Score:3, Informative)
Maybe you like the Cambridge HTK [cam.ac.uk] better, then ;-)
--
Try Nuggets [mynuggets.net], the mobile search engine. We answer your questions via SMS, across the UK.
Cool... (Score:3, Funny)
Open Source - With Source! (Score:4, Funny)
I'm not one to be picky about titles, but sheesh...
Build Instructions (Score:2, Insightful)
Re:Build Instructions (Score:3, Funny)
Telephony (Score:2, Interesting)
Michael
Re:Telephony (Score:3, Informative)
Sphinx 2 (Score:5, Informative)
"There is no speech-recognition system available for Linux, which is a big gap."
Um, Sphinx 2 [sourceforge.net] (a predecessor of Sphinx 4) has been around for quite some time now. Like Sphinx 4, it's speaker-independent. Unlike Sphinx 4, it's a C library, and is thus easily interfaced with other languages (insert shameless plug for a simple Python interface [wpi.edu] for Sphinx 2 I wrote).
Re:Sphinx 2 (Score:3, Informative)
Speech recognition (Score:5, Interesting)
Re:Speech recognition (Score:3, Informative)
This statement is far too general to be true. The keyboard is only faster if you know what the command is you're trying to enter AND how to spell it. Voice recognition, used correctly, is much more intuitive. Maybe it's not so hot for dictation, but imagine if an app you're using didn't have to have a bunch of hard-to-sift-through menus. Just say 'Italic!' or "Bold!'
SR is much more interest
And lo, the point was missed... (Score:5, Insightful)
There are a number of HCI aspects where speech recognition is not a good solution.
However, let me enumerate a number of other ones, where it's superior:
Minutes of meetings, or similar. Imagine having a verbatim record of a discussion there by the time you get back to your desk.
Someone who cannot type - e.g. no hands. Rare, granted, but still a viable use.
Someone whose hands are busy. The cannonical example here is a pathologist doing an autopsy, where they dictate everything. Speech recogition saves time in transcription (and money for the audio typist).
I'd love to be able to issue voice commands to a computer, for a few, isolated cases. For example, diagnosing hardware. Bring up a doc, and be able to get the computer to flip pages, without having to remove the probes from the hardware. Re locating them is a pain, and sucks time.
Moreover, I'm certain that there are others, some of which will only be realised when it's common and cheap enough to be widely available.
It's like a mouse. It's one of the worst general purpose input devices for a computer [0], but it's excels at indicating a single element on a display. The mouse and keyboard complement each other, and there are a bunch of other, more specifc input devices, such as the graphics tablet. I have no doubt that if speech recognition was as accurate and reliable as a graphics tablet, it would get a similar amount of use.
[0] Try inputing a block of prose with only a mouse. Even specilist software makes it only suck marginally less.
TV Remotes (Score:2)
You know how the TV remote gets lost from time to time? And it's always a pain to find. Or that the remote is the other side of the room, so you have to walk away from the TV, pick it up, and end up moving further than to the TV itself?
Put a microphone on the set top box, and use voice recognition instead / as well as a remote.
Sonic contamination is easily solved, by subrtracting out of the picked up audio the TV
Um...I don't want to get out of my bed! (Score:2)
I love x10 :-)
Obligatory Commercial Break (Score:5, Funny)
Cell Phone: To: Mike. I have lip fungus.
Woman: [into cell phone, angrily] I had FUN, not lip fungus!
Cell Phone: I have fungus, not lip fungus.
Woman: I DON'T HAVE LIP FUNGUS!!!
Never a huge fan... (Score:4, Insightful)
I must say though that speech recognition is something that the whole computer community needs to work on. Now, we can finally do that. All the "open source community" needs is source that works a little. In a year or so, I bet this works better then most options available today.
Now, I know that isn't the rule but this is the type of thing that computer/math engineers could sit down to and contribute where others can't. It seems to be the rule that the really smart ones tend to work with open source software...
Really the cool thing is that this could get people involved who otherwise wouldn't because they don't know where to start.
Re:Never a huge fan... (Score:3, Insightful)
Or it seems to be the rule that those who work with open source software tend to think they are the really smart ones...
The Myth Must Die (Score:2, Offtopic)
It's amazing that the myth of Java being slow is so persistant. In fact, for computational tasks, many benchmarks have shown that a modern optimized JVM with JIT compilation is roughly equivalent with most implementations of C++, with some benchmarks being better for Java and some being better for C++ [javaworld.com].
Java *used* to be slow, in the days before optimized JIT JVMs. IMHO, anot
Re:The Myth Must Die (Score:5, Funny)
And many studies have shown that going with Microsoft software is cheaper than going with open sourced software.
There's more than one kind of overhead. (Score:5, Insightful)
For applications where you can create a JVM and use it as you need it, Java's great. Webservers, sure, no problem. Desktop applications, heck, the GUI overhead's getting to be the same order of magnitude (though that HAS to change, we can't afford to depend on Moore's Law much longer unles someone comes up with a clever way to cut the power consumption of processors faster than the speed increases). Browser plugins? For content, yes, but not for navigation... if it takes 10s to start up a JVM your customer's already hit "back".
Re:There's more than one kind of overhead. (Score:2)
This is the reason I keep wondering about whether or not this, that, or the other Java package can be compiled to native code with GCJ [gnu.org]. If so, that should solve the overhead issues involved in calling up a JVM...
Re:There's more than one kind of overhead. (Score:4, Informative)
I find that startup/shutdown for a simple Java program takes about 200ms at 1GHz with the vanilla Sun JDK 1.5 JVM, or 150ms using gcj (gcc), and an equivalent C program takes about 2ms.
The overhead of starting a JVM should be incurred only once per browsing session.
Larry
Re:There's more than one kind of overhead. (Score:3, Insightful)
A factor of 100 difference in the overhead is a bit better than I've seen. I assume that I've never tried it on a sufficiently simple Java program, or you're talking about a dynamically linked C program. Still, a factor of 100 difference in the startup overhead is hardly a negligable consideration.
The overhead of starting
Re:The Myth Must Die (Score:2)
I've ported several computationally intensive image processing programs from C to Java and have experienced a speed degradation of perhaps 10-15%
Aha! Even you admit it!
Benchmarks are TIGHT LOOPS with no GC !! (Score:4, Interesting)
Before you mod me down as a Troll , I work on a virtual machine as a hobby.
The problems with Java being slow have little to do with the "execution of code" part. The part that takes a hit are the Garbage Collector and the Class Loader. The latter causes a HUGE hit in the start up. The former is responsible for those strange Swing freezes I've been seeing when I switch into a Java app.
Unicode also brings its own set of junk , for example "Hello World" in dotgnu's JIT does 7302 hastable inserts, 6000+ StringBuffer operations to initialize the Unicode encoder/decoder. And that is the standard way of decoding unicode (mono uses the same code).
Lastly , C/C++ commonly uses a lot of fields while Java brings in get/set methods for these. A method calls for a get or set is a LOT more expensive than a pointer read . Design has a lot to do with why Java is slow.
The enterprise apps where Java is popular are essentially backend applications which run for long periods of time (so have all the classes looked up and loaded) with a HUGE heap (256 MB or more) where occasional GC freeze won't destroy the entire experience (as it is often JSP/Web based interfaces).
Java *is* fast, if you don't count the slow parts.
Argh! (Score:3, Funny)
It even uses Java!!!! Slashbots must fight back!
Good Success (Score:2, Informative)
The speaker independant feature is the best part. Not all words were recongnized, about 70%. Probably because I slur the other 30%. It works equally well with either my wife or myself issuing commands.
70% is more than I need for this particular project, but I'm sure this new release closes the gap even further.
no more music (Score:3, Funny)
I hope they don't expect to get paid! (Score:2)
Re NSF blowing a measly million to put speech recognition in silicon [slashdot.org] [for which there were many interesting and informative comments posted] I said:
Just a million? Pfft! I went down the tubes with one S.R. startup back in '92 that ate far more of some VC's money than that. Now NSF is not in it to get rich and I hope I am right in assuming that a successful chip design, if a mere $1000000 gets that far, would then be available at no
Can it do transcription? (Score:2)
But if I could take those wave files from my PDA and convert them to text notes... even in the background offline after I sync, then they'd be useful. But you need accurate transcription for that. Is that in there?
with with source source (Score:2, Funny)
Open Source Speech Recognition - With Source
Does it come "with au jus sauce" ?
Would that make it "with with source source" ?
nifty desktop control with sphinx and festival (Score:5, Interesting)
The very small vocabulary needed for desktop control makes the speech recognition much more accurate and usable.
Ok (Score:2)
I used to work for MacSpeech, doing UI work (Score:5, Insightful)
With that said, you can probably guess I have a lot to say about Speech Recognition. (Not Voice Recognition, that's different, that would be able to distinguish Ben from Charlie for example.)
A good SR engine is, of course, essential. And I've not read the details on the two recent giveaways, but I suspect that they are only the engine.
The SR engine is just a begining. There is a ton of UI work that needs to be done. Sit and think about spacing around punctuation marks and then think about capitalization around puncuation marks. Yeah, it is all pretty cut and dried and known but the details really need to be sweated to get it right. This is very time consuming.
Next you have to worry about exactly where you are editing. Is that into Microsoft Word (or Open Office), or emacs, or where? It can make a huge difference when you want to go back and correct misrecognitions. You just don't want to send N delete characters and retype it, that results in a lousy user experience. So just exactly where is the input cursor at all times? This is not an impossible problem, but one where the details must be sweated.
Next is command and control. Just how are you going to let the user grab the text of all the menus and all the text in the dialog box buttons. Again, not impossble, but more of those pesky details.
Finally, is your SR engine good enough? Maybe, maybe not. Let just say that 98% accuracy might look good on paper, but that is one in 50 words wrong. Unless your correction mechanism is smooth, an error rate that high greatly slow you down.
Is Open Source SR a good thing? Oh yes sir, yes! But lets not forget the details. One thing the Open Source community has been accused of, perhaps justly, perhaps, unjustly, is not sweating the details.
Speech Recognition has an awful lot of details.
Why speech recognition on Linux will kill Windows (Score:5, Insightful)
I was thinking about this the other day, and was wondering if this is a huge gap in the Windows user interaction model.
Think about how you input info using windows. You click on a few locations using the mouse, perhaps use some keyboard input, click some more. The output from these inputs is arbitrary: it may result in anything from a 'File/Save' dialog to a custom error dialog box. There is no linear path for inputting commands, or for mapping inputs to results.
Compare this to the command line. You enter a few distinct atomic commands, and view the results in the same medium. You then enter more commands, refining your actions. The key here is that you already have a linear model for input that produces well defined expected results, all in a common medium that is conceptually simple, visible to the user, and easily processed by machines. Extending this model to accept voice input or output is trivial.
How is one supposed to quantify basic tasks and turn them into equivelant voice commands without a baseline framework or paradigm to extend from? How do you automate, simplify, or extend existing tasks without a common input or output medium? GUIs provide no such medium or framework; that same framework is at the heart of the command line interface!
Perhaps this is why we never saw voice recognition technology take off on Windows. It's blinking impossible to script actions for an arbitrary task, let alone process the arbitrary results!
On a similar note we may see voice recognition on Linux take off like a rocket. Anybody can add voice recognition to perform almost any command because the actions are all scriptable throught the CLI already. If you can type it, you can get your computer to do it when you say 'computer, foo!'
Mars
P.S. It would be greatly appreciated if someone could please clarify my point. It's buried in there somewhere...
I am sick of these "Java sucks" comments (Score:4, Insightful)
I think some people should open their eyes, otherwise the world will leave you behind while you are happily consoling each other how Java is slow and unusable. Wake up, folks!
To people which argument about hand writing C and assembly - well, you obviously didn't try to implement any of the algorithms (like hidden Markov models or the statistical searches) used in speech recognition. It is pain in the butt to do it even in Java, but at least you do not have the pointer mess you would have in C/C++. The engine has a good performance already, I am not sure what you would gain by rewriting it, except of bugs (the older Sphinx2 was for sure buggy as hell).
Something about the memory footprint. Java can have a large memory footprint, however with speech recognition, you will always have it. Just the accoustic models for one language can be easily in the order of several hundreds of megabytes. Memory footprint of Java is completely irrelevant here.
And before somebody compares Sphinx with speech "recognition" on you mobile phone or in your car - be aware, that you are comparing scateboard with a Concorde here. Sphinx family of engines are intended for recognition of continuous, large vocabuly speech and to be speaker independent. Your phone/car is small vocabulary, single words and speaker dependent - i.e. completely different problem. You cannot think about Sphinx as something "to have on some device". It is more intended to act as a speech recognition server on a dedicated machine e.g. for a large call center or ticket reservation system. I guess it could be used also in KDE for the KAccessibility purposes, but it is a bit heavy for that (especially with the large datasets).
So next time, before you start spouting BS about Java and applications written in it, at least check the facts. People will not see you as a complete idiot.
Part of Galaxy Communicator (Score:3, Informative)
Note in the 2002 version that the dialog server is not included, this would be great to have too. MIT also has some very cool technologies in this area - SUMMIT, TINA, GENESIS, ... - which I do not believe are public, they just show little bits and pieces of PR about them, but include natural language parsing, question answering, sentence generation, etc. It would be cool if someone on the inside could document just what things are available, what works with what, what is definitely ready for prime time, etc. There must be some people who hacked on this in the past few years and are still developing things, it would be cool if some of their experimentation was available to the open source community so people could get an idea of what things are possible. When I did my survey just about 1 year ago, Communicator was daunting, intriguing, and it looked like you could do tons of stuff if you had some secret decoder docs and a spare year to hack. Maybe now's the time to dig into it hip deep?
Re:Speech Recognition is a Mature Technology. (Score:2, Insightful)
Re:Speech Recognition is a Mature Technology. (Score:4, Funny)
Ba-dum-dum ding!
WTF! (Score:3)
Let's apply your logic on why there isn't a good OS implementation of Java: What's the problem? Java is mature technology and its API is well documented. If you want to code some JRE or Java co
Rolling your own speech recognition isn't so easy (Score:5, Informative)
Speech recognition is not really a solved problem. For some applications it works adequately, but if you take a look at the error rates for the Sphinx system to which the post links, you'll see that the Word Error Rate for large vocabulary is over 18%. Even for 5,000 words it is 7%. For many applications that is unacceptable.
A second factor is that these statistical speech recognition systems require extensive data for their language model. Building such a system requires recording real speech, segmenting it and creating a set of examples from which to compute the probabilities, which requires some knowledge of acoustic phonetics, and doing the computation for the model. This is time-consuming.
Speech recognition technology isn't a dark secret, but it isn't trivial to create a system with good performance either.
Re:Rolling your own speech recognition isn't so ea (Score:3, Informative)
In order to have a good speech recognition system, the computer would have to actually understand the meaning of the sentences and put it in context. There are different levels of analysis necessary to do t
Re:Interesting side note (Score:2, Funny)