Compacted libs and made the code Java 7 compliant
Former-commit-id: 5ef92c478a977c02158a9829ae78972654f93873
This commit is contained in:
parent
9b9774e150
commit
5f28b017f7
797 changed files with 5 additions and 182054 deletions
2
src/se/koc/hal/plugin/localsensor/ImpulseTracker.java
Normal file → Executable file
2
src/se/koc/hal/plugin/localsensor/ImpulseTracker.java
Normal file → Executable file
|
|
@ -97,7 +97,7 @@ public class ImpulseTracker implements Runnable {
|
|||
}
|
||||
}
|
||||
|
||||
private void save(long timestamp_end, int data){
|
||||
private void save(final long timestamp_end, final int data){
|
||||
executorPool.execute(new Runnable(){
|
||||
@Override
|
||||
public void run() {
|
||||
|
|
|
|||
|
|
@ -41,11 +41,11 @@ public class Sphinx4STTClient implements HalSpeachToText {
|
|||
Configuration configuration = new Configuration();
|
||||
|
||||
// Set path to acoustic model.
|
||||
configuration.setAcousticModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us");
|
||||
configuration.setAcousticModelPath("resource:/sphinx-models/en-us");
|
||||
// Set path to dictionary.
|
||||
configuration.setDictionaryPath("resource:/edu/cmu/sphinx/models/en-us/cmudict-en-us.dict");
|
||||
configuration.setDictionaryPath("resource:/sphinx-models/cmudict-en-us.dict");
|
||||
// Set language model.
|
||||
configuration.setLanguageModelPath("resource:/edu/cmu/sphinx/models/en-us/en-us.lm.dmp");
|
||||
configuration.setLanguageModelPath("resource:/sphinx-models/en-us.lm.dmp");
|
||||
|
||||
try {
|
||||
recognizer = new LiveSpeechRecognizer(configuration);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue