Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Speech Dictation

Speech Dictation

Scheduled Pinned Locked Moved Visual Basic
helpcsharpquestion
5 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AbrahamMOKDAD
    wrote on last edited by
    #1

    Gud Day all I've been trying to solve this problem for quite some time now...I hope someone might have a clue or at least a place where I can learn more about the issue; you see I've managed to make the speech dictation provided by MS to work using VB.NET, and it writes everything perfectly; what I'm trying to do is disable the grammar and the vocabulary list, since it is using the English words; what I want to do is basically type out what the user says with out forming up the correct word; or let me say type the combination of phonemes... any ideas? thnx in advance Regards Abraham

    L 1 Reply Last reply
    0
    • A AbrahamMOKDAD

      Gud Day all I've been trying to solve this problem for quite some time now...I hope someone might have a clue or at least a place where I can learn more about the issue; you see I've managed to make the speech dictation provided by MS to work using VB.NET, and it writes everything perfectly; what I'm trying to do is disable the grammar and the vocabulary list, since it is using the English words; what I want to do is basically type out what the user says with out forming up the correct word; or let me say type the combination of phonemes... any ideas? thnx in advance Regards Abraham

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      AbrahamMOKDAD wrote:

      you see I've managed to make the speech dictation provided by MS to work

      Which translates sound into known words.

      AbrahamMOKDAD wrote:

      or let me say type the combination of phonemes...

      Sounds aren't mapped to a phoneme by the SAPI. Phonemes can't be interpreted, and can't be mapped to a series of characters. A single letter has a different sound in a different language, and there is no version that tries to map "generic sounds" to a generic alphabet. An alternative would be to record the sounds yourself (DirectInput) and use AI-algo to classify it (to map the sound to a/a serie of chars) The latter option is quite a challenge, I suppose. I hope that someone else posts an answer that I missed :)

      I are Troll :)

      A 1 Reply Last reply
      0
      • L Lost User

        AbrahamMOKDAD wrote:

        you see I've managed to make the speech dictation provided by MS to work

        Which translates sound into known words.

        AbrahamMOKDAD wrote:

        or let me say type the combination of phonemes...

        Sounds aren't mapped to a phoneme by the SAPI. Phonemes can't be interpreted, and can't be mapped to a series of characters. A single letter has a different sound in a different language, and there is no version that tries to map "generic sounds" to a generic alphabet. An alternative would be to record the sounds yourself (DirectInput) and use AI-algo to classify it (to map the sound to a/a serie of chars) The latter option is quite a challenge, I suppose. I hope that someone else posts an answer that I missed :)

        I are Troll :)

        A Offline
        A Offline
        AbrahamMOKDAD
        wrote on last edited by
        #3

        Thnx Eddy :thumbsup: ; and if you may; is it possible using SAPI to dictate the english letters; let us say if the user says "parlon" it would be written as said or close to it; not necessarily makes sense. any thoughts on that?

        L 1 Reply Last reply
        0
        • A AbrahamMOKDAD

          Thnx Eddy :thumbsup: ; and if you may; is it possible using SAPI to dictate the english letters; let us say if the user says "parlon" it would be written as said or close to it; not necessarily makes sense. any thoughts on that?

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          AbrahamMOKDAD wrote:

          nd if you may; is it possible using SAPI to dictate the english letters;

          Yup, but then you'd be spelling each word, e.g. "Hotel Echo Lima Lima Oscar" for "Hello".

          AbrahamMOKDAD wrote:

          let us say if the user says "parlon" it would be written as said or close to it; not necessarily makes sense.

          That's what happens when you try an English word; it tries to map the sounds to match up to the sounds of a known word. You could start at the .NET classes for speech recognition, in the System.Speech.Recognition[^] namespace. There's also a cool example right here on CodeProject[^].

          I are Troll :)

          A 1 Reply Last reply
          0
          • L Lost User

            AbrahamMOKDAD wrote:

            nd if you may; is it possible using SAPI to dictate the english letters;

            Yup, but then you'd be spelling each word, e.g. "Hotel Echo Lima Lima Oscar" for "Hello".

            AbrahamMOKDAD wrote:

            let us say if the user says "parlon" it would be written as said or close to it; not necessarily makes sense.

            That's what happens when you try an English word; it tries to map the sounds to match up to the sounds of a known word. You could start at the .NET classes for speech recognition, in the System.Speech.Recognition[^] namespace. There's also a cool example right here on CodeProject[^].

            I are Troll :)

            A Offline
            A Offline
            AbrahamMOKDAD
            wrote on last edited by
            #5

            Thanx Eddy ^^

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups