设立开罗项目

时间:2012-07-16 12:56:42

标签: speech-recognition cairo

我正在尝试设置Cairo-0.3项目并且我的rserver.sh,receiver.sh和transmitter.sh成功运行但是当我尝试运行时执行demo-recog.sh(cairo中的一个演示程序)我明白了:

Received an unhandled SIP response status code (ignoring it): 183 : Session progress

2012-07-16 18:01:31,931 INFO  {main} org.speechforge.cairo.demo.recog.RecognitionClient
 Received the SIP Response.  
2012-07-16 18:01:31,931 INFO  {main} org.speechforge.cairo.demo.recog.RecognitionClient  
  invite : org.speechforge.cairo.sip.SdpMessage@1e61363  
java.lang.NullPointerException  
2012-07-16 18:01:32,067 WARN  {Thread-7} org.speechforge.cairo.rtp.RTPPlayer  
 playSource(): encountered unexpected exception:    
javax.media.NoDataSourceException: Error instantiating class:   com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException  
    at javax.media.Manager.createDataSource(Manager.java:1012)  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:110)  
    at org.speechforge.cairo.rtp.NativeMediaClient$TransmitThread.run(NativeMediaClient.java:105)
 Exception in thread "Thread-7" java.lang.RuntimeException: playSource() encountered unexpected exception  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:153)  
    at org.speechforge.cairo.rtp.NativeMediaClient$TransmitThread.run(NativeMediaClient.java:105)
Caused by: javax.media.NoDataSourceException: Error instantiating class:   com.sun.media.protocol.dsound.DataSource : java.lang.NullPointerException  
    at javax.media.Manager.createDataSource(Manager.java:1012)  
    at org.speechforge.cairo.rtp.RTPPlayer.playSource(RTPPlayer.java:110)  
    ... 1 more  
2012-07-16 18:01:42,085 WARN  {main} org.speechforge.cairo.demo.recog.RecognitionClient
 org.mrcp4j.client.MrcpInvocationException: MRCP response contains an error code, the request invocation did not complete successfully.

org.mrcp4j.client.MrcpInvocationException: MRCP response contains an error code, the request invocation did not complete successfully.  
    at org.mrcp4j.client.MrcpChannel.sendRequest(MrcpChannel.java:143)
    at   org.speechforge.cairo.demo.recog.RecognitionClient.doRecognize(RecognitionClient.java:163)
    at   org.speechforge.cairo.demo.recog.RecognitionClient.main(RecognitionClient.java:346)

2012-07-16 18:01:42,091 INFO  {main} org.speechforge.cairo.sip.SimpleSipAgent
 Sent a SIP BYE.

我无法理解我在这里做错了什么。

1 个答案:

答案 0 :(得分:0)

您需要安装和配置Java Media Framework才能运行此软件。请参阅自述文件中的安装说明:

  

安装

     
      
  1. 提取开罗   要安装Cairo,请将二进制分发存档中的所有文件解压缩到ch
  2. 的目录中   
  3. 下载并安装JMF 2.1.1 Cairo需要Java Media Framework(JMF)版本2.1.1。可以在这里下载:
      http://java.sun.com/products/java-media/jmf/2.1.1/download.html
      下载并运行与您的特定对应的JMF安装程序   操作系统。这将
  4.   
相关问题