Skip to content

Commit

Permalink
preparing for next release
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre Lison committed Apr 5, 2016
1 parent f0aec95 commit d661f9b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ sourceSets {
java {
srcDirs 'src'
exclude 'opendial/plugins/GoogleASR.java'
exclude 'opendial/plugins/Nao*'
// exclude 'opendial/plugins/Nao*'
}
}
test {
Expand All @@ -62,10 +62,10 @@ dependencies {
// compile group: 'de.dfki.mary', name: 'voice-cmu-slt-hsmm', version: '5.2-beta2'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.2'
compile group: 'edu.cmu.sphinx', name: 'sphinx4-core', version:'5prealpha-SNAPSHOT'
// compile group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
// compile group: 'edu.cmu.sphinx', name: 'sphinx4-data', version:'5prealpha-SNAPSHOT'
compile group: 'org.maltparser', name: 'maltparser', version:'1.8.1'
compile group: 'edu.stanford.nlp', name: 'stanford-corenlp', version:'3.5.2'
compile name: 'att-codekit'
// compile name: 'qimessaging'
compile name: 'exp4j'
testCompile group:'junit', name: 'junit', version: '4.+'
}
Expand Down
2 changes: 1 addition & 1 deletion src/opendial/DialogueSystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
*
* @author Pierre Lison ([email protected])
*
*/
*/
public class DialogueSystem {

// logger
Expand Down
2 changes: 1 addition & 1 deletion src/opendial/gui/GUIFrame.java
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ public void saveDomain(File fileToWrite) {
*/
public void resetInteraction() {
chatTab.reset();
addComment("Reinitialiting interaction...");
addComment("Reinitialising interaction...");
system.changeDomain(system.getDomain());
refresh();
stateMonitorTab.reset(system.getState());
Expand Down
4 changes: 3 additions & 1 deletion src/opendial/plugins/MaryTTS.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,14 @@ public MaryTTS(DialogueSystem system) {
tts = new LocalMaryInterface();
}
catch (MaryConfigurationException e) {
e.printStackTrace();
throw new RuntimeException("Cannot start Mary TTS: " + e);

}
this.system = system;
system.enableSpeech(true);
}

/**
* Starts the TTS engine.
*/
Expand Down
4 changes: 2 additions & 2 deletions test/opendial/domains/TemplateStringTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public void functionsTest() {
public void realFunctionTest() {
Function<List<String>, Value> add = l -> ValueFactory
.create(l.stream().mapToDouble(v -> Double.parseDouble(v)).sum());
Settings.addFunction("add", add, 1);
Settings.addFunction("add", add);

Function<List<String>, Value> substract = l -> {
double result = Double.parseDouble(l.get(0));
Expand All @@ -350,7 +350,7 @@ public void realFunctionTest() {
}
return ValueFactory.create(result);
};
Settings.addFunction("substract", substract, 1);
Settings.addFunction("substract", substract);

Template t = Template.create("add({X},{Y})");

Expand Down

0 comments on commit d661f9b

Please sign in to comment.