我想導入javax.speech.recognition.Result;在我的代碼中。但我沒有找到類錯誤。 用javap檢查;如下: - C:\Documents and Settings\ankit.g>javap javax.speech.recognition.Result
Error: class not found: javax.speech.recognition.Result
我在我的應用程序中發現連續泄漏。使用內存分析器檢查後,我發現課程是某個對象從微軟Speech.Synthesizer 所以我建立了一個玩具項目,以驗證這一假設: //玩具爲例,說明在語音內存泄漏。合成對象 static void Main(string[] args)
{
string text = "hello world. This is a long sentence";
我想使用建立在講話中的Java,但是每當我嘗試使用它時,它會給我一個空指針異常,當我調用synth.allocate。我在例子在網上看了,但我仍然得到同樣的錯誤,我看不到我在做什麼錯 JButton button = new JButton();
button.addActionListener(new ActionListener(){
@Override
p