2016-04-26 64 views
1

我想提高我的知識和工作與聲音重組(語音到文本)。我從谷歌找到好的樣本,但我不知道我怎麼能用波斯語 - 波斯語來做這些事情?我用英語來做,但波斯語怎麼樣?是否需要在我的手機安卓手機中進行一些設置?有誰這樣做?波斯語言在android中的文本

Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); 
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, 
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); 
startActivityForResult(intent, REQUEST_CODE); 

回答

2

我發現它。 使用此代碼:

Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); 
       intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, 
         RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); 
       startActivityForResult(intent, REQUEST_CODE); 

瞭解更多信息: http://appinapps.com/Articles_View.aspx?t=%u0628%u0631%u0646%u0627%u0645%u0647+%u0646%u0648%u06cc%u0633%u06cc+%u067e%u06cc%u0634%u0631%u0641%u062a%u0647+%u0627%u0646%u062f%u0631%u0648%u06cc%u062f+%u062c%u0644%u0633%u0647+%u06cc%u0627%u0632%u062f%u0647%u0645&aid=118&gid=11

最良好的祝願!

相關問題