【问题标题】:Continuous voice recognition using pocketsphinx使用pocketsphinx进行连续语音识别
【发布时间】:2016-05-04 08:38:47
【问题描述】:

我是一家从事人工智能和相关项目的公司的实习生。我被分配了一个教学平板安卓项目,其中玩家可以使用语音与游戏进行交流。所以我一直在探索支持使用 Java 进行连续语音识别的开源 API,我发现 cmu sphinx for android https://github.com/cmusphinx/pocketsphinx-android-demo.git 但 android 演示应用程序基于关键字搜索工作,但我希望引擎能够给我连续输出文本。我怎样才能解决这个问题?

【问题讨论】:

标签: android cmusphinx pocketsphinx


【解决方案1】:

根据句子修改你的语法文件和字典。

    public void onPartialResult(Hypothesis hypothesis) {

    if (hypothesis == null)
        return;

    String text = hypothesis.getHypstr();
   }

打印文本并根据您的选择进行修改。

【讨论】:

    猜你喜欢
    • 2013-06-07
    • 1970-01-01
    • 1970-01-01
    • 2023-04-06
    • 1970-01-01
    • 2011-03-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多