Slashdot Mirror


Open Source Speech Recognition - With Source

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."

91 of 404 comments (clear)

  1. Aim You Sing Ate Write How by Anonymous Coward · · Score: 5, Funny

    Ate lurks barry wall.

    1. Re:Aim You Sing Ate Write How by BarryJacobsen · · Score: 5, Funny

      Ate lurks barry wall.

      Who ate my wall?

  2. Java!?! by Anonymous Coward · · Score: 3, Funny

    Quick someone port this to C.

    1. Re:Java!?! by darkonc · · Score: 4, Funny
      Quick someone port this to C.

      Just be glad it wasn't written in Lisp.

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    2. Re:Java!?! by Lumpy · · Score: 2, Informative

      there are problems with it being in java.

      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.

      --
      Do not look at laser with remaining good eye.
    3. Re:Java!?! by Glock27 · · Score: 2, 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.

      Check out gcj. One of it's primary uses is targeting embedded systems. It's quite lean and mean for a Java runtime.

      HTH.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    4. Re:Java!?! by leinhos · · Score: 4, Informative

      Can't gcc compile java code directly to native binary code?

      Does this mean that one could make a shared library out of the java code for C-programmers to use?

  3. withOUT source surely? by RobertTaylor · · Score: 3, Funny

    "Open Source Speech Recognition - With Source"

    "This release, unfortunately, doesn't include any source for the actual speech recognition engine."

    1. Re:withOUT source surely? by sploo22 · · Score: 2, Interesting

      That's for the IBM one, dummy. Let me guess - you saw that sentence and had an instant knee-jerk reaction without reading the rest of the summary to find out what it's talking about.

      --
      Karma: Segmentation fault (tried to dereference a null post)
  4. Java comment by Aragorn992 · · Score: 3, Insightful

    Despite (or because of) being written in the Java programming language, Sphinx-4 performs as well as similar systems written in C.

    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.

    1. Re:Java comment by Taladar · · Score: 4, Insightful

      Java might be as fast as C in Code Execution but if you want to build a library that Open Source Applications outside the Java-Developer-niche use you have to write it in C. C is still THE No. 1 language for libraries for use in programs written in lots of different programming languages.

  5. But what about text to speech? by Anonymous Coward · · Score: 5, Interesting

    When are we going to get GOOD text to speech, that uses modeled parameters of human vocal tracts rather than stitching together a bunch of pre-recorded phonemes?

    1. Re:But what about text to speech? by QuantumG · · Score: 4, Informative

      By we I assume you mean "the open source community" and the answer is "when you get off your ass and code it". If by "we" you mean the world at large then go and look at AT&T's Natural Voices project.

      --
      How we know is more important than what we know.
    2. Re:But what about text to speech? by DAldredge · · Score: 3, Interesting

      It still doesn't sound natural, this text sounds like a female Kirk read it.

      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.)

    3. Re:But what about text to speech? by Sheetrock · · Score: 5, Funny

      Given that there is already a rudimentary text-to-speech package available for Linux, and now a speech-to-text package, perhaps the secret is to pipe one to the other in a closed loop until one learns how to enunciate and the other how to listen?

      --

      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822-3.




    4. Re:But what about text to speech? by MarcoAtWork · · Score: 2, Funny

      I think it's more likely that this will degenerate into some sort of c3po 'language' after a few passes: beep BOOP beep beep blip

      --
      -- the cake is a lie
    5. Re:But what about text to speech? by OneDeeTenTee · · Score: 2, Funny

      But I like my text-to-speech output when it sounds like a Berserker. -Goodlife

      --
      Stop the world; I need to get off.
    6. Re:But what about text to speech? by cheezit · · Score: 3, Interesting

      I'm thinking it might be a bit more complicated than that...the human voice is unfortunately far too expressive.

      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.

      --
      Premature optimization is the root of all evil
    7. Re:But what about text to speech? by mevans · · Score: 3, Interesting

      I was sitting in English class one day, and working on a paper - a friend was editing, and I was looking to make a copy of the paper. Having no disks and a finnicky network, we decided to run text-to-speech on my machine and speech-to-text on hers. Needless to say, my paper on the Medicare Reform Bill of last year became garbage. - Evidence of a lossless transfer!

    8. Re:But what about text to speech? by Chris+Oz · · Score: 3, Funny

      More creatively why not pioneer IP over voice. Then you could do IP over Voice over Voice over IP ... :)

      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.

    9. Re:But what about text to speech? by LnxAddct · · Score: 2, Informative

      Look around at the shpinx project and freetts. Alot of really good voice stuff going on. FreeTTS is excellent, and if you've got time, you can even model your own voice:) Anyway... I forget which of the two sites I got to it from (think it was sphinx) and its got a whole scenario with an airport calling program, its very very nice and sounds great.
      Regards,
      Steve

    10. Re:But what about text to speech? by IgnoramusMaximus · · Score: 2, Insightful
      So to you a "community" is a bunch of people who only do things which they themselves want and never help each other? Weird

      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 is prone to be inhabited by people who are arrogant "know-it-alls" but also unable to do anything about it. On the other hand, sometimes the questions asked by the "non-programmers" are also arrogant and of "Gimme now! Free! Now! Or I will hold my breath!" variety of attitude, which will be dealt with accordingly.

    11. Re:But what about text to speech? by winterlens · · 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.

    12. Re:But what about text to speech? by misleb · · Score: 2, Insightful
      Exactly how is it arrogant to suggest someone make something themselves if they want it so bad? It may not be productive or helpful, but it certainly isn't "arrogant." Perhaps the non-programmer should have considered that what is better to a programmer is not necessarily better to everyone else. I mean, I don't go making my car buying decisions based on the suggestion of a truck driver. Otherwise I might end up with a Mack tractor and nothing to haul...

      Non-programmer can't code it. Arrogant-open-source-programmer continues to scratch his itch. As a result, we have 10 thousand poor ass themes and numerous barely functional programs for each task. But what would be best is at least ONE good, working, application for each task.

      Why not just be grateful for what you *can* get out of open-source software? It is free, isn't it? Quit whining.

      So to you a "community" is a bunch of people who only do things which they themselves want and never help each other? Weird.

      Never help each other? Are you kidding me? Most open source projects depend on many libraries and much code written by others. Just putting your code into the public domain is helping others. And it isn't uncommon for programmers on one project to contribute to another. Where in the world do you get the idea that open-source developers don't help each other?

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    13. Re:But what about text to speech? by silentbozo · · Score: 2, Insightful

      You cannot achieve what you want without the reader understanding context. Since computers can't yet understand context, we can't yet build such a system.

      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 allow you to "markup" plain text with emotional cues that would be interpreted by whatever speech engine is being used.

      Something like what MIDI programs do that allow you to manipulate sequences and add attacks, change insturments, etc. This would allow you to still "perform" a text-to-speech, using the computer-synthesized voice as the instrument. A more advanced system would couple a speech recognition and pitch analysis system to automatically manipulate a speech output program, so an actor could perform a line using their own voice, but be able to "puppet" the line into someone else's voice.

  6. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 2, Insightful

    Yeah i'm sure it's just that easy... you dumb f*ck

  7. IBM gave me speech recognition a decade ago by Anonymous Coward · · Score: 2, Interesting

    In OS/2. Really, it was just about a decade ago. It worked pretty well, especially when you take into account the computer power of the time.

  8. How about open source word spotting by Anonymous Coward · · Score: 2, Interesting

    Old and busted = voice recognition

    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 does?

  9. Virtual Machine Syndrome by nihilogos · · Score: 5, Funny

    Colloquially known as "pointer-envy", this condition may affect all programmers, but is especially prevalent in java and C# developers. It is most easily recognized in a release announcement, where for no reason whatsoever the afflicted developer suddenly interjects a statement like "and it's just as fast as C", to the bewilderment of the audience.

    Treat suspected cases with caution, and under no condition contradict the patient. There is no known cure.

    --
    :wq
    1. Re:Virtual Machine Syndrome by Xeger · · Score: 5, Funny

      KNOWN CAUSES: Recent research results from information-theoretic psychoanalysts shows that Virtual Machine Syndrome is most likely a pre-emptive defensive discourse strategy. VMS sufferers typically become symptomatic after months or years of constant haranguing at the hands of colleagues, friends and professional contacts that anything they write, regardless of its execution environment or portability requirements, could have been done "better and faster in C." Oftentimes, such criticism is levied against VMS sufferers even when the application in question is I/O-bound and spends 80% or more of its time suspended, waiting for network or disk I/O to complete.

      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.

    2. Re:Virtual Machine Syndrome by pslam · · Score: 5, Informative
      It is most easily recognized in a release announcement, where for no reason whatsoever the afflicted developer suddenly interjects a statement like "and it's just as fast as C", to the bewilderment of the audience.

      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...

    3. Re:Virtual Machine Syndrome by Brandybuck · · Score: 4, Funny

      Try my new text editor, it's written in Java!

      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!

      --
      Don't blame me, I didn't vote for either of them!
    4. Re:Virtual Machine Syndrome by deanj · · Score: 3, Insightful

      Heh...you could substitute "uses Linux" for "written in Java", and you'd have the same thing.

      Seriously though, Sphinx-4 is really worth looking at. That group at Sun does great work.

    5. Re:Virtual Machine Syndrome by don.g · · Score: 2, Funny

      And may I just add,

      "In Soviet Russia... bullshit calls you!"

      --
      Pretend that something especially witty is here. Thanks.
    6. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 5, Insightful
      Stuff written in Java is better than stuff written in C or C++ because there are no frapping buffer overflows in Java code

      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.

    7. Re:Virtual Machine Syndrome by dr2chase · · Score: 4, Insightful
      Great story, but basically wrong and misleading. You can trowel on the layers in any language, and you can write fast Java programs. The speech engine is proof of that.

      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?

    8. Re:Virtual Machine Syndrome by Unknown+Lamer · · Score: 2, 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.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    9. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 4, Funny
      Check out "Metronome"

      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.

    10. Re:Virtual Machine Syndrome by jamesh · · Score: 2, Informative

      In theory, it's all compiled down to assembly in the end anyway so it has equal chance of being just as fast. For some types of code, JIT can be faster.

      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 you.
      . as above but for bugs in the optimiser.

      I'm sure someone else will point out some of the disadvantages.

    11. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 2, Insightful
      but you don't see me strutting around like I'm using God's own language!

      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 And Final Way You Shalt Speaketh To Yer Computer. They seem completely oblivious to the fact that like any other computer language, Java has major shortcomings. Additionally, because it was hyped and targetted at a particular class of applications where (in my and other users experience) it performed abysmally, it has become a dirty word along with other "revolutionary" ideas like Lotus Notes, Object-Oriented Databases, etc. All promising to be magical fairies who will cure all your computing problems with a wave of a wand, and instead turning out to be beer-bellied, hygiene deficient, ugliest-ever men in drag wielding an axe.

  10. Free C++ alternative from Mississippi State Univ. by j.leidner · · Score: 4, Interesting
    Another open source system, but implemented in C++ (like all industrial systems I know of) can be found at here (a vision statement is here.

    --
    Try Nuggets , the mobile search engine. We answer your questions via SMS, across the UK.

  11. Cool... by j_cavera · · Score: 3, Funny

    Now my linux box can wreck a nice beach!

    --
    #include "humorous_pop_culture_reference.h"
  12. Open Source - With Source! by NSash · · Score: 4, Funny

    From dept-of-redundancy-department?

    I'm not one to be picky about titles, but sheesh...

  13. Re:Free C++ alternative from Mississippi State Uni by Anonymous Coward · · Score: 2, Funny

    Eef ya uses thees one ya'lls gonna hafta talks like dis heers.

  14. Build Instructions by Anonymous Coward · · Score: 2, Insightful

    Given those build instructions, you are better off writing your own engine. This is exactly what is wrong with Linux today, and I dont see *any* solution to it. A maze of hidden dependencies and incompatabilities. No thanks.

    1. Re:Build Instructions by dspfreak · · Score: 3, Funny
      While you're looking out for the hidden dependencies and incompatibilities, could you keep an eye out for the Markov model?

      --
      "Tolerance is the virtue of the man without convictions." -- G. K. Chesterton
  15. Translation for those who still don't get it... by CaptainPinko · · Score: 4, Informative

    Title: I'm(Aim) using(You Sing) it(Ate) right(Write) now(How)
    Body: It(Ate) works(lurks) very(barry) well(wall).

    --
    Your CPU is not doing anything else, at least do something.
    1. Re:Translation for those who still don't get it... by Epsillon · · Score: 2, Insightful

      Don't you feel that the joke loses its appeal when you have to explain it? This is Slashdot. If anyone failed to get it, they probably shouldn't be here ;o)

      --
      Resistance is futile. Reactance buggers it up.
    2. Re:Translation for those who still don't get it... by Anonymous Coward · · Score: 3, Funny

      You need review what you post when you hit "Preview." It should read: "This is Slashdot. If anyone got it, they probably shouldn't be here ;o)"

    3. Re:Translation for those who still don't get it... by Anonymous Coward · · Score: 3, Insightful

      I disagree. Many of us are not native English speakers. What may be obvious to you phonetically doesn't have to be obvious to the rest of us. :)

      This being said, yes, that the explanation of the joke would be modded up is a bit sad, alright. ;)

    4. Re:Translation for those who still don't get it... by darkonc · · Score: 3, Insightful
      Don't you feel that the joke loses its appeal when you have to explain it?

      It takes at least 3 people to make for a really good joke:

      1. One person to tell it
      2. One person to get it
      3. One perdon to laugh at for just missing the whole point.
      #3 is a little bit less obvious when the joke telling is online.
      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
  16. Telephony by Anonymous Coward · · Score: 2, Interesting

    So how long before this is integrated with Asterix for voice activated linux telephone apps?

    Michael

    1. Re:Telephony by dalabrat · · Score: 3, Informative

      December 2003 http://www.voip-info.org/wiki-Sphinx

  17. Re:Interesting side note by Anonymous Coward · · Score: 2, Funny

    Unfortunately, your professors didn't teach you a thing about scams. Stop promoting a pyramid scheme!

  18. Sphinx 2 by PiGuy · · Score: 5, Informative

    "There is no speech-recognition system available for Linux, which is a big gap."

    Um, Sphinx 2 (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 for Sphinx 2 I wrote).

    1. Re:Sphinx 2 by Ndr_Amigo · · Score: 2, Informative

      The speaker-independency of Sphinx2 is debable, I have never been able to get a single successful word recognised :)

  19. Speech recognition by CastrTroy · · Score: 4, Interesting

    Speech recognition is one of the worst means of input there is for a computer. Keyboards work so much better. Even for those who don't have full use of their hands, there are many other options for user input, all of which are better than speech recognition. Worst thing ever is someone trying to use speech input in a cubicle environment.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    1. Re:Speech recognition by NanoGator · · Score: 2, Informative

      "Speech recognition is one of the worst means of input there is for a computer. Keyboards work so much better."

      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 interesting on simplified devices, though. I have a TabletPC. In Tablet mode, the kb is tucked under the screen. I have stylus buttons for copy/paste etc, but the voice recognition works better. (Although, as with your cubicle comment, my gf found that annoying.)

      It's a lot easier to find problems with something than it is to find good aspects of it. I dunno why this comment was modded 'intresting'.

      --
      "Derp de derp."
  20. Obligatory Commercial Break by Noksagt · · Score: 5, Funny

    Woman: [dictating into cell phone] To: Mike. I had fun last night.
    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!!!

  21. Another alternative: HTK by j.leidner · · Score: 2, Informative
    Dear anonymous,

    Maybe you like the Cambridge HTK better, then ;-)

    --
    Try Nuggets , the mobile search engine. We answer your questions via SMS, across the UK.

  22. Never a huge fan... by ImaLamer · · Score: 3, Insightful

    I've used a few packages for speech recognition but none really got me too excited. Well, Dragon Naturally Speaking did have me read a few chapters of Dave Berry to it. I bet it didn't work because of all the laughing, I was in tears.

    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.

    1. Re:Never a huge fan... by jwsd · · Score: 3, Insightful

      It seems to be the rule that the really smart ones tend to work with open source software...

      Or it seems to be the rule that those who work with open source software tend to think they are the really smart ones...

    2. Re:Never a huge fan... by mollymoo · · Score: 2, Insightful
      It seems to be the rule that the really smart ones tend to work with open source software...

      Or it seems to be the rule that those who work with open source software tend to think they are the really smart ones...

      Or it seems to be the rule that it's only the open-source developers we hear from directly, without being filtered through a bunch of marketroids.

      --
      Chernobyl 'not a wildlife haven' - BBC News
  23. OT Star Wars Nitpick by Anonymous Coward · · Score: 5, Informative

    Hey moron, it's R2D2 that beep-booped. C3PO was fluent in over 6 million forms of communication. ;-)

  24. Re:Speech Recognition is a Mature Technology. by lawpoop · · Score: 3, Funny
    Because it's hard to get a computer to wreck a nice beach

    Ba-dum-dum ding!

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
  25. Argh! by kaffiene · · Score: 2, Funny

    Resist! It's SUN trying to ruin Linux and OS again!
    It even uses Java!!!! Slashbots must fight back!

  26. Obviously by Moderation+abuser · · Score: 5, Funny

    "This data was collected on a dual CPU UltraSPARC(R)-III running at 1015 MHz with 2G of memory."

    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.

    --
    Government of the people, by corporate executives, for corporate profits.
  27. Good Success by billdar · · Score: 2, Informative
    I've been using sphinx for about a year or so now for a linux-base home automation project. I must say that it has worked out very well for me so far.

    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.

    --
    I am billdar, and I approve this message.
  28. no more music by kongit · · Score: 3, Funny

    Guess I won't be listening to music when root anymore. In fact I am sound proofing my room to keep the noises from infiltrating my microphone and causing me to accidently delete /home

  29. Re:The Myth Must Die by nihilogos · · Score: 4, Funny

    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++.

    And many studies have shown that going with Microsoft software is cheaper than going with open sourced software.

    --
    :wq
  30. WTF! by Bricklets · · Score: 2

    What is the problem? Speech recognition is a mature technology, and algorithms for speech recognition are well documented in the research journals. ... If you want to code some speech recognition software for Linux, just get a good book on C# ... and photocopy some relevant papers from the IEEE Transaction journals.

    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 compiler for Linux, just get a good book on C# and download the API off of Sun's website.

    You're reasoning is all wrong. Plus I'm still scratching my head on why you recommended C# over Java on LINUX.

    --
    Little Bricklets
  31. There's more than one kind of overhead. by argent · · Score: 5, Insightful

    I could easily live with 10-15% slower, IF Java didn't have the startup overhead. I can run inetd-style fork-exec-terminate servers in C on CPUs that a cellphone would spit on, and handle hundreds of connections a second. Bringing up a JVM on the same processor would take minutes. Bringing up a JIT runtime would be out of the question.

    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".

    1. Re:There's more than one kind of overhead. by LarryRiedel · · Score: 3, Informative
      I can run inetd-style fork-exec-terminate servers in C on CPUs that a cellphone would spit on, and handle hundreds of connections a second. Bringing up a JVM on the same processor would take minutes.
      [...]
      if it takes 10s to start up a JVM your customer's already hit "back".

      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.

      Browser plugins? For content, yes, but not for navigation.

      The overhead of starting a JVM should be incurred only once per browsing session.

      Larry

    2. Re:There's more than one kind of overhead. by argent · · Score: 2, Insightful

      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.

      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 a JVM should be incurred only once per browsing session.

      I would hope that it didn't re-use the same JVM for applets from separate websites! I'm less than enthused about the Java applet security model as it is (OK, it's a couple of decimal orders of magnitude better than ActiveX, but that's hardly a rousing endorsement), and expecting it to run multiple security domains in the same JVM entirely fails to be my cup of tea.

  32. with with source source by dhart · · Score: 2, Funny



    Open Source Speech Recognition - With Source

    Does it come "with au jus sauce" ?

    Would that make it "with with source source" ?

  33. And lo, the point was missed... by DarkMan · · Score: 4, Insightful

    You are, of course, perfectly correct in everything you said.

    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.

  34. Rolling your own speech recognition isn't so easy by belmolis · · Score: 4, 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.

  35. nifty desktop control with sphinx and festival by Danny+Rathjens · · Score: 4, Interesting
    http://perlbox.sourceforge.net/

    The very small vocabulary needed for desktop control makes the speech recognition much more accurate and usable.

  36. I used to work for MacSpeech, doing UI work by notthepainter · · Score: 5, Insightful
    And before that, I worked for Articulate Systems, also doing UI work.

    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.

  37. Why speech recognition on Linux will kill Windows by MarsF · · 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...



  38. Re:Why speech recognition on Linux will kill Windo by bugeye1959 · · Score: 2, Interesting

    Yea, we will all speak BASH. Seriously, the real problem is not speech recognition, it is in the area of speech understanding. A good example from an SR book from my college days.. "Please plant some more tulips." or was it... "Please plan sum ore two lips." It is not a trivial computer problem to resolve this. In fact, I would venture to say that once you have an algorythm to resolve the above then you probably also have a "sentient" computer that can pass the Turing test. That would be pretty sweet as you will have solved many of other problems in the world.

  39. The issue is Javas footprint and integration by Ndr_Amigo · · Score: 4, Insightful

    While I've been waiting for Sphinx to mature into something useful for a long time now, the move to Java makes the whole package pretty useless to me.

    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 :P

    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.

  40. Re:Rolling your own speech recognition isn't so ea by starm_ · · Score: 2, Informative

    Thats true. It is an underestimated problem. People assume that we can recognise a word by using just the sound of it. That is simply not true. When speaking at a reasonable speed humans do not utter words clearly. This is not a problem to us because we can guess the words by using context and semantics.

    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 this. The system has to analyse sound, morphology, syntax, semantics and pragmatics. Each level contains ambiguity but when two levels are combined together some ambiguity is resolved and you get another piece of the puzzle. When everything is combined the ambiguous parts all converge towards the right meaning, the right syntax, the right morphology and in the case of speech to text, the right choice of word and spelling.

    Now to do all that you ideally need sophisticated knowledge representation based on cognitive science and the way we think. Although, there exists tricks and shortcuts that can mimic the important parts of the cognitive system, there isn't any complete system that integrate everything well.

    Anyways if you want a summary of the field read the textbook: "SPEECH AND LANGUAGE PROCESSING" from Daniel Jurafsky & James H. Martin

    And search on google for "computational linguistics" "word grammar" "open mind common sense" "cyc" "Ray Jackendoff"

  41. Benchmarks are TIGHT LOOPS with no GC !! by Gopal.V · · Score: 3, Interesting

    > It's amazing that the myth of Java being slow is so persistant

    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.

  42. Convert to C easily with ALMA by samjam · · Score: 3, Informative

    Alma.

    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:ww w.memoire.com/guillaume-desnoix/alma/+&hl=en

  43. I am sick of these "Java sucks" comments by janoc · · Score: 3, Insightful
    Hello, did actually any of you Java bashers actually try the Sphinx4 engine ? I tried it and it is pretty good. Actually a lot better (faster and more accurate) than the older Sphinx2 engine which was written in *gasp* C! Or are we bashing a project just because it is written in "slow and bloated" Java ?

    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.

  44. Frustrated Java detractors... by patniemeyer · · Score: 2, Interesting

    Every year the Java naysayers get more and more frustrated and more desperate to find a reason that Java just won't do. For years it was that Java was too slow... that one was true for about 18 months in 1995. Well, maybe now that we can do crypto in Java, play DOOM in Java, and do speech recognition in Java we can finally put it to rest.

    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 classes. Also think about the fact that all that work the HotSpot engine does to optimize things at runtime just gets thrown away every time the VM restarts and ask - why?

    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates

  45. Google, schmoogle, there are better ways! by leonbrooks · · Score: 2, Informative

    WayBack has it.

    I've also mirrored the source Just In Case (that's an ADSL link, you'd be better off downloading it directly from WayBack).

    --
    Got time? Spend some of it coding or testing
  46. Part of Galaxy Communicator by mattr · · Score: 2, Informative
    Wow that is great that Sphinx-4 is open! A-And guess what, Galaxy Communicator also has snuck onto sourceforge too, quietly, a year ago. A year or so ago I had written one of the partners to try to get a copy with no reply.. but some googling found it. Most slashdotters probably don't know Galaxy but it is the same partners - CMU, MITRE, DARPA etc. It is the plug and play hub for related technologies. This stuff has been used to make voice-recognizing automated telephone information services for weather and flight info I believe. Well what I found on sourceforge is 2002-2003 version (when grant ran out?) and has a list of modules which could use some updating i.e. about how Sphinx-4 is available. So can we expect a new Galaxy Communicator distro? I always had trouble finding out about it because each participating institution had their own site, their own distro, some focusing on different things, etc. I remember looking at CMU and I think Colorado U., anyway.

    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?

  47. Strangle me, I guess by HeaththeGreat · · Score: 2, Insightful

    I built a few client apps that were deployed on a few different VM versions, though most were Win32 (1.3, 1.4, 1.4.2). I deployed to Macs without a problem.

    Development was a snap, I got the whole application off the ground with relatively little problems because of the usefulness of Java's built-in API. Of course, when performance tuning I did rewrite the functionality of some of those API classes, but I'm sure you have to do that in any language.

    Yes, the MS JVM is total crap, but that's what Sun got a huge settlement for. It was put in place by Microsoft in an attempt to shut down Java with a crappy install base.

    Java is all about following standards. As long as you do that, your apps run pretty well.

    This app that I wrote required a lot of Swing specialization and user interaction, displayed custom images, etc. It wasn't a trivial application.

    So, I guess my question is, do you guys just not follow the standards? What is it that you're doing to break your apps so much?

    Someone was talking about using lightweight components with heavyweight components, which I know from experience is a real beast to get working, but other than that, what is it exactly that's breaking all the time?

    I'm talking about client-side apps here. I haven't used an applet in forever. Most applications on the web are jsp apps, so you are totally shielded from its Javaness.

  48. Not your fault, then. by HeaththeGreat · · Score: 2, Insightful

    Though I responded to your thread, it was more of a question to the general populace.

    If you didn't design the app, then its not your fault, is it?

    The solution to your problem is to call the developer and complain. If they don't do anything about it, then your solution is to switch applications.

    The reason that Java is perceived as a bad platform compared to Windows is that Sun's engineers don't go through all of the major applications written in Java and re-engineer the platform to behave as each application expected.

    That is, if you write an app that inadvertantly depends on non-standard behavior in SP1, and it becomes really popular, MS will generally make it so that SP2 behaves the same way that SP1 did for your application. This is because users will largely blame MS for the app's problems and not the developer that didn't follow standards in the first place.

    There was a story about this practice a while ago and how it might be changing with Longhorn.

    Anyways, the point is that if you don't follow the standards Sun isn't going to save you. That might be detrimental to their image, but its not really their fault. Its users like you that don't know any better that perpetuate this misconception.