BlackBerry Chinese speech development: TTS Chinese speech conversion, voice commands

Source: Internet
Author: User

Ispeech.org provides free network services such as Chinese speech conversion (translation) and voice commands, and provides free BlackBerry SDK and example programs.

You can register for ispeech.org developer for free, apply for an API Key, download the example program, modify the API Key parameter, and change the English language to the Chinese language, test Chinese text reading on BlackBerry phone now! Chinese command recognition!

Example code modification instructions:
ISpeechSample. java
Public static String _ APIKey = "aaaa"; // A http://www.bkjia.com/index.php? M = content & c = content & a = edit & catid = 85 & id = 122577 & pc_hash = e6pUTC
TTSForm. java: read Chinese text, such
_ TxtInput. setText ("I love you, just like a mouse loves rice ");
If (_ choiceVoice. getSelectedIndex () = 0)
_ TTS. setVoice ("chchinesefemale ");
Else
_ TTS. setVoice ("chchinesemale ");
ASRListForm. java: for example, the Chinese command "Smile" and "Drive"
_ ASR. setLanguage ("zh-CN ");
_ ASR. addCommand ("Smile ");
_ ASR. addCommand ("Driving ");
Source code, compiled program (jad, cod) Here download: http://www.bkjia.com/uploadfile/2012/0310/20120310100310971.zip

From berryreload's blackberry development Column
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.