TIẾNG VIỆT

  VSpeech SDK
 
Introduction
Features
How to use
Screenshots
Download
Contact us


How to use

This code illustrates some basic features of the library
-
      Initialize the library
-
      Create a new dictionary includes 4 words: Táo, Cam, Chanh, Dưa hấu
-
      Receive command from the user constantly and print to the output
-
      The application will be ended when receive command “Thoát”     

      CreateVSpeechLibrary();
      BeginDictionary("traicay", 1); //Using VIQR code table
      AddWord("ta'o");
      AddWord("cam");
      AddWord("chanh");
      AddWord("du+a ha^'u");
      AddWord("thoa't");
      EndDictionary();
      EnableDictionary("traicay");
      while (true)
      {
            string s = GetCommand();
            if (s != "")
            {
                  if (s == "thoa't") break;
                  Console.WriteLine("s");
            }
      }
      FreeVSpeechLibrary();







Copyright © 2004-2006 BK02 Team. All rights reserved.
VSpeech SDK is Free Software released under the LGPL License.