cmusphinx / sphinx4

Pure Java speech recognition library
cmusphinx.sourceforge.net
Other
1.4k stars 587 forks source link

java.lang.NoSuchMethodError: org.apache.commons.math3.linear.EigenDecomposition. #71

Closed cris7M closed 7 years ago

cris7M commented 7 years ago

SpeakerIdentification sd = new SpeakerIdentification(); File voiceFile = new File("output2.wav"); URL url = voiceFile.toURI().toURL(); System.out.println("url "+url); ArrayList clusters = sd.cluster(url.openStream());

Exception in thread "main" java.lang.NoSuchMethodError: org.apache.commons.math3.linear.EigenDecomposition.(Lorg/apache/commons/math3/linear/RealMatrix;)V edu.cmu.sphinx.speakerid.SpeakerIdentification.getBICValue(SpeakerIdentification.java:171) at edu.cmu.sphinx.speakerid.SpeakerIdentification.getPoint(SpeakerIdentification.java:126) at edu.cmu.sphinx.speakerid.SpeakerIdentification.getAllChangingPoints(SpeakerIdentification.java:151) at edu.cmu.sphinx.speakerid.SpeakerIdentification.cluster(SpeakerIdentification.java:195) at edu.cmu.sphinx.speakerid.SpeakerIdentification.cluster(SpeakerIdentification.java:185) at com.example.speaker.SpeakerIdentificationDemo.main(SpeakerIdentificationDemo.java:131)

please help me to solve this and can you please tell or give me some instruction to how to run speaker identification application.

Thanks in advance