Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7993835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T13:58:16+00:00 2026-06-04T13:58:16+00:00

I have been wanting to create an application using the Microsoft Speech Recognition. My

  • 0

I have been wanting to create an application using the Microsoft Speech Recognition.

My application’s users are expected to often say abbreviated things, such as ‘LHC’ for ‘Large Hadron Collider’ or ‘CERN’. Given that exact order, my application will return

You said: At age C.

You said: Cern

While it did work for ‘CERN’, it failed very badly for ‘LHC’.

However, if I could make my own custom training files, I could easily place the term ‘LHC’ somewhere in there. Then, I could make the user access the Speech Control Panel and run my training file.

All the links I have found for this have been frustratingly useless, as they just say things like ‘This is —-, you should try going to the —- forum instead’.

If it does help, here is a list of the links:

http://compgroups.net/comp.speech.users/add-my-own-training/153194

https://groups.google.com/forum/#!topic/microsoft.public.speech.server/v58SH1ov22s

http://social.msdn.microsoft.com/Forums/en/servercorefordevelopers/thread/f7a35f3f-b352-464a-b264-e16eb4afd049

Is my problem even possible? Or are the training files themselves in a special format? If so, can that format be reproduced?

A solution that can also work on Windows XP would be ideal.

Thanks in advance!

P.S. If there are any libraries or modules out there already for this, could anyone point me to some? A Python or C/C++ solution would be splendid. Also, since I’d rather not post another question regarding this, is it possible to utilize the train utilities from command prompt (or without the GUI visible, but still having total command of all controls)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T13:58:18+00:00Added an answer on June 4, 2026 at 1:58 pm

    Okay, pulling this from a thing I wrote three or four years ago now, but I believe you want to do something like this.

    The grammar library is a trained system which can recognize words. You can create your own grammar library cued to specific words.

    C#, sorry

    using System.Speech
    using System.Speech.Recognition
    using System.Speech.AudioFormat
    
    SpeechRecognitionEngine sre = new SpeechRecognitionEngine();
    
    string[] words = {"L H C", "CERN"};
    Choices choices = new Choices(words);
    GrammarBuilder gb = new GrammarBuilder(choices);
    Grammar grammar = new Grammar(gb);
    sre.LoadGrammar(grammar);
    

    That is as far as I can get you. From docs it looks like you can define the pronunciations somehow. So perhaps that way you could have LHC map directly to a single word. Here are the docs on the grammar class – http://msdn.microsoft.com/en-us/library/system.speech.recognition.grammar.aspx

    Small update – see example in their docs here http://msdn.microsoft.com/en-us/library/ms554228.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been using this script to create FTP accounts very successfully // your
I have been wanting to make a circular preloader in my iPhone app, but
Alrighty so, I've been wanting to learn C for awhile, and now I have
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only
I have built a blog application using Ruby on Rails. In the application I
I've been learning compiler theory and assembly and have managed to create a compiler
I've been wanting to work on this application for about a year now. I
I'm getting a bit confused with UIViews recently, I have been using them fine
I have been wanting to use a git command that saves a stash without
I have an application where I want two users to communicate with eachother.. This

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.