title: C# Get SpeechRecognitionEngine to recognize sentences
body: <p>If I give Microsoft's <code>SpeechRecognitionEngine</code> a <code>Grammar</code>, it will only recognize individual choices in that grammar instead of combinations of choices.</p>
  
  <p>Is there any built in way to get it to recognize combinations of choices instead of a single choice at a time without, adding that combination to the choices.</p>
  
  <p>----For example, have it recognize <code>"Open Firefox"</code>, instead of <code>"Open"</code> and then <code>"FIrefox"</code> </p>
  
  <p>Code below</p>
  
  <pre><code>namespace SpeachTest
  {
      public class MainClass
      {
          static void Main()
          {
          MainClass main = new MainClass(); 
          SpeechRecognitionEngine sre = new SpeechRecognitionEngine(new System.Globalization.CultureInfo("en-US"));
  
              Choices choiceList = new Choices();
  
              choiceList.Add(new string[]{"Hello", "Open", "Close", "Firefox"} );
              Grammar grammar = new Grammar(choiceList);
  
              sre.SpeechRecognized += main.sreEvent;
              sre.SetInputToDefaultAudioDevice();
              sre.LoadGrammar(grammar);
  
              sre.RecognizeAsync(RecognizeMode.Multiple);
              while(true){
              Console.ReadLine();
              }
          }
  
          void sreEvent(Object sender, SpeechRecognizedEventArgs e){
              Console.WriteLine(e.Result.Text);
      }
  }
  
  }
  </code></pre>
  
  <p>I know <code>DictationGrammar</code> would do this but I would like to avoid using due to the fact that is has low accuracy.</p>