From 3a5100be7de8d8fb749d1fb23bc92b13273023c5 Mon Sep 17 00:00:00 2001 From: Laura Lahesoo Date: Fri, 17 Nov 2017 18:05:26 +0100 Subject: [PATCH 01/94] Initial version of MEMORY config. --- src/main/java/roboy/dialog/Config.java | 18 +++++++++++++++++- src/main/java/roboy/memory/Neo4jMemory.java | 10 +++++----- .../java/roboy/memory/nodes/Interlocutor.java | 8 ++++---- src/main/java/roboy/ros/RosMainNode.java | 2 +- src/main/java/roboy/ros/RosManager.java | 6 ++++++ 5 files changed, 33 insertions(+), 11 deletions(-) diff --git a/src/main/java/roboy/dialog/Config.java b/src/main/java/roboy/dialog/Config.java index c7e09f2b..2e5d7700 100644 --- a/src/main/java/roboy/dialog/Config.java +++ b/src/main/java/roboy/dialog/Config.java @@ -24,7 +24,8 @@ public enum ConfigurationProfile { DEFAULT("DEFAULT"), NOROS("NOROS"), STANDALONE("STANDALONE"), - DEBUG("DEBUG"); + DEBUG("DEBUG"), + MEMORY("MEMORY"); public String profileName; @@ -46,6 +47,9 @@ public enum ConfigurationProfile { public static boolean SHUTDOWN_ON_SERVICE_FAILURE = true; /** ROS hostname, will be fetched from the configuration file in the DEFAULT profile. */ public static String ROS_HOSTNAME = null; + /** If true, memory will be queried. Ensure that if NOROS=false, then MEMORY=true. + * When NOROS=true, MEMORY can be either true or false. **/ + public static boolean MEMORY = true; /** Configuration file to store changing values. */ private static String yamlConfigFile = "config.properties"; @@ -69,6 +73,9 @@ public Config(ConfigurationProfile profile) { case DEBUG: setDebugProfile(); break; + case MEMORY: + setMemoryProfile(); + break; default: setDefaultProfile(); } @@ -99,6 +106,7 @@ private void setNoROSProfile() { NOROS = true; SHUTDOWN_ON_ROS_FAILURE = false; SHUTDOWN_ON_SERVICE_FAILURE = false; + MEMORY = false; } private void setStandaloneProfile() { @@ -107,6 +115,7 @@ private void setStandaloneProfile() { NOROS = true; SHUTDOWN_ON_ROS_FAILURE = false; SHUTDOWN_ON_SERVICE_FAILURE = false; + MEMORY = false; } private void setDebugProfile() { @@ -114,6 +123,13 @@ private void setDebugProfile() { SHUTDOWN_ON_SERVICE_FAILURE = false; } + private void setMemoryProfile() { + NOROS = true; + SHUTDOWN_ON_ROS_FAILURE = false; + SHUTDOWN_ON_SERVICE_FAILURE = false; + MEMORY = true; + } + private void initializeYAMLConfig() { this.yamlConfig = new YAMLConfiguration(); try diff --git a/src/main/java/roboy/memory/Neo4jMemory.java b/src/main/java/roboy/memory/Neo4jMemory.java index ab4ca2b5..c9441f7d 100644 --- a/src/main/java/roboy/memory/Neo4jMemory.java +++ b/src/main/java/roboy/memory/Neo4jMemory.java @@ -55,7 +55,7 @@ public static Neo4jMemory getInstance() @Override public boolean save(MemoryNodeModel node) throws InterruptedException, IOException { - if(Config.NOROS) return false; + if(!Config.MEMORY) return false; String response = rosMainNode.UpdateMemoryQuery(node.toJSON(gson)); if(response == null) return false; return(response.contains("OK")); @@ -69,7 +69,7 @@ public boolean save(MemoryNodeModel node) throws InterruptedException, IOExcepti */ public MemoryNodeModel getById(int id) throws InterruptedException, IOException { - if(Config.NOROS) return new MemoryNodeModel(); + if(!Config.MEMORY) return new MemoryNodeModel(); String result = rosMainNode.GetMemoryQuery("{'id':"+id+"}"); if(result == null || result.contains("FAIL")) return null; return gson.fromJson(result, MemoryNodeModel.class); @@ -83,7 +83,7 @@ public MemoryNodeModel getById(int id) throws InterruptedException, IOException */ public ArrayList getByQuery(MemoryNodeModel query) throws InterruptedException, IOException { - if(Config.NOROS) return new ArrayList<>(); + if(!Config.MEMORY) return new ArrayList<>(); String result = rosMainNode.GetMemoryQuery(query.toJSON(gson)); if(result == null || result.contains("FAIL")) return null; Type type = new TypeToken>>() {}.getType(); @@ -93,7 +93,7 @@ public ArrayList getByQuery(MemoryNodeModel query) throws InterruptedEx public int create(MemoryNodeModel query) throws InterruptedException, IOException { - if(Config.NOROS) return 0; + if(!Config.MEMORY) return 0; String result = rosMainNode.CreateMemoryQuery(query.toJSON(gson)); // Handle possible Memory error message. if(result == null || result.contains("FAIL")) return 0; @@ -110,7 +110,7 @@ public int create(MemoryNodeModel query) throws InterruptedException, IOExceptio */ public boolean remove(MemoryNodeModel query) throws InterruptedException, IOException { - if(Config.NOROS) return false; + if(!Config.MEMORY) return false; //Remove all fields which were not explicitly set, for safety. query.setStripQuery(true); String response = rosMainNode.DeleteMemoryQuery(query.toJSON(gson)); diff --git a/src/main/java/roboy/memory/nodes/Interlocutor.java b/src/main/java/roboy/memory/nodes/Interlocutor.java index 42f46229..fe60da47 100644 --- a/src/main/java/roboy/memory/nodes/Interlocutor.java +++ b/src/main/java/roboy/memory/nodes/Interlocutor.java @@ -16,12 +16,12 @@ public class Interlocutor { Neo4jMemory memory; public boolean FAMILIAR = false; // Memory is not queried in NOROS mode. - private boolean noROS; + private boolean memoryROS; public Interlocutor() { this.person = new MemoryNodeModel(true); this.memory = Neo4jMemory.getInstance(); - this.noROS = Config.NOROS; + this.memoryROS = Config.MEMORY; } /** @@ -35,7 +35,7 @@ public void addName(String name) { person.setProperty("name", name); person.setLabel("Person"); - if(!noROS) { + if(memoryROS) { ArrayList ids = new ArrayList<>(); // Query memory for matching persons. try { @@ -81,7 +81,7 @@ public boolean hasRelation(Neo4jRelations type) { * Adds a new relation to the person node, updating memory. */ public void addInformation(String relation, String name) { - if(noROS) return; + if(!memoryROS) return; ArrayList ids = new ArrayList<>(); // First check if node with given name exists by a matching query. MemoryNodeModel relatedNode = new MemoryNodeModel(true); diff --git a/src/main/java/roboy/ros/RosMainNode.java b/src/main/java/roboy/ros/RosMainNode.java index 2e2a0a63..668ad67d 100644 --- a/src/main/java/roboy/ros/RosMainNode.java +++ b/src/main/java/roboy/ros/RosMainNode.java @@ -28,7 +28,7 @@ public class RosMainNode extends AbstractNodeMain { public RosMainNode() { // Ctor is called but should not be initialized offline. - if (Config.NOROS) return; + if (Config.NOROS && !Config.MEMORY) return; clients = new RosManager(); diff --git a/src/main/java/roboy/ros/RosManager.java b/src/main/java/roboy/ros/RosManager.java index 105ad090..c9449391 100644 --- a/src/main/java/roboy/ros/RosManager.java +++ b/src/main/java/roboy/ros/RosManager.java @@ -24,6 +24,12 @@ boolean initialize(ConnectedNode node) { boolean success = true; // Iterate through the RosClients enum, mapping a client for each. for(RosClients c : RosClients.values()) { + // Do not initialize non-memory services if NOROS, but Memory! + if(Config.NOROS && Config.MEMORY) { + if (!c.address.contains("memory")) { + continue; + } + } try { clientMap.put(c, node.newServiceClient(c.address, c.type)); System.out.println(c.toString()+" initialization SUCCESS!"); From 06a433923348a06b32799112014e590073842a30 Mon Sep 17 00:00:00 2001 From: Wagram Airian Date: Fri, 17 Nov 2017 19:29:17 +0100 Subject: [PATCH 02/94] MEMORY configuration fixed --- config.properties | 2 +- src/main/java/roboy/dialog/Config.java | 1 + src/main/java/roboy/dialog/DialogSystem.java | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/config.properties b/config.properties index 3a05f4e0..8c637b1d 100644 --- a/config.properties +++ b/config.properties @@ -1 +1 @@ -ROS_HOSTNAME: 10.183.122.142 \ No newline at end of file +ROS_HOSTNAME: 10.183.56.157 \ No newline at end of file diff --git a/src/main/java/roboy/dialog/Config.java b/src/main/java/roboy/dialog/Config.java index 2e5d7700..cee296cf 100644 --- a/src/main/java/roboy/dialog/Config.java +++ b/src/main/java/roboy/dialog/Config.java @@ -128,6 +128,7 @@ private void setMemoryProfile() { SHUTDOWN_ON_ROS_FAILURE = false; SHUTDOWN_ON_SERVICE_FAILURE = false; MEMORY = true; + ROS_HOSTNAME = yamlConfig.getString("ROS_HOSTNAME"); } private void initializeYAMLConfig() { diff --git a/src/main/java/roboy/dialog/DialogSystem.java b/src/main/java/roboy/dialog/DialogSystem.java index b9bd9bde..3df2f81a 100644 --- a/src/main/java/roboy/dialog/DialogSystem.java +++ b/src/main/java/roboy/dialog/DialogSystem.java @@ -14,6 +14,7 @@ import roboy.io.*; import roboy.linguistics.sentenceanalysis.*; +import roboy.memory.Neo4jMemory; import roboy.talk.Verbalizer; import roboy.ros.RosMainNode; @@ -84,6 +85,8 @@ public static void main(String[] args) throws JsonIOException, IOException, Inte // initialize ROS node RosMainNode rosMainNode = new RosMainNode(); + // initialize Memory with ROS + Neo4jMemory.getInstance(rosMainNode); /* * I/O INITIALIZATION From 288b25efdc96c6464ffbe371df91a0946b8df6b4 Mon Sep 17 00:00:00 2001 From: Laura Lahesoo Date: Fri, 17 Nov 2017 19:46:17 +0100 Subject: [PATCH 03/94] MEMORY-ONLY configuration done. --- docs/Usage/4_configuration.rst | 6 ++++++ src/main/java/roboy/dialog/Config.java | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/Usage/4_configuration.rst b/docs/Usage/4_configuration.rst index cd11de00..95dd4b35 100644 --- a/docs/Usage/4_configuration.rst +++ b/docs/Usage/4_configuration.rst @@ -30,6 +30,12 @@ Profiles | | profile includes all restrictions of NOROS and also does not | | | call DBPedia. | +--------------------+-----------------------------------------------------------------+ +| MEMORY-ONLY | To be used during Memory development, when no other ROS services| +| | are running. Only Neo4j-related ROS calls will be made. | ++--------------------+-----------------------------------------------------------------+ +| DEBUG | With this setting, DM will run like DEFAULT but not shut down | +| | when ROS failures are encountered. | ++--------------------+-----------------------------------------------------------------+ Extending --------- diff --git a/src/main/java/roboy/dialog/Config.java b/src/main/java/roboy/dialog/Config.java index cee296cf..6d25377c 100644 --- a/src/main/java/roboy/dialog/Config.java +++ b/src/main/java/roboy/dialog/Config.java @@ -25,7 +25,7 @@ public enum ConfigurationProfile { NOROS("NOROS"), STANDALONE("STANDALONE"), DEBUG("DEBUG"), - MEMORY("MEMORY"); + MEMORY_ONLY("MEMORY-ONLY"); public String profileName; @@ -73,7 +73,7 @@ public Config(ConfigurationProfile profile) { case DEBUG: setDebugProfile(); break; - case MEMORY: + case MEMORY_ONLY: setMemoryProfile(); break; default: @@ -98,7 +98,6 @@ public static ConfigurationProfile getProfileFromEnvironment(String profileStrin /* PROFILE DEFINITIONS */ private void setDefaultProfile() { - STANDALONE = false; ROS_HOSTNAME = yamlConfig.getString("ROS_HOSTNAME"); } From 42cddaef31d9d59e18a0a3c3514c6a86f11bcc1f Mon Sep 17 00:00:00 2001 From: Laura Lahesoo Date: Sat, 18 Nov 2017 13:13:09 +0100 Subject: [PATCH 04/94] Fixed DEBUG configuration. --- src/main/java/roboy/dialog/Config.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/roboy/dialog/Config.java b/src/main/java/roboy/dialog/Config.java index 6d25377c..cd0b5796 100644 --- a/src/main/java/roboy/dialog/Config.java +++ b/src/main/java/roboy/dialog/Config.java @@ -120,6 +120,7 @@ private void setStandaloneProfile() { private void setDebugProfile() { SHUTDOWN_ON_ROS_FAILURE = false; SHUTDOWN_ON_SERVICE_FAILURE = false; + ROS_HOSTNAME = yamlConfig.getString("ROS_HOSTNAME"); } private void setMemoryProfile() { From 3885efc4e6a3c40df29a67e1703a9e4c7a979c93 Mon Sep 17 00:00:00 2001 From: Nikita Basargin Date: Sun, 19 Nov 2017 23:13:49 +0100 Subject: [PATCH 05/94] dependencies for word2vec --- pom.xml | 159 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 99 insertions(+), 60 deletions(-) diff --git a/pom.xml b/pom.xml index d249aab6..79fae72d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,8 +9,10 @@ Roboy Roboy Dialog System + - + + maven-compiler-plugin @@ -20,63 +22,65 @@ 2.3.2 - - maven-assembly-plugin - - - package - - single - - - - - - jar-with-dependencies - - - - true - lib/ - roboy.dialog.DialogSystem - - - - - - - jdeb - org.vafer - 1.5 - - - package - - jdeb - - - - - ${project.build.directory}/${project.build.finalName}.jar - file - - perm - /usr/share/jdeb/lib - - - - - - - + + maven-assembly-plugin + + + package + + single + + + + + + jar-with-dependencies + + + + true + lib/ + roboy.dialog.DialogSystem + + + + + + jdeb + org.vafer + 1.5 + + + package + + jdeb + + + + + ${project.build.directory}/${project.build.finalName}.jar + file + + perm + /usr/share/jdeb/lib + + + + + + + + resources + + @@ -91,14 +95,14 @@ http://repository.springsource.com/maven/bundles/external - - - true - - central - Central Repository - https://repo.maven.apache.org/maven2 - + + + true + + central + Central Repository + https://repo.maven.apache.org/maven2 + snapshots-repo @@ -117,37 +121,45 @@ + + org.apache.opennlp opennlp-tools 1.7.0 + com.google.code.gson gson 2.7 + commons-codec commons-codec 1.10 + edu.wpi.rail jrosbridge 0.2.0 + org.json json 20160810 + org.mobicents.external.freetts freetts 1.0 + junit junit @@ -171,7 +183,7 @@ sphinx4-core 5prealpha-SNAPSHOT - + edu.cmu.sphinx sphinx4-data @@ -208,7 +220,7 @@ com.springsource.org.apache.commons.logging - + org.ros.rosjava_bootstrap @@ -257,5 +269,32 @@ snakeyaml 1.18 + + + + org.deeplearning4j + deeplearning4j-nlp + 0.9.1 + + + + + org.nd4j + nd4j-native-platform + 0.9.1 + + + + + org.slf4j + + + + + slf4j-nop + 1.7.7 + + + \ No newline at end of file From 9c1bb7cd8fc250891200f579e650b70db92144c7 Mon Sep 17 00:00:00 2001 From: Nikita Basargin Date: Sun, 19 Nov 2017 23:41:23 +0100 Subject: [PATCH 06/94] getting toy data --- .gitignore | 4 +- .../linguistics/word2vec/ToyDataGetter.java | 71 +++++++++++++++++++ .../word2vec/Word2vecTrainingExample.java | 16 +++++ 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java create mode 100644 src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java diff --git a/.gitignore b/.gitignore index 463f3f0f..f4f33683 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,6 @@ local.properties *.idea -.target \ No newline at end of file +.target + +resources/word2vec_toy_data_and_model \ No newline at end of file diff --git a/src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java b/src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java new file mode 100644 index 00000000..305059cf --- /dev/null +++ b/src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java @@ -0,0 +1,71 @@ +package roboy.linguistics.word2vec; + +import java.io.File; +import java.io.FileOutputStream; +import java.io.IOException; +import java.net.URL; +import java.nio.channels.Channels; +import java.nio.channels.ReadableByteChannel; + +/** + * Utility class to load toy data from the internet if necessary. + * May be refactored into something bigger and more useful later. + */ +public class ToyDataGetter { + + private final boolean verbose; + private final String toyDataFilePath = "./resources/word2vec_toy_data_and_model/raw_sentences.txt"; + private final String toyDataInetURL = "https://raw.githubusercontent.com/deeplearning4j/dl4j-examples/master/dl4j-examples/src/main/resources/raw_sentences.txt"; + + + public ToyDataGetter(boolean verbose) { + this.verbose = verbose; + } + + + public String getToyDataFilePath() { + return toyDataFilePath; + } + + public void ensureToyDataIsPresent() { + + + // check if already downloaded + if (fileExists(toyDataFilePath)) { + if (verbose) System.out.println("Found data file (" + toyDataFilePath + ")"); + return; + } + + // need to download + try { + if (verbose) System.out.println("Data file is missing and will be downloaded to " + toyDataFilePath); + downloadData(toyDataInetURL, toyDataFilePath); + + } catch (IOException e) { + System.err.println("Sorry, couldn't download toy data! Exception: " + e.getMessage()); + if (verbose) { + e.printStackTrace(); + } + } + + } + + + private void downloadData(String fromURL, String toFilePath) throws IOException { + URL website = new URL(fromURL); + ReadableByteChannel rbc = Channels.newChannel(website.openStream()); + FileOutputStream fos = new FileOutputStream(toFilePath); + long bytesTransferred = fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); + + if (verbose) { + System.out.println("Download complete, saved " + bytesTransferred + " bytes to " + toFilePath); + } + + } + + private boolean fileExists(String filePath) { + File data = new File(filePath); + return data.exists(); + } + +} diff --git a/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java b/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java new file mode 100644 index 00000000..8fe9f7c1 --- /dev/null +++ b/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java @@ -0,0 +1,16 @@ +package roboy.linguistics.word2vec; + +public class Word2vecTrainingExample { + + public static void main(String[] args) { + + ToyDataGetter dataGetter = new ToyDataGetter(true); + dataGetter.ensureToyDataIsPresent(); + + String dataPath = dataGetter.getToyDataFilePath(); + + + } + + +} From 6014d5be172d32aeee9dc7fb010bb510db5f42a3 Mon Sep 17 00:00:00 2001 From: Nikita Basargin Date: Sun, 19 Nov 2017 23:55:40 +0100 Subject: [PATCH 07/94] simple word2vec model training example --- .../word2vec/Word2vecTrainingExample.java | 50 ++++++++++++++++++- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java b/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java index 8fe9f7c1..b0b50974 100644 --- a/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java +++ b/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java @@ -1,14 +1,60 @@ package roboy.linguistics.word2vec; +import org.deeplearning4j.models.word2vec.Word2Vec; +import org.deeplearning4j.text.sentenceiterator.BasicLineIterator; +import org.deeplearning4j.text.sentenceiterator.SentenceIterator; +import org.deeplearning4j.text.tokenization.tokenizer.preprocessor.CommonPreprocessor; +import org.deeplearning4j.text.tokenization.tokenizerfactory.DefaultTokenizerFactory; +import org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory; + +import java.util.Collection; + + +/** + * Neural net that processes text into wordvectors. + * Adapted from org.deeplearning4j.examples.nlp.word2vec.Word2VecRawTextExample + */ public class Word2vecTrainingExample { - public static void main(String[] args) { + public static void main(String[] args) throws Exception { ToyDataGetter dataGetter = new ToyDataGetter(true); dataGetter.ensureToyDataIsPresent(); - String dataPath = dataGetter.getToyDataFilePath(); + // load and preprocess data + + System.out.println("Load & Vectorize Sentences...."); + // Strip white space before and after for each line + SentenceIterator iter = new BasicLineIterator(dataPath); + // Split on white spaces in the line to get words + TokenizerFactory t = new DefaultTokenizerFactory(); + + /* + CommonPreprocessor will apply the following regex to each token: [\d\.:,"'\(\)\[\]|/?!;]+ + So, effectively all numbers, punctuation symbols and some special symbols are stripped off. + Additionally it forces lower case for all tokens. + */ + t.setTokenPreProcessor(new CommonPreprocessor()); + + + System.out.println("Building model...."); + Word2Vec vec = new Word2Vec.Builder() + .minWordFrequency(5) + .iterations(1) + .layerSize(100) + .seed(42) + .windowSize(5) + .iterate(iter) + .tokenizerFactory(t) + .build(); + + System.out.println("Fitting Word2Vec model...."); + vec.fit(); + + // Prints out the closest 10 words to "day". An example on what to do with these Word Vectors. + Collection lst = vec.wordsNearest("day", 10); + System.out.println("10 Words closest to 'day': " + lst); } From c58209aa37161a9de987321785d917358c7f0a11 Mon Sep 17 00:00:00 2001 From: Nikita Basargin Date: Mon, 20 Nov 2017 00:32:26 +0100 Subject: [PATCH 08/94] model uptraining example + some improvements in ToyDataGetter --- .../{ => examples}/ToyDataGetter.java | 12 +- .../Word2vecTrainingExample.java | 5 +- .../examples/Word2vecUptrainingExample.java | 108 ++++++++++++++++++ 3 files changed, 121 insertions(+), 4 deletions(-) rename src/main/java/roboy/linguistics/word2vec/{ => examples}/ToyDataGetter.java (85%) rename src/main/java/roboy/linguistics/word2vec/{ => examples}/Word2vecTrainingExample.java (95%) create mode 100644 src/main/java/roboy/linguistics/word2vec/examples/Word2vecUptrainingExample.java diff --git a/src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java b/src/main/java/roboy/linguistics/word2vec/examples/ToyDataGetter.java similarity index 85% rename from src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java rename to src/main/java/roboy/linguistics/word2vec/examples/ToyDataGetter.java index 305059cf..f3346c98 100644 --- a/src/main/java/roboy/linguistics/word2vec/ToyDataGetter.java +++ b/src/main/java/roboy/linguistics/word2vec/examples/ToyDataGetter.java @@ -1,4 +1,4 @@ -package roboy.linguistics.word2vec; +package roboy.linguistics.word2vec.examples; import java.io.File; import java.io.FileOutputStream; @@ -14,6 +14,7 @@ public class ToyDataGetter { private final boolean verbose; + private final String toyDataDirectory = "./resources/word2vec_toy_data_and_model/"; private final String toyDataFilePath = "./resources/word2vec_toy_data_and_model/raw_sentences.txt"; private final String toyDataInetURL = "https://raw.githubusercontent.com/deeplearning4j/dl4j-examples/master/dl4j-examples/src/main/resources/raw_sentences.txt"; @@ -27,9 +28,11 @@ public String getToyDataFilePath() { return toyDataFilePath; } + /** + * Checks if toy data is present on the hard drive. It will be downloaded if necessary. + */ public void ensureToyDataIsPresent() { - // check if already downloaded if (fileExists(toyDataFilePath)) { if (verbose) System.out.println("Found data file (" + toyDataFilePath + ")"); @@ -39,6 +42,11 @@ public void ensureToyDataIsPresent() { // need to download try { if (verbose) System.out.println("Data file is missing and will be downloaded to " + toyDataFilePath); + + // make sure directory exists + File dir = new File(toyDataDirectory); + dir.mkdirs(); + downloadData(toyDataInetURL, toyDataFilePath); } catch (IOException e) { diff --git a/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java b/src/main/java/roboy/linguistics/word2vec/examples/Word2vecTrainingExample.java similarity index 95% rename from src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java rename to src/main/java/roboy/linguistics/word2vec/examples/Word2vecTrainingExample.java index b0b50974..2906124c 100644 --- a/src/main/java/roboy/linguistics/word2vec/Word2vecTrainingExample.java +++ b/src/main/java/roboy/linguistics/word2vec/examples/Word2vecTrainingExample.java @@ -1,4 +1,4 @@ -package roboy.linguistics.word2vec; +package roboy.linguistics.word2vec.examples; import org.deeplearning4j.models.word2vec.Word2Vec; import org.deeplearning4j.text.sentenceiterator.BasicLineIterator; @@ -11,7 +11,8 @@ /** - * Neural net that processes text into wordvectors. + * Neural net that processes text into word-vectors. + * * Adapted from org.deeplearning4j.examples.nlp.word2vec.Word2VecRawTextExample */ public class Word2vecTrainingExample { diff --git a/src/main/java/roboy/linguistics/word2vec/examples/Word2vecUptrainingExample.java b/src/main/java/roboy/linguistics/word2vec/examples/Word2vecUptrainingExample.java new file mode 100644 index 00000000..ea0f2f09 --- /dev/null +++ b/src/main/java/roboy/linguistics/word2vec/examples/Word2vecUptrainingExample.java @@ -0,0 +1,108 @@ +package roboy.linguistics.word2vec.examples; + +import org.deeplearning4j.models.embeddings.WeightLookupTable; +import org.deeplearning4j.models.embeddings.inmemory.InMemoryLookupTable; +import org.deeplearning4j.models.embeddings.loader.WordVectorSerializer; +import org.deeplearning4j.models.word2vec.VocabWord; +import org.deeplearning4j.models.word2vec.Word2Vec; +import org.deeplearning4j.models.word2vec.wordstore.VocabCache; +import org.deeplearning4j.models.word2vec.wordstore.inmemory.AbstractCache; +import org.deeplearning4j.text.sentenceiterator.BasicLineIterator; +import org.deeplearning4j.text.sentenceiterator.SentenceIterator; +import org.deeplearning4j.text.tokenization.tokenizer.preprocessor.CommonPreprocessor; +import org.deeplearning4j.text.tokenization.tokenizerfactory.DefaultTokenizerFactory; +import org.deeplearning4j.text.tokenization.tokenizerfactory.TokenizerFactory; + +import java.util.Collection; + + +/** + * Neural net that processes text into word-vectors. + * This example shows how to save/load and train the model. + * + * Adapted from org.deeplearning4j.examples.nlp.word2vec.Word2VecUptrainingExample + */ +public class Word2vecUptrainingExample { + + public static void main(String[] args) throws Exception { + + + String modelPath = "./resources/word2vec_toy_data_and_model/raw_sentences.model"; + + ToyDataGetter dataGetter = new ToyDataGetter(true); + dataGetter.ensureToyDataIsPresent(); + String dataPath = dataGetter.getToyDataFilePath(); + + // load and preprocess data + System.out.println("Load & Vectorize Sentences...."); + // Strip white space before and after for each line + SentenceIterator iter = new BasicLineIterator(dataPath); + // Split on white spaces in the line to get words + TokenizerFactory t = new DefaultTokenizerFactory(); + t.setTokenPreProcessor(new CommonPreprocessor()); + + // manual creation of VocabCache and WeightLookupTable usually isn't necessary + // but in this case we'll need them + VocabCache cache = new AbstractCache<>(); + WeightLookupTable table = new InMemoryLookupTable.Builder() + .vectorLength(100) + .useAdaGrad(false) + .cache(cache).build(); + + System.out.println("Building model...."); + Word2Vec vec = new Word2Vec.Builder() + .minWordFrequency(5) + .iterations(1) + .epochs(1) + .layerSize(100) + .seed(42) + .windowSize(5) + .iterate(iter) + .tokenizerFactory(t) + .lookupTable(table) + .vocabCache(cache) + .build(); + + System.out.println("Fitting Word2Vec model...."); + vec.fit(); + + + Collection lst = vec.wordsNearest("day", 10); + System.out.println("Closest words to 'day' on 1st run: " + lst); + + /* + at this moment we're supposed to have model built, and it can be saved for future use. + */ + + WordVectorSerializer.writeWord2VecModel(vec, modelPath); + + /* + Let's assume that some time passed, and now we have new corpus to be used to weights update. + Instead of building new model over joint corpus, we can use weights update mode. + */ + Word2Vec word2Vec = WordVectorSerializer.readWord2VecModel(modelPath); + + /* + PLEASE NOTE: after model is restored, it's still required to set SentenceIterator and TokenizerFactory, if you're going to train this model + */ + SentenceIterator iterator = new BasicLineIterator(dataPath); + TokenizerFactory tokenizerFactory = new DefaultTokenizerFactory(); + tokenizerFactory.setTokenPreProcessor(new CommonPreprocessor()); + + word2Vec.setTokenizerFactory(tokenizerFactory); + word2Vec.setSentenceIterator(iterator); + + + System.out.println("Word2vec uptraining..."); + + word2Vec.fit(); + + lst = word2Vec.wordsNearest("day", 10); + System.out.println("Closest words to 'day' on 2nd run: " + lst); + + /* + Model can be saved for future use now + */ + + } +} From 581966d8a3406e3e1b1bfefeb98ef5a2fdc4d52a Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 20 Nov 2017 21:29:06 +0100 Subject: [PATCH 09/94] updated readme --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7fc543ad..42cec80c 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # DialogSystem [![Documentation Status](https://readthedocs.org/projects/roboydialog/badge/?version=master)](http://roboydialog.readthedocs.io/en/master/?badge=master) -## What is it? +## What is it This repository contains a dialog system developed for the humanoid robot Roboy (roboy.org). -## How does it work? +## How does it work The basic NLP architecture is designed as a pipeline. An input device (derived from de.roboy.io.InputDevice) is producing text, which is passed to a variety of linguistic analyzers (derived from de.roboy.linguistics.sentenceanalysis.Analyzer). This currently consists of a Tokenizer and a POS tagger (both in de.roboy.linguistics.sentenceanalysis.SentenceAnalyzer) but could in the future be accompanied by named entity recognition, a syntactical and semantical analysis, an interpretation of the sentence type or other tools. The results of all these linguistics analyzers are collected together with the original text (de.roboy.linguistics.sentenceanalysis.Interpretation) and passed on to a state machine (states are derived from de.roboy.dialog.personality.states.State) within a personality class (derived from de.roboy.dialog.personality.Personality) that decides how to react to the utterance. In the future, the intentions (de.roboy.logic.Intention) determined by the state machine will then formulated into proper sentences or other actions (de.roboy.dialog.action.Action) by a module called Verbalizer. Currently, these actions are still directly created in the personality class. Finally, the created actions are sent to the corresponding output device (de.roboy.io.OutputDevice). @@ -13,7 +13,7 @@ There are interfaces for each step in the processing pipeline to enable an easy The implementation of the pipeline is in Java. Integrations with tools in other languages, like C++ RealSense stuff, should be wrapped in a module in the pipeline. -## How to run it? +## How to run it The repository contains a project that can be readily imported into Eclipse. Best use the EGit Eclipse Plugin to check it out. The code can be executed by running de.roboy.dialog.DialogSystem. @@ -28,7 +28,7 @@ To execute: mvn exec:java -Dexec.mainClass="roboy.dialog.DialogSystem" ``` -## How to extend it? +## How to extend it Pick the corresponding interface, depending on which part of the system you want to extend. If you want to add new devices go for the input or output device interfaces. If you want to extend the linguistic analysis implement the Analyzer interface or extend the SentenceAnalyzer class. If you are happy with input, linguistics and output and just want to create more dialog, implement the Personality interface. From e3f6f0aa08a103f39652035c63ae3d42a56e3e86 Mon Sep 17 00:00:00 2001 From: Alona Kharchenko Date: Mon, 20 Nov 2017 22:24:26 +0100 Subject: [PATCH 10/94] Update pom.xml --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index d249aab6..7d0fb9af 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ Roboy - Roboy Dialog System + Roboy Dialog System @@ -258,4 +258,4 @@ 1.18 - \ No newline at end of file + From 0706953b0e9f52a015df5059935805a34ffac712 Mon Sep 17 00:00:00 2001 From: Alona Kharchenko Date: Mon, 20 Nov 2017 22:44:17 +0100 Subject: [PATCH 11/94] Update pom.xml --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7d0fb9af..aeaad9ac 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ Roboy - Roboy Dialog System + Roboy Dialog System From 528ea2c0696854bd1639fdab4b74fc71768ddbb1 Mon Sep 17 00:00:00 2001 From: Wagram Airian Date: Wed, 22 Nov 2017 23:28:12 +0100 Subject: [PATCH 12/94] Fixed Memory [I/O] relations -> relationships according to the latest RCS --- config.properties | 2 +- docs/Usage/3_memory.rst | 2 +- .../doxyxml/_abstract_boolean_state_8java.xml | 4 +- docs/doxyxml/_action_8java.xml | 4 +- docs/doxyxml/_analyzer_8java.xml | 4 +- docs/doxyxml/_anecdote_state_8java.xml | 4 +- docs/doxyxml/_answer_analyzer_8java.xml | 4 +- docs/doxyxml/_answer_analyzer_test_8java.xml | 4 +- docs/doxyxml/_bing_input_8java.xml | 4 +- docs/doxyxml/_bing_output_8java.xml | 4 +- .../_celebrity_similarity_input_8java.xml | 4 +- docs/doxyxml/_celebrity_state_8java.xml | 4 +- docs/doxyxml/_cerevoice_output_8java.xml | 4 +- .../_command_line_communication_8java.xml | 4 +- docs/doxyxml/_command_line_input_8java.xml | 4 +- docs/doxyxml/_command_line_output_8java.xml | 4 +- docs/doxyxml/_communication_8java.xml | 4 +- docs/doxyxml/_config_8java.xml | 199 ++++++------ docs/doxyxml/_converse_state_8java.xml | 4 +- docs/doxyxml/_curious_personality_8java.xml | 4 +- docs/doxyxml/_d_bpedia_memory_8java.xml | 4 +- docs/doxyxml/_default_personality_8java.xml | 28 +- docs/doxyxml/_detected_entity_8java.xml | 4 +- docs/doxyxml/_dialog_system_8java.xml | 197 ++++++------ ...ary_based_sentence_type_detector_8java.xml | 4 +- ...ased_sentence_type_detector_test_8java.xml | 4 +- .../_double_metaphone_encoder_8java.xml | 4 +- docs/doxyxml/_emotion_analyzer_8java.xml | 4 +- docs/doxyxml/_emotion_output_8java.xml | 4 +- docs/doxyxml/_entity_8java.xml | 4 +- docs/doxyxml/_face_action_8java.xml | 4 +- docs/doxyxml/_farewell_state_8java.xml | 4 +- docs/doxyxml/_free_t_t_s_output_8java.xml | 4 +- .../_generative_communication_state_8java.xml | 4 +- docs/doxyxml/_greeting_state_8java.xml | 4 +- docs/doxyxml/_i_o_8java.xml | 4 +- docs/doxyxml/_idle_state_8java.xml | 4 +- docs/doxyxml/_input_8java.xml | 4 +- docs/doxyxml/_input_device_8java.xml | 4 +- docs/doxyxml/_inquiry_state_8java.xml | 4 +- docs/doxyxml/_intent_analyzer_8java.xml | 4 +- docs/doxyxml/_intention_8java.xml | 4 +- docs/doxyxml/_intention_classifier_8java.xml | 4 +- docs/doxyxml/_interlocutor_8java.xml | 36 +-- docs/doxyxml/_interpretation_8java.xml | 4 +- docs/doxyxml/_introduction_state_8java.xml | 4 +- docs/doxyxml/_json_utils_8java.xml | 4 +- .../_knock_knock_personality_8java.xml | 36 +-- docs/doxyxml/_lexicon_8java.xml | 4 +- docs/doxyxml/_lexicon_literal_8java.xml | 4 +- docs/doxyxml/_lexicon_predicate_8java.xml | 4 +- docs/doxyxml/_linguistics_8java.xml | 4 +- docs/doxyxml/_lists_8java.xml | 4 +- docs/doxyxml/_location_d_bpedia_8java.xml | 4 +- .../_location_d_bpedia_state_test_8java.xml | 4 +- docs/doxyxml/_maps_8java.xml | 4 +- docs/doxyxml/_memory_8java.xml | 4 +- docs/doxyxml/_memory_node_model_8java.xml | 291 +++++++++--------- docs/doxyxml/_metaphone_encoder_8java.xml | 4 +- docs/doxyxml/_multi_input_device_8java.xml | 4 +- docs/doxyxml/_multi_output_device_8java.xml | 4 +- docs/doxyxml/_neo4j_memory_8java.xml | 16 +- docs/doxyxml/_neo4j_relationships_8java.xml | 33 ++ .../_ontology_n_e_r_analyzer_8java.xml | 4 +- .../_open_n_l_p_p_p_o_s_tagger_8java.xml | 4 +- docs/doxyxml/_open_n_l_p_parser_8java.xml | 4 +- .../doxyxml/_open_n_l_p_parser_test_8java.xml | 4 +- docs/doxyxml/_output_device_8java.xml | 4 +- docs/doxyxml/_p_a_s_interpreter_8java.xml | 4 +- .../doxyxml/_p_a_s_interpreter_test_8java.xml | 4 +- docs/doxyxml/_persistent_knowledge_8java.xml | 4 +- docs/doxyxml/_personal_q_a_state_8java.xml | 12 +- docs/doxyxml/_personality_8java.xml | 4 +- docs/doxyxml/_phonetic_encoder_8java.xml | 4 +- docs/doxyxml/_phonetics_8java.xml | 4 +- docs/doxyxml/_preprocessor_8java.xml | 4 +- .../_question_answering_state_8java.xml | 4 +- .../_question_answering_state_test_8java.xml | 172 ++++++----- docs/doxyxml/_question_asking_state_8java.xml | 4 +- .../_question_randomizer_state_8java.xml | 233 +++++++------- docs/doxyxml/_reaction_8java.xml | 4 +- docs/doxyxml/_relation_8java.xml | 4 +- docs/doxyxml/_roboy_mind_8java.xml | 4 +- .../_roboy_name_detection_input_8java.xml | 4 +- docs/doxyxml/_ros_8java.xml | 4 +- docs/doxyxml/_ros_clients_8java.xml | 4 +- docs/doxyxml/_ros_main_node_8java.xml | 6 +- docs/doxyxml/_ros_manager_8java.xml | 68 ++-- docs/doxyxml/_segue_state_8java.xml | 4 +- docs/doxyxml/_sentence_analyzer_8java.xml | 4 +- docs/doxyxml/_shut_down_action_8java.xml | 4 +- docs/doxyxml/_simple_tokenizer_8java.xml | 4 +- .../doxyxml/_small_talk_personality_8java.xml | 4 +- docs/doxyxml/_soundex_encoder_8java.xml | 4 +- docs/doxyxml/_speech_action_8java.xml | 4 +- docs/doxyxml/_state_8java.xml | 4 +- docs/doxyxml/_statement_builder_8java.xml | 4 +- docs/doxyxml/_statement_interpreter_8java.xml | 4 +- docs/doxyxml/_term_8java.xml | 4 +- docs/doxyxml/_triple_8java.xml | 4 +- docs/doxyxml/_udp_input_8java.xml | 4 +- docs/doxyxml/_udp_output_8java.xml | 4 +- docs/doxyxml/_util_8java.xml | 4 +- docs/doxyxml/_verbalizer_8java.xml | 4 +- docs/doxyxml/_verbalizer_test_8java.xml | 4 +- docs/doxyxml/_vision_8java.xml | 4 +- docs/doxyxml/_wild_talk_state_8java.xml | 4 +- docs/doxyxml/_working_memory_8java.xml | 4 +- .../classroboy_1_1dialog_1_1_config.xml | 67 ++-- ...classroboy_1_1dialog_1_1_dialog_system.xml | 8 +- ...oy_1_1dialog_1_1action_1_1_face_action.xml | 28 +- ...1dialog_1_1action_1_1_shut_down_action.xml | 26 +- ..._1_1dialog_1_1action_1_1_speech_action.xml | 22 +- ...1_1personality_1_1_curious_personality.xml | 32 +- ...1_1personality_1_1_default_personality.xml | 46 +-- ...ersonality_1_1_knock_knock_personality.xml | 36 +-- ...personality_1_1_small_talk_personality.xml | 118 +++---- ...y_1_1states_1_1_abstract_boolean_state.xml | 80 ++--- ...rsonality_1_1states_1_1_anecdote_state.xml | 28 +- ...sonality_1_1states_1_1_celebrity_state.xml | 38 +-- ...rsonality_1_1states_1_1_converse_state.xml | 42 +-- ...rsonality_1_1states_1_1_farewell_state.xml | 22 +- ...tes_1_1_generative_communication_state.xml | 36 +-- ...rsonality_1_1states_1_1_greeting_state.xml | 36 +-- ..._1personality_1_1states_1_1_idle_state.xml | 34 +- ...ersonality_1_1states_1_1_inquiry_state.xml | 44 +-- ...ality_1_1states_1_1_introduction_state.xml | 98 +++--- ...nality_1_1states_1_1_location_d_bpedia.xml | 36 +-- ...tates_1_1_location_d_bpedia_state_test.xml | 8 +- ...ality_1_1states_1_1_personal_q_a_state.xml | 132 ++++---- ...1_1states_1_1_question_answering_state.xml | 48 +-- ...ates_1_1_question_answering_state_test.xml | 54 ++-- ...ty_1_1states_1_1_question_asking_state.xml | 194 ++++++------ ..._1states_1_1_question_randomizer_state.xml | 184 +++++------ ..._1_1personality_1_1states_1_1_reaction.xml | 28 +- ...1personality_1_1states_1_1_segue_state.xml | 44 +-- ...sonality_1_1states_1_1_wild_talk_state.xml | 50 +-- .../classroboy_1_1io_1_1_bing_input.xml | 42 +-- .../classroboy_1_1io_1_1_bing_output.xml | 20 +- ...y_1_1io_1_1_celebrity_similarity_input.xml | 18 +- .../classroboy_1_1io_1_1_cerevoice_output.xml | 44 +-- ...y_1_1io_1_1_command_line_communication.xml | 42 +-- ...lassroboy_1_1io_1_1_command_line_input.xml | 26 +- ...assroboy_1_1io_1_1_command_line_output.xml | 18 +- .../classroboy_1_1io_1_1_emotion_output.xml | 44 +-- ...classroboy_1_1io_1_1_free_t_t_s_output.xml | 30 +- docs/doxyxml/classroboy_1_1io_1_1_input.xml | 18 +- ...lassroboy_1_1io_1_1_multi_input_device.xml | 32 +- ...assroboy_1_1io_1_1_multi_output_device.xml | 28 +- ...y_1_1io_1_1_roboy_name_detection_input.xml | 24 +- .../classroboy_1_1io_1_1_udp_input.xml | 26 +- .../classroboy_1_1io_1_1_udp_output.xml | 34 +- docs/doxyxml/classroboy_1_1io_1_1_vision.xml | 18 +- ...y_1_1io_1_1_vision_1_1_vision_callback.xml | 22 +- .../classroboy_1_1linguistics_1_1_concept.xml | 6 +- ...boy_1_1linguistics_1_1_detected_entity.xml | 24 +- .../classroboy_1_1linguistics_1_1_entity.xml | 18 +- ...ssroboy_1_1linguistics_1_1_linguistics.xml | 44 +-- .../classroboy_1_1linguistics_1_1_term.xml | 18 +- .../classroboy_1_1linguistics_1_1_triple.xml | 14 +- ...phonetics_1_1_double_metaphone_encoder.xml | 26 +- ...ics_1_1phonetics_1_1_metaphone_encoder.xml | 26 +- ...linguistics_1_1phonetics_1_1_phonetics.xml | 24 +- ...stics_1_1phonetics_1_1_soundex_encoder.xml | 26 +- ..._1sentenceanalysis_1_1_answer_analyzer.xml | 18 +- ...tenceanalysis_1_1_answer_analyzer_test.xml | 62 ++-- ...ictionary_based_sentence_type_detector.xml | 24 +- ...nary_based_sentence_type_detector_test.xml | 26 +- ...1sentenceanalysis_1_1_emotion_analyzer.xml | 18 +- ..._1sentenceanalysis_1_1_intent_analyzer.xml | 42 +-- ...1_1sentenceanalysis_1_1_interpretation.xml | 38 +-- ...ceanalysis_1_1_ontology_n_e_r_analyzer.xml | 26 +- ...analysis_1_1_open_n_l_p_p_p_o_s_tagger.xml | 32 +- ...sentenceanalysis_1_1_open_n_l_p_parser.xml | 40 +-- ...nceanalysis_1_1_open_n_l_p_parser_test.xml | 32 +- ...s_1_1sentenceanalysis_1_1_preprocessor.xml | 18 +- ...sentenceanalysis_1_1_sentence_analyzer.xml | 74 ++--- ...1sentenceanalysis_1_1_simple_tokenizer.xml | 22 +- ...oboy_1_1logic_1_1_intention_classifier.xml | 16 +- ...ssroboy_1_1logic_1_1_p_a_s_interpreter.xml | 14 +- ...oy_1_1logic_1_1_p_a_s_interpreter_test.xml | 40 +-- ...boy_1_1logic_1_1_statement_interpreter.xml | 6 +- ...assroboy_1_1memory_1_1_d_bpedia_memory.xml | 38 +-- .../classroboy_1_1memory_1_1_lexicon.xml | 44 +-- ...assroboy_1_1memory_1_1_lexicon_literal.xml | 44 +-- ...sroboy_1_1memory_1_1_lexicon_predicate.xml | 46 +-- .../classroboy_1_1memory_1_1_neo4j_memory.xml | 66 ++-- ...boy_1_1memory_1_1_persistent_knowledge.xml | 34 +- .../classroboy_1_1memory_1_1_roboy_mind.xml | 48 +-- .../doxyxml/classroboy_1_1memory_1_1_util.xml | 24 +- ...lassroboy_1_1memory_1_1_working_memory.xml | 42 +-- ...oy_1_1memory_1_1nodes_1_1_interlocutor.xml | 114 +++---- ...1memory_1_1nodes_1_1_memory_node_model.xml | 110 +++---- docs/doxyxml/classroboy_1_1ros_1_1_ros.xml | 18 +- .../classroboy_1_1ros_1_1_ros_main_node.xml | 66 ++-- .../classroboy_1_1ros_1_1_ros_manager.xml | 18 +- ...assroboy_1_1talk_1_1_statement_builder.xml | 6 +- .../classroboy_1_1talk_1_1_verbalizer.xml | 52 ++-- ...classroboy_1_1talk_1_1_verbalizer_test.xml | 6 +- .../classroboy_1_1util_1_1_concept.xml | 38 +-- docs/doxyxml/classroboy_1_1util_1_1_i_o.xml | 12 +- .../classroboy_1_1util_1_1_json_utils.xml | 8 +- docs/doxyxml/classroboy_1_1util_1_1_lists.xml | 38 +-- docs/doxyxml/classroboy_1_1util_1_1_maps.xml | 36 +-- .../classroboy_1_1util_1_1_relation.xml | 26 +- docs/doxyxml/compound.xsd | 13 +- .../dir_029141a1c7d6ffd5a4e073b2543b9713.xml | 10 +- .../dir_09caee689121350b0881c362a3662a4d.xml | 8 +- .../dir_0f4c97c7389bb8a061b6dec9af63e7cb.xml | 6 +- .../dir_1165a482e1bd283bdfb030bc1d41c8fb.xml | 6 +- .../dir_120ed4da3e3217b1e7fc0b4f48568e79.xml | 8 +- .../dir_2b9136678cbc7c985d98384a060ef73e.xml | 6 +- .../dir_2ee74114d792069c15448944a9bb6a63.xml | 6 +- .../dir_309ae92be9f26a3d782e391154c61beb.xml | 6 +- .../dir_3d3a7bb632f3a6251fe99b04aead1544.xml | 6 +- .../dir_4b89141a263e6cbfc376c96d63372b80.xml | 8 +- .../dir_51b61a932f360ff8dfb5e9ed4f901118.xml | 8 +- .../dir_5eb159725f84c66aafd839904a4acdd0.xml | 8 +- .../dir_68267d1309a1af8e8297ef4c3efbcdba.xml | 10 +- .../dir_6d5869451a9be3e6ce21b31fee7870de.xml | 22 +- .../dir_6e452d7417803070272de08db6f5594a.xml | 6 +- .../dir_8548ac48c61d494e9afd946956351f00.xml | 7 +- .../dir_870da1f0b478f7ca881b221c68d88b01.xml | 6 +- .../dir_97debbc39e3b917fca663601bb2b0709.xml | 8 +- .../dir_99a73bddd3718e5715d839342deccec9.xml | 6 +- .../dir_a3da221ea67796dde15c58826f020edb.xml | 6 +- .../dir_b7748b3f53905c24013e2b431e631225.xml | 6 +- .../dir_bedbe0196ed4e3ea490265c56ba398f8.xml | 10 +- .../dir_e3b706f0da88f09db6283663af2a234d.xml | 8 +- .../dir_ed0fca50c3b44d5fff0fa276d178b23b.xml | 10 +- .../dir_ef15ac377452d427e784ef3ffdafddbf.xml | 15 +- .../dir_f4181fe68facb23b91192854446ad923.xml | 6 +- .../dir_fc501c632ab2a1a6d6d30ee369f70e27.xml | 6 +- .../dir_fd3f6763802dee1ad875f6c80eac0bda.xml | 8 +- ...g_1_1_config_1_1_configuration_profile.xml | 31 +- ..._o_n_v_e_r_s_a_t_i_o_n_a_l___s_t_a_t_e.xml | 12 +- ...nock_personality_1_1_knock_knock_state.xml | 12 +- ...guistics_1_1_s_e_m_a_n_t_i_c___r_o_l_e.xml | 30 +- ...guistics_1_1_s_e_n_t_e_n_c_e___t_y_p_e.xml | 34 +- ...numroboy_1_1memory_1_1_neo4j_relations.xml | 22 +- ...oboy_1_1memory_1_1_neo4j_relationships.xml | 169 ++++++++++ .../enumroboy_1_1ros_1_1_ros_clients.xml | 34 +- docs/doxyxml/index.xml | 147 ++++----- ...ceroboy_1_1dialog_1_1action_1_1_action.xml | 18 +- ...1dialog_1_1personality_1_1_personality.xml | 24 +- ...log_1_1personality_1_1states_1_1_state.xml | 78 ++--- ...interfaceroboy_1_1io_1_1_communication.xml | 14 +- .../interfaceroboy_1_1io_1_1_input_device.xml | 32 +- ...interfaceroboy_1_1io_1_1_output_device.xml | 36 +-- ...tics_1_1phonetics_1_1_phonetic_encoder.xml | 20 +- ...stics_1_1sentenceanalysis_1_1_analyzer.xml | 48 +-- .../interfaceroboy_1_1logic_1_1_intention.xml | 4 +- .../interfaceroboy_1_1memory_1_1_memory.xml | 8 +- docs/doxyxml/linguistics_2_concept_8java.xml | 4 +- .../namespaceedu_1_1cmu_1_1sphinx_1_1api.xml | 4 +- docs/doxyxml/namespacejava_1_1io.xml | 4 +- docs/doxyxml/namespacejava_1_1net.xml | 4 +- docs/doxyxml/namespacejava_1_1util.xml | 4 +- ...amespaceorg_1_1apache_1_1jena_1_1query.xml | 4 +- ...eorg_1_1apache_1_1jena_1_1rdf_1_1model.xml | 4 +- ...mespaceorg_1_1apache_1_1jena_1_1sparql.xml | 4 +- .../namespaceorg_1_1junit_1_1_assert.xml | 4 +- docs/doxyxml/namespaceorg_1_1ros_1_1node.xml | 4 +- docs/doxyxml/namespaceroboy.xml | 2 +- docs/doxyxml/namespaceroboy_1_1dialog.xml | 2 +- ...g_1_1_config_1_1_configuration_profile.xml | 4 +- .../namespaceroboy_1_1dialog_1_1action.xml | 4 +- ...amespaceroboy_1_1dialog_1_1personality.xml | 4 +- ...boy_1_1dialog_1_1personality_1_1states.xml | 4 +- docs/doxyxml/namespaceroboy_1_1io.xml | 4 +- .../doxyxml/namespaceroboy_1_1linguistics.xml | 4 +- ...spaceroboy_1_1linguistics_1_1phonetics.xml | 4 +- ...boy_1_1linguistics_1_1sentenceanalysis.xml | 4 +- docs/doxyxml/namespaceroboy_1_1logic.xml | 4 +- docs/doxyxml/namespaceroboy_1_1memory.xml | 6 +- ...oboy_1_1memory_1_1_neo4j_relationships.xml | 11 + .../namespaceroboy_1_1memory_1_1nodes.xml | 4 +- docs/doxyxml/namespaceroboy_1_1ros.xml | 5 +- docs/doxyxml/namespaceroboy_1_1talk.xml | 4 +- docs/doxyxml/namespaceroboy_1_1util.xml | 5 +- ...mespaceroboy__communication__cognition.xml | 4 +- ...namespaceroboy__communication__control.xml | 4 +- docs/doxyxml/util_2_concept_8java.xml | 4 +- docs/html/graph_legend.html | 2 +- .../personality/states/PersonalQAState.java | 6 +- .../states/QuestionRandomizerState.java | 23 +- ...Relations.java => Neo4jRelationships.java} | 4 +- .../java/roboy/memory/nodes/Interlocutor.java | 24 +- .../roboy/memory/nodes/MemoryNodeModel.java | 33 +- 289 files changed, 3509 insertions(+), 3238 deletions(-) create mode 100644 docs/doxyxml/_neo4j_relationships_8java.xml create mode 100644 docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relationships.xml create mode 100644 docs/doxyxml/namespaceroboy_1_1memory_1_1_neo4j_relationships.xml rename src/main/java/roboy/memory/{Neo4jRelations.java => Neo4jRelationships.java} (86%) diff --git a/config.properties b/config.properties index 8c637b1d..633c1b40 100644 --- a/config.properties +++ b/config.properties @@ -1 +1 @@ -ROS_HOSTNAME: 10.183.56.157 \ No newline at end of file +ROS_HOSTNAME: 10.0.1.14 \ No newline at end of file diff --git a/docs/Usage/3_memory.rst b/docs/Usage/3_memory.rst index f96b2fe1..f25e6542 100644 --- a/docs/Usage/3_memory.rst +++ b/docs/Usage/3_memory.rst @@ -25,6 +25,6 @@ Roboy's Dialog System interactions with the Memory module are based on ROS messa | CypherMemoryQuery | For more complex queries (future) | +--------------------+--------------------------------------------------+ -The messages received from Memory are in JSON format. To enable flexible high-level handling of Memory information, two classes were created to incorporate the node structures and logic inside the Dialog System. The ``de.roboy.memory.nodes.MemoryNodeModel`` contains the labels, properties and relations in a format which can be directly parsed from and into JSON. For this, Dialog is using the GSON parsing methods which enable direct translation of a JSON String into its respective Java class representation. +The messages received from Memory are in JSON format. To enable flexible high-level handling of Memory information, two classes were created to incorporate the node structures and logic inside the Dialog System. The ``de.roboy.memory.nodes.MemoryNodeModel`` contains the labels, properties and relationships in a format which can be directly parsed from and into JSON. For this, Dialog is using the GSON parsing methods which enable direct translation of a JSON String into its respective Java class representation. Methods such as ``getRelation()`` or ``setProperties()`` were implemented to allow intuitive handling of the MemoryNodeModel instances. A separate class, ``de.roboy.memory.nodes.Interlocutor``, encapsulates a MemoryNodeModel and is intended to further ease saving information about the current conversation partner of Roboy. Interlocutor goes one step further by also abstracting the actual calls to memory, such that adding the name of the conversant performs an automatic lookup in the memory with subsequent updating of the person-related information. This is then available in all subsequent interactions, such that Roboy can refrain from asking questions twice, or refer to information he rememberes from earlier conversations. diff --git a/docs/doxyxml/_abstract_boolean_state_8java.xml b/docs/doxyxml/_abstract_boolean_state_8java.xml index da32cce5..2a7a96a4 100644 --- a/docs/doxyxml/_abstract_boolean_state_8java.xml +++ b/docs/doxyxml/_abstract_boolean_state_8java.xml @@ -1,5 +1,5 @@ - + AbstractBooleanState.java roboy::dialog::personality::states::AbstractBooleanState @@ -69,6 +69,6 @@ } - + diff --git a/docs/doxyxml/_action_8java.xml b/docs/doxyxml/_action_8java.xml index 11a0aef5..4706680c 100644 --- a/docs/doxyxml/_action_8java.xml +++ b/docs/doxyxml/_action_8java.xml @@ -1,5 +1,5 @@ - + Action.java roboy::dialog::action::Action @@ -15,6 +15,6 @@ } - + diff --git a/docs/doxyxml/_analyzer_8java.xml b/docs/doxyxml/_analyzer_8java.xml index 43b28e33..13e35e6c 100644 --- a/docs/doxyxml/_analyzer_8java.xml +++ b/docs/doxyxml/_analyzer_8java.xml @@ -1,5 +1,5 @@ - + Analyzer.java roboy::linguistics::sentenceanalysis::Analyzer @@ -17,6 +17,6 @@ } - + diff --git a/docs/doxyxml/_anecdote_state_8java.xml b/docs/doxyxml/_anecdote_state_8java.xml index 521028a7..535804f3 100644 --- a/docs/doxyxml/_anecdote_state_8java.xml +++ b/docs/doxyxml/_anecdote_state_8java.xml @@ -1,5 +1,5 @@ - + AnecdoteState.java roboy::dialog::personality::states::AnecdoteState @@ -44,6 +44,6 @@ } - + diff --git a/docs/doxyxml/_answer_analyzer_8java.xml b/docs/doxyxml/_answer_analyzer_8java.xml index 69efc64b..3888c55a 100644 --- a/docs/doxyxml/_answer_analyzer_8java.xml +++ b/docs/doxyxml/_answer_analyzer_8java.xml @@ -1,5 +1,5 @@ - + AnswerAnalyzer.java roboy::linguistics::sentenceanalysis::AnswerAnalyzer @@ -99,6 +99,6 @@ } - + diff --git a/docs/doxyxml/_answer_analyzer_test_8java.xml b/docs/doxyxml/_answer_analyzer_test_8java.xml index 43d5df66..9bcc0a4c 100644 --- a/docs/doxyxml/_answer_analyzer_test_8java.xml +++ b/docs/doxyxml/_answer_analyzer_test_8java.xml @@ -1,5 +1,5 @@ - + AnswerAnalyzerTest.java roboy::linguistics::sentenceanalysis::AnswerAnalyzerTest @@ -104,6 +104,6 @@ } - + diff --git a/docs/doxyxml/_bing_input_8java.xml b/docs/doxyxml/_bing_input_8java.xml index 6675d9d2..8ffb210c 100644 --- a/docs/doxyxml/_bing_input_8java.xml +++ b/docs/doxyxml/_bing_input_8java.xml @@ -1,5 +1,5 @@ - + BingInput.java roboy::io::BingInput @@ -30,6 +30,6 @@ } - + diff --git a/docs/doxyxml/_bing_output_8java.xml b/docs/doxyxml/_bing_output_8java.xml index eaae118b..cedbc359 100644 --- a/docs/doxyxml/_bing_output_8java.xml +++ b/docs/doxyxml/_bing_output_8java.xml @@ -1,5 +1,5 @@ - + BingOutput.java roboy::io::BingOutput @@ -40,6 +40,6 @@ } - + diff --git a/docs/doxyxml/_celebrity_similarity_input_8java.xml b/docs/doxyxml/_celebrity_similarity_input_8java.xml index db603aac..31c339ac 100644 --- a/docs/doxyxml/_celebrity_similarity_input_8java.xml +++ b/docs/doxyxml/_celebrity_similarity_input_8java.xml @@ -1,5 +1,5 @@ - + CelebritySimilarityInput.java roboy::io::CelebritySimilarityInput @@ -25,6 +25,6 @@ } - + diff --git a/docs/doxyxml/_celebrity_state_8java.xml b/docs/doxyxml/_celebrity_state_8java.xml index 0b24df4c..f6934db4 100644 --- a/docs/doxyxml/_celebrity_state_8java.xml +++ b/docs/doxyxml/_celebrity_state_8java.xml @@ -1,5 +1,5 @@ - + CelebrityState.java roboy::dialog::personality::states::CelebrityState @@ -98,6 +98,6 @@ } - + diff --git a/docs/doxyxml/_cerevoice_output_8java.xml b/docs/doxyxml/_cerevoice_output_8java.xml index dae593fb..b2b1928f 100644 --- a/docs/doxyxml/_cerevoice_output_8java.xml +++ b/docs/doxyxml/_cerevoice_output_8java.xml @@ -1,5 +1,5 @@ - + CerevoiceOutput.java roboy::io::CerevoiceOutput @@ -43,6 +43,6 @@ } - + diff --git a/docs/doxyxml/_command_line_communication_8java.xml b/docs/doxyxml/_command_line_communication_8java.xml index 5e85b496..67a1b39f 100644 --- a/docs/doxyxml/_command_line_communication_8java.xml +++ b/docs/doxyxml/_command_line_communication_8java.xml @@ -1,5 +1,5 @@ - + CommandLineCommunication.java roboy::io::CommandLineCommunication @@ -69,6 +69,6 @@ } - + diff --git a/docs/doxyxml/_command_line_input_8java.xml b/docs/doxyxml/_command_line_input_8java.xml index 419bd5ef..61e9cd12 100644 --- a/docs/doxyxml/_command_line_input_8java.xml +++ b/docs/doxyxml/_command_line_input_8java.xml @@ -1,5 +1,5 @@ - + CommandLineInput.java roboy::io::CommandLineInput @@ -35,6 +35,6 @@ } } - + diff --git a/docs/doxyxml/_command_line_output_8java.xml b/docs/doxyxml/_command_line_output_8java.xml index 8537178e..1e3a6093 100644 --- a/docs/doxyxml/_command_line_output_8java.xml +++ b/docs/doxyxml/_command_line_output_8java.xml @@ -1,5 +1,5 @@ - + CommandLineOutput.java roboy::io::CommandLineOutput @@ -37,6 +37,6 @@ } - + diff --git a/docs/doxyxml/_communication_8java.xml b/docs/doxyxml/_communication_8java.xml index 2fefb65d..44349192 100644 --- a/docs/doxyxml/_communication_8java.xml +++ b/docs/doxyxml/_communication_8java.xml @@ -1,5 +1,5 @@ - + Communication.java roboy::io::Communication @@ -21,6 +21,6 @@ publicvoidcommunicate(); } - + diff --git a/docs/doxyxml/_config_8java.xml b/docs/doxyxml/_config_8java.xml index e195f59b..96c90755 100644 --- a/docs/doxyxml/_config_8java.xml +++ b/docs/doxyxml/_config_8java.xml @@ -1,5 +1,5 @@ - + Config.java roboy::dialog::Config @@ -24,102 +24,117 @@ DEFAULT("DEFAULT"), NOROS("NOROS"), STANDALONE("STANDALONE"), -DEBUG("DEBUG"); - -publicStringprofileName; - -ConfigurationProfile(Stringprofile){ -this.profileName=profile; -} -} - -/*CONFIGURATIONVARIABLES-alwaysstatic,withadefaultvalue.*/ -/*Profilescanoverwritethedefaultvalues,butdon'thaveto.*/ - -publicstaticbooleanSTANDALONE=false; -publicstaticbooleanNOROS=false; -publicstaticbooleanSHUTDOWN_ON_ROS_FAILURE=true; -publicstaticbooleanSHUTDOWN_ON_SERVICE_FAILURE=true; -publicstaticStringROS_HOSTNAME=null; - -privatestaticStringyamlConfigFile="config.properties"; -privateYAMLConfigurationyamlConfig; +DEBUG("DEBUG"), +MEMORY("MEMORY"); + +publicStringprofileName; + +ConfigurationProfile(Stringprofile){ +this.profileName=profile; +} +} + +/*CONFIGURATIONVARIABLES-alwaysstatic,withadefaultvalue.*/ +/*Profilescanoverwritethedefaultvalues,butdon'thaveto.*/ + +publicstaticbooleanSTANDALONE=false; +publicstaticbooleanNOROS=false; +publicstaticbooleanSHUTDOWN_ON_ROS_FAILURE=true; +publicstaticbooleanSHUTDOWN_ON_SERVICE_FAILURE=true; +publicstaticStringROS_HOSTNAME=null; +publicstaticbooleanMEMORY=true; -publicConfig(ConfigurationProfileprofile){ -initializeYAMLConfig(); -switch(profile){ -caseDEFAULT: -setDefaultProfile(); -break; -caseNOROS: -setNoROSProfile(); -break; -caseSTANDALONE: -setStandaloneProfile(); -break; -caseDEBUG: -setDebugProfile(); -break; -default: -setDefaultProfile(); -} -} - -publicstaticConfigurationProfilegetProfileFromEnvironment(StringprofileString){ -for(ConfigurationProfilep:ConfigurationProfile.values()){ -if(p.profileName.equals(profileString)){ -returnp; -} -} -returnConfigurationProfile.DEFAULT; -} - -/*PROFILEDEFINITIONS*/ - -privatevoidsetDefaultProfile(){ -STANDALONE=false; -ROS_HOSTNAME=yamlConfig.getString("ROS_HOSTNAME"); +privatestaticStringyamlConfigFile="config.properties"; +privateYAMLConfigurationyamlConfig; + +publicConfig(ConfigurationProfileprofile){ +initializeYAMLConfig(); +switch(profile){ +caseDEFAULT: +setDefaultProfile(); +break; +caseNOROS: +setNoROSProfile(); +break; +caseSTANDALONE: +setStandaloneProfile(); +break; +caseDEBUG: +setDebugProfile(); +break; +caseMEMORY: +setMemoryProfile(); +break; +default: +setDefaultProfile(); +} +} + +publicstaticConfigurationProfilegetProfileFromEnvironment(StringprofileString){ +for(ConfigurationProfilep:ConfigurationProfile.values()){ +if(p.profileName.equals(profileString)){ +returnp; +} +} +returnConfigurationProfile.DEFAULT; } -privatevoidsetNoROSProfile(){ -NOROS=true; -SHUTDOWN_ON_ROS_FAILURE=false; -SHUTDOWN_ON_SERVICE_FAILURE=false; -} - -privatevoidsetStandaloneProfile(){ -STANDALONE=true; -//AlsosetNOROS,suchthatROS-basedservicecallersonlyneedtocheckforNOROSsetting. -NOROS=true; -SHUTDOWN_ON_ROS_FAILURE=false; -SHUTDOWN_ON_SERVICE_FAILURE=false; +/*PROFILEDEFINITIONS*/ + +privatevoidsetDefaultProfile(){ +STANDALONE=false; +ROS_HOSTNAME=yamlConfig.getString("ROS_HOSTNAME"); +} + +privatevoidsetNoROSProfile(){ +NOROS=true; +SHUTDOWN_ON_ROS_FAILURE=false; +SHUTDOWN_ON_SERVICE_FAILURE=false; +MEMORY=false; } -privatevoidsetDebugProfile(){ -SHUTDOWN_ON_ROS_FAILURE=false; -SHUTDOWN_ON_SERVICE_FAILURE=false; -} - -privatevoidinitializeYAMLConfig(){ -this.yamlConfig=newYAMLConfiguration(); -try -{ -FilepropertiesFile=newFile(yamlConfigFile); -if(propertiesFile==null){ -System.out.println("Couldnotfind"+yamlConfigFile+"fileinprojectpath!YAMLconfigurationswillbeunavailable."); -return; -} -FileReaderpropertiesReader=newFileReader(propertiesFile); -yamlConfig.read(propertiesReader); -} -catch(ConfigurationException|FileNotFoundExceptione) -{ -System.out.println("ExceptionwhilereadingYAMLconfigurationsfrom"+yamlConfigFile); -e.printStackTrace(); -} -} -} +privatevoidsetStandaloneProfile(){ +STANDALONE=true; +//AlsosetNOROS,suchthatROS-basedservicecallersonlyneedtocheckforNOROSsetting. +NOROS=true; +SHUTDOWN_ON_ROS_FAILURE=false; +SHUTDOWN_ON_SERVICE_FAILURE=false; +MEMORY=false; +} + +privatevoidsetDebugProfile(){ +SHUTDOWN_ON_ROS_FAILURE=false; +SHUTDOWN_ON_SERVICE_FAILURE=false; +} + +privatevoidsetMemoryProfile(){ +NOROS=true; +SHUTDOWN_ON_ROS_FAILURE=false; +SHUTDOWN_ON_SERVICE_FAILURE=false; +MEMORY=true; +ROS_HOSTNAME=yamlConfig.getString("ROS_HOSTNAME"); +} + +privatevoidinitializeYAMLConfig(){ +this.yamlConfig=newYAMLConfiguration(); +try +{ +FilepropertiesFile=newFile(yamlConfigFile); +if(propertiesFile==null){ +System.out.println("Couldnotfind"+yamlConfigFile+"fileinprojectpath!YAMLconfigurationswillbeunavailable."); +return; +} +FileReaderpropertiesReader=newFileReader(propertiesFile); +yamlConfig.read(propertiesReader); +} +catch(ConfigurationException|FileNotFoundExceptione) +{ +System.out.println("ExceptionwhilereadingYAMLconfigurationsfrom"+yamlConfigFile); +e.printStackTrace(); +} +} +} - + diff --git a/docs/doxyxml/_converse_state_8java.xml b/docs/doxyxml/_converse_state_8java.xml index bc920ec8..22dcb067 100644 --- a/docs/doxyxml/_converse_state_8java.xml +++ b/docs/doxyxml/_converse_state_8java.xml @@ -1,5 +1,5 @@ - + ConverseState.java roboy::dialog::personality::states::ConverseState @@ -58,6 +58,6 @@ } - + diff --git a/docs/doxyxml/_curious_personality_8java.xml b/docs/doxyxml/_curious_personality_8java.xml index 6c182df7..7fdd4f82 100644 --- a/docs/doxyxml/_curious_personality_8java.xml +++ b/docs/doxyxml/_curious_personality_8java.xml @@ -1,5 +1,5 @@ - + CuriousPersonality.java roboy::dialog::personality::CuriousPersonality @@ -103,6 +103,6 @@ } - + diff --git a/docs/doxyxml/_d_bpedia_memory_8java.xml b/docs/doxyxml/_d_bpedia_memory_8java.xml index 107c97b5..6d4c5056 100644 --- a/docs/doxyxml/_d_bpedia_memory_8java.xml +++ b/docs/doxyxml/_d_bpedia_memory_8java.xml @@ -1,5 +1,5 @@ - + DBpediaMemory.java roboy::memory::DBpediaMemory @@ -231,6 +231,6 @@ } - + diff --git a/docs/doxyxml/_default_personality_8java.xml b/docs/doxyxml/_default_personality_8java.xml index fee9022c..f7328de9 100644 --- a/docs/doxyxml/_default_personality_8java.xml +++ b/docs/doxyxml/_default_personality_8java.xml @@ -1,5 +1,5 @@ - + DefaultPersonality.java roboy::dialog::personality::DefaultPersonality @@ -62,30 +62,30 @@ input=stripFromFront(input,introduction); if(input.split("").length>2){ -result.add(newSpeechAction("\""+input+"\"isareallystupidname.pickanother.")); +result.add(newSpeechAction("\""+input+"\"isareallystupidname.pickanother.")); }else{ -state=CONVERSATIONAL_STATE.SMALL_TALK; -result.add(newSpeechAction("Nicetomeetyou"+input+".Howareyoutoday?")); +state=CONVERSATIONAL_STATE.SMALL_TALK; +result.add(newSpeechAction("Nicetomeetyou"+input+".Howareyoutoday?")); } caseSMALL_TALK: if(checkForTerm(input,farewells)){ -state=CONVERSATIONAL_STATE.FAREWELL; -result.add(newSpeechAction("Oh,youwannaleavealready?Areyousure?")); +state=CONVERSATIONAL_STATE.FAREWELL; +result.add(newSpeechAction("Oh,youwannaleavealready?Areyousure?")); }elseif(checkForTerm(input,positive)){ -result.add(newSpeechAction("Awesome!"+input+"isthebest!ifeel"+input+",too.howwereyouagain?")); +result.add(newSpeechAction("Awesome!"+input+"isthebest!ifeel"+input+",too.howwereyouagain?")); }else{ Stringfeeling=random(positive); -result.add(newSpeechAction(input+"isn'tgoodenough.youshouldfeel"+feeling+".ifeel"+feeling+".sohowdoyoufeelnow?")); +result.add(newSpeechAction(input+"isn'tgoodenough.youshouldfeel"+feeling+".ifeel"+feeling+".sohowdoyoufeelnow?")); } caseFAREWELL: if(checkForTerm(input,agreement)){ -result.add(newSpeechAction("ok."+random(farewells)+"!")); +result.add(newSpeechAction("ok."+random(farewells)+"!")); }elseif(checkForTerm(input,disagreement)){ -state=CONVERSATIONAL_STATE.SMALL_TALK; -result.add(newSpeechAction("greatthenwecantalkmoreabouthowyoufeel!")); +state=CONVERSATIONAL_STATE.SMALL_TALK; +result.add(newSpeechAction("greatthenwecantalkmoreabouthowyoufeel!")); }else{ -state=CONVERSATIONAL_STATE.SMALL_TALK; -result.add(newSpeechAction("iwilltakethatforano.sohowwereyouagain?")); +state=CONVERSATIONAL_STATE.SMALL_TALK; +result.add(newSpeechAction("iwilltakethatforano.sohowwereyouagain?")); } } @@ -113,6 +113,6 @@ } - + diff --git a/docs/doxyxml/_detected_entity_8java.xml b/docs/doxyxml/_detected_entity_8java.xml index 924bdb2c..0d3cf04a 100644 --- a/docs/doxyxml/_detected_entity_8java.xml +++ b/docs/doxyxml/_detected_entity_8java.xml @@ -1,5 +1,5 @@ - + DetectedEntity.java roboy::linguistics::DetectedEntity @@ -32,6 +32,6 @@ } - + diff --git a/docs/doxyxml/_dialog_system_8java.xml b/docs/doxyxml/_dialog_system_8java.xml index 169bc385..717f8d65 100644 --- a/docs/doxyxml/_dialog_system_8java.xml +++ b/docs/doxyxml/_dialog_system_8java.xml @@ -1,5 +1,5 @@ - + DialogSystem.java roboy::dialog::DialogSystem @@ -26,104 +26,107 @@ importroboy.io.*; importroboy.linguistics.sentenceanalysis.*; -importroboy.talk.Verbalizer; - -importroboy.ros.RosMainNode; - -importstaticroboy.dialog.Config.ConfigurationProfile.*; - +importroboy.memory.Neo4jMemory; +importroboy.talk.Verbalizer; + +importroboy.ros.RosMainNode; + +importstaticroboy.dialog.Config.ConfigurationProfile.*; -publicclassDialogSystem{ - -publicstaticvoidmain(String[]args)throwsJsonIOException,IOException,InterruptedException{ - -//Thissetsaconfigurationprofilefortheentirerun. -//Profilescanbeaddedinroboy.dialog.Config.ConfigurationProfile -if(System.getProperty("profile")!=null){ -newConfig(Config.getProfileFromEnvironment(System.getProperty("profile"))); -}else{ -newConfig(DEFAULT); -} - -//initializeROSnode -RosMainNoderosMainNode=newRosMainNode(); - -/* -*I/OINITIALIZATION -*/ -MultiInputDevicemultiIn; -//Bydefault,alloutputisalsowrittentothecommandline. -MultiOutputDevicemultiOut=newMultiOutputDevice(newCommandLineOutput()); -if(Config.NOROS){ -multiIn=newMultiInputDevice(newCommandLineInput()); -}else{ -multiIn=newMultiInputDevice(newBingInput(rosMainNode)); -multiOut.add(newCerevoiceOutput(rosMainNode)); -} -//OPTIONALINPUTS -//DatagramSocketds=newDatagramSocket(55555); -//multiIn.add(newUdpInput(ds)); -//multiIn.add(newCelebritySimilarityInput()); -//multiIn.add(newRoboyNameDetectionInput()); -//OPTIONALOUTPUTS -//multiOut.add(newBingOutput()); -//multiOut.add(newUdpOutput(ds,"localhost",55556)); -//multiOut.add(newEmotionOutput(rosMainNode)); - -/* -*ANALYZERINITIALIZATION -*/ -List<Analyzer>analyzers=newArrayList<Analyzer>(); -analyzers.add(newPreprocessor()); -analyzers.add(newSimpleTokenizer()); -analyzers.add(newOpenNLPPPOSTagger()); -analyzers.add(newDictionaryBasedSentenceTypeDetector()); -analyzers.add(newSentenceAnalyzer()); -analyzers.add(newOpenNLPParser()); -analyzers.add(newOntologyNERAnalyzer()); -analyzers.add(newAnswerAnalyzer()); -analyzers.add(newEmotionAnalyzer()); -//if(!Config.NOROS){ -//analyzers.add(newIntentAnalyzer(rosMainNode)); -//} - -if(!rosMainNode.STARTUP_SUCCESS&&Config.SHUTDOWN_ON_ROS_FAILURE){ -thrownewRuntimeException("DialogSystemshutdowncausedbyROSmainnodeinitializationfailure."); -} - -System.out.println("DMinitialized..."); - -while(true){ - -//while(!Vision.getInstance().findFaces()){ -//emotion.act(newFaceAction("angry")); -//} -//emotion.act(newFaceAction("neutral")); -//while(!multiIn.listen().attributes.containsKey(Linguistics.ROBOYDETECTED)){ + +publicclassDialogSystem{ + +publicstaticvoidmain(String[]args)throwsJsonIOException,IOException,InterruptedException{ + +//Thissetsaconfigurationprofilefortheentirerun. +//Profilescanbeaddedinroboy.dialog.Config.ConfigurationProfile +if(System.getProperty("profile")!=null){ +newConfig(Config.getProfileFromEnvironment(System.getProperty("profile"))); +}else{ +newConfig(DEFAULT); +} + +//initializeROSnode +RosMainNoderosMainNode=newRosMainNode(); +//initializeMemorywithROS +Neo4jMemory.getInstance(rosMainNode); + +/* +*I/OINITIALIZATION +*/ +MultiInputDevicemultiIn; +//Bydefault,alloutputisalsowrittentothecommandline. +MultiOutputDevicemultiOut=newMultiOutputDevice(newCommandLineOutput()); +if(Config.NOROS){ +multiIn=newMultiInputDevice(newCommandLineInput()); +}else{ +multiIn=newMultiInputDevice(newBingInput(rosMainNode)); +multiOut.add(newCerevoiceOutput(rosMainNode)); +} +//OPTIONALINPUTS +//DatagramSocketds=newDatagramSocket(55555); +//multiIn.add(newUdpInput(ds)); +//multiIn.add(newCelebritySimilarityInput()); +//multiIn.add(newRoboyNameDetectionInput()); +//OPTIONALOUTPUTS +//multiOut.add(newBingOutput()); +//multiOut.add(newUdpOutput(ds,"localhost",55556)); +//multiOut.add(newEmotionOutput(rosMainNode)); + +/* +*ANALYZERINITIALIZATION +*/ +List<Analyzer>analyzers=newArrayList<Analyzer>(); +analyzers.add(newPreprocessor()); +analyzers.add(newSimpleTokenizer()); +analyzers.add(newOpenNLPPPOSTagger()); +analyzers.add(newDictionaryBasedSentenceTypeDetector()); +analyzers.add(newSentenceAnalyzer()); +analyzers.add(newOpenNLPParser()); +analyzers.add(newOntologyNERAnalyzer()); +analyzers.add(newAnswerAnalyzer()); +analyzers.add(newEmotionAnalyzer()); +//if(!Config.NOROS){ +//analyzers.add(newIntentAnalyzer(rosMainNode)); +//} + +if(!rosMainNode.STARTUP_SUCCESS&&Config.SHUTDOWN_ON_ROS_FAILURE){ +thrownewRuntimeException("DialogSystemshutdowncausedbyROSmainnodeinitializationfailure."); +} + +System.out.println("DMinitialized..."); + +while(true){ + +//while(!Vision.getInstance().findFaces()){ +//emotion.act(newFaceAction("angry")); //} - -PersonalitysmallTalk=newSmallTalkPersonality(newVerbalizer(),rosMainNode); -Inputraw; -Interpretationinterpretation; -List<Action>actions=smallTalk.answer(newInterpretation("")); - - -while(actions.isEmpty()||!(actions.get(0)instanceofShutDownAction)){ -multiOut.act(actions); -raw=multiIn.listen(); -interpretation=newInterpretation(raw.sentence,raw.attributes);//TODO:InputdevicesshouldimmediatelyproduceInterpretationobjects -for(Analyzera:analyzers){ -interpretation=a.analyze(interpretation); -} -actions=smallTalk.answer(interpretation); -} -List<Action>lastwords=((ShutDownAction)actions.get(0)).getLastWords(); -multiOut.act(lastwords); -actions.clear(); -} -} -} +//emotion.act(newFaceAction("neutral")); +//while(!multiIn.listen().attributes.containsKey(Linguistics.ROBOYDETECTED)){ +//} + +PersonalitysmallTalk=newSmallTalkPersonality(newVerbalizer(),rosMainNode); +Inputraw; +Interpretationinterpretation; +List<Action>actions=smallTalk.answer(newInterpretation("")); + + +while(actions.isEmpty()||!(actions.get(0)instanceofShutDownAction)){ +multiOut.act(actions); +raw=multiIn.listen(); +interpretation=newInterpretation(raw.sentence,raw.attributes);//TODO:InputdevicesshouldimmediatelyproduceInterpretationobjects +for(Analyzera:analyzers){ +interpretation=a.analyze(interpretation); +} +actions=smallTalk.answer(interpretation); +} +List<Action>lastwords=((ShutDownAction)actions.get(0)).getLastWords(); +multiOut.act(lastwords); +actions.clear(); +} +} +} - + diff --git a/docs/doxyxml/_dictionary_based_sentence_type_detector_8java.xml b/docs/doxyxml/_dictionary_based_sentence_type_detector_8java.xml index 521466b1..16309b3e 100644 --- a/docs/doxyxml/_dictionary_based_sentence_type_detector_8java.xml +++ b/docs/doxyxml/_dictionary_based_sentence_type_detector_8java.xml @@ -1,5 +1,5 @@ - + DictionaryBasedSentenceTypeDetector.java roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetector @@ -53,6 +53,6 @@ } } - + diff --git a/docs/doxyxml/_dictionary_based_sentence_type_detector_test_8java.xml b/docs/doxyxml/_dictionary_based_sentence_type_detector_test_8java.xml index 725a0409..c582b264 100644 --- a/docs/doxyxml/_dictionary_based_sentence_type_detector_test_8java.xml +++ b/docs/doxyxml/_dictionary_based_sentence_type_detector_test_8java.xml @@ -1,5 +1,5 @@ - + DictionaryBasedSentenceTypeDetectorTest.java roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectorTest @@ -38,6 +38,6 @@ } - + diff --git a/docs/doxyxml/_double_metaphone_encoder_8java.xml b/docs/doxyxml/_double_metaphone_encoder_8java.xml index 92617f52..bddfb1c0 100644 --- a/docs/doxyxml/_double_metaphone_encoder_8java.xml +++ b/docs/doxyxml/_double_metaphone_encoder_8java.xml @@ -1,5 +1,5 @@ - + DoubleMetaphoneEncoder.java roboy::linguistics::phonetics::DoubleMetaphoneEncoder @@ -28,6 +28,6 @@ } - + diff --git a/docs/doxyxml/_emotion_analyzer_8java.xml b/docs/doxyxml/_emotion_analyzer_8java.xml index 4520081a..e809946a 100644 --- a/docs/doxyxml/_emotion_analyzer_8java.xml +++ b/docs/doxyxml/_emotion_analyzer_8java.xml @@ -1,5 +1,5 @@ - + EmotionAnalyzer.java roboy::linguistics::sentenceanalysis::EmotionAnalyzer @@ -39,6 +39,6 @@ } } - + diff --git a/docs/doxyxml/_emotion_output_8java.xml b/docs/doxyxml/_emotion_output_8java.xml index 09dfdc33..9fb249ce 100644 --- a/docs/doxyxml/_emotion_output_8java.xml +++ b/docs/doxyxml/_emotion_output_8java.xml @@ -1,5 +1,5 @@ - + EmotionOutput.java roboy::io::EmotionOutput @@ -48,6 +48,6 @@ } - + diff --git a/docs/doxyxml/_entity_8java.xml b/docs/doxyxml/_entity_8java.xml index a6acba2b..345cac5c 100644 --- a/docs/doxyxml/_entity_8java.xml +++ b/docs/doxyxml/_entity_8java.xml @@ -1,5 +1,5 @@ - + Entity.java roboy::linguistics::Entity @@ -32,6 +32,6 @@ } } - + diff --git a/docs/doxyxml/_face_action_8java.xml b/docs/doxyxml/_face_action_8java.xml index 6c90ecba..222b3a54 100644 --- a/docs/doxyxml/_face_action_8java.xml +++ b/docs/doxyxml/_face_action_8java.xml @@ -1,5 +1,5 @@ - + FaceAction.java roboy::dialog::action::FaceAction @@ -41,6 +41,6 @@ } - + diff --git a/docs/doxyxml/_farewell_state_8java.xml b/docs/doxyxml/_farewell_state_8java.xml index c7e2b082..6720b752 100644 --- a/docs/doxyxml/_farewell_state_8java.xml +++ b/docs/doxyxml/_farewell_state_8java.xml @@ -1,5 +1,5 @@ - + FarewellState.java roboy::dialog::personality::states::FarewellState @@ -36,6 +36,6 @@ } - + diff --git a/docs/doxyxml/_free_t_t_s_output_8java.xml b/docs/doxyxml/_free_t_t_s_output_8java.xml index 9199f726..b8ab7d4f 100644 --- a/docs/doxyxml/_free_t_t_s_output_8java.xml +++ b/docs/doxyxml/_free_t_t_s_output_8java.xml @@ -1,5 +1,5 @@ - + FreeTTSOutput.java roboy::io::FreeTTSOutput @@ -48,6 +48,6 @@ } - + diff --git a/docs/doxyxml/_generative_communication_state_8java.xml b/docs/doxyxml/_generative_communication_state_8java.xml index c52c918d..9915d8e8 100644 --- a/docs/doxyxml/_generative_communication_state_8java.xml +++ b/docs/doxyxml/_generative_communication_state_8java.xml @@ -1,5 +1,5 @@ - + GenerativeCommunicationState.java roboy::dialog::personality::states::GenerativeCommunicationState @@ -37,6 +37,6 @@ } - + diff --git a/docs/doxyxml/_greeting_state_8java.xml b/docs/doxyxml/_greeting_state_8java.xml index 0fdd172d..de381e00 100644 --- a/docs/doxyxml/_greeting_state_8java.xml +++ b/docs/doxyxml/_greeting_state_8java.xml @@ -1,5 +1,5 @@ - + GreetingState.java roboy::dialog::personality::states::GreetingState @@ -45,6 +45,6 @@ } - + diff --git a/docs/doxyxml/_i_o_8java.xml b/docs/doxyxml/_i_o_8java.xml index b199eb92..b0b0e1a4 100644 --- a/docs/doxyxml/_i_o_8java.xml +++ b/docs/doxyxml/_i_o_8java.xml @@ -1,5 +1,5 @@ - + IO.java roboy::util::IO @@ -53,6 +53,6 @@ } } - + diff --git a/docs/doxyxml/_idle_state_8java.xml b/docs/doxyxml/_idle_state_8java.xml index 3146e364..06f324e8 100644 --- a/docs/doxyxml/_idle_state_8java.xml +++ b/docs/doxyxml/_idle_state_8java.xml @@ -1,5 +1,5 @@ - + IdleState.java roboy::dialog::personality::states::IdleState @@ -34,6 +34,6 @@ } } - + diff --git a/docs/doxyxml/_input_8java.xml b/docs/doxyxml/_input_8java.xml index 516d0cc8..031d1500 100644 --- a/docs/doxyxml/_input_8java.xml +++ b/docs/doxyxml/_input_8java.xml @@ -1,5 +1,5 @@ - + Input.java roboy::io::Input @@ -31,6 +31,6 @@ } - + diff --git a/docs/doxyxml/_input_device_8java.xml b/docs/doxyxml/_input_device_8java.xml index 97c28e84..200fb412 100644 --- a/docs/doxyxml/_input_device_8java.xml +++ b/docs/doxyxml/_input_device_8java.xml @@ -1,5 +1,5 @@ - + InputDevice.java roboy::io::InputDevice @@ -17,6 +17,6 @@ publicInputlisten()throwsInterruptedException,IOException; } - + diff --git a/docs/doxyxml/_inquiry_state_8java.xml b/docs/doxyxml/_inquiry_state_8java.xml index 991f9e92..17a6a9ac 100644 --- a/docs/doxyxml/_inquiry_state_8java.xml +++ b/docs/doxyxml/_inquiry_state_8java.xml @@ -1,5 +1,5 @@ - + InquiryState.java roboy::dialog::personality::states::InquiryState @@ -44,6 +44,6 @@ } - + diff --git a/docs/doxyxml/_intent_analyzer_8java.xml b/docs/doxyxml/_intent_analyzer_8java.xml index ffbe984c..c6781ee5 100644 --- a/docs/doxyxml/_intent_analyzer_8java.xml +++ b/docs/doxyxml/_intent_analyzer_8java.xml @@ -1,5 +1,5 @@ - + IntentAnalyzer.java roboy::linguistics::sentenceanalysis::IntentAnalyzer @@ -36,6 +36,6 @@ } } - + diff --git a/docs/doxyxml/_intention_8java.xml b/docs/doxyxml/_intention_8java.xml index 0f6ae343..144a5cde 100644 --- a/docs/doxyxml/_intention_8java.xml +++ b/docs/doxyxml/_intention_8java.xml @@ -1,5 +1,5 @@ - + Intention.java roboy::logic::Intention @@ -44,6 +44,6 @@ //Reasoning:AmIabletodoit?Isitdangerous?Immoral?Expensive?Fun? } - + diff --git a/docs/doxyxml/_intention_classifier_8java.xml b/docs/doxyxml/_intention_classifier_8java.xml index 228790e7..e7b3aae0 100644 --- a/docs/doxyxml/_intention_classifier_8java.xml +++ b/docs/doxyxml/_intention_classifier_8java.xml @@ -1,5 +1,5 @@ - + IntentionClassifier.java roboy::logic::IntentionClassifier @@ -42,6 +42,6 @@ } - + diff --git a/docs/doxyxml/_interlocutor_8java.xml b/docs/doxyxml/_interlocutor_8java.xml index 7eb4e9e9..eee18007 100644 --- a/docs/doxyxml/_interlocutor_8java.xml +++ b/docs/doxyxml/_interlocutor_8java.xml @@ -1,5 +1,5 @@ - + Interlocutor.java roboy::memory::nodes::Interlocutor @@ -13,7 +13,7 @@ importroboy.dialog.Config; importroboy.memory.Neo4jMemory; -importroboy.memory.Neo4jRelations; +importroboy.memory.Neo4jRelationships; importjava.io.IOException; importjava.util.ArrayList; @@ -23,19 +23,19 @@ Neo4jMemorymemory; publicbooleanFAMILIAR=false; //MemoryisnotqueriedinNOROSmode. -privatebooleannoROS; +privatebooleanmemoryROS; publicInterlocutor(){ this.person=newMemoryNodeModel(true); this.memory=Neo4jMemory.getInstance(); -this.noROS=Config.NOROS; +this.memoryROS=Config.MEMORY; } publicvoidaddName(Stringname){ person.setProperty("name",name); person.setLabel("Person"); -if(!noROS){ +if(memoryROS){ ArrayList<Integer>ids=newArrayList<>(); //Querymemoryformatchingpersons. try{ @@ -73,18 +73,18 @@ return(String)person.getProperty("name"); } -publicbooleanhasRelation(Neo4jRelationstype){ -return!(person.getRelation(type.type)==null)&&(!person.getRelation(type.type).isEmpty()); +publicbooleanhasRelationship(Neo4jRelationshipstype){ +return!(person.getRelationship(type.type)==null)&&(!person.getRelationship(type.type).isEmpty()); } -publicvoidaddInformation(Stringrelation,Stringname){ -if(noROS)return; +publicvoidaddInformation(Stringrelationship,Stringname){ +if(!memoryROS)return; ArrayList<Integer>ids=newArrayList<>(); //Firstcheckifnodewithgivennameexistsbyamatchingquery. MemoryNodeModelrelatedNode=newMemoryNodeModel(true); relatedNode.setProperty("name",name); //Thisaddsalabeltypetothememoryquerydependingontherelation. -relatedNode.setLabel(determineNodeType(relation)); +relatedNode.setLabel(determineNodeType(relationship)); try{ ids=memory.getByQuery(relatedNode); }catch(InterruptedException|IOExceptione){ @@ -94,14 +94,14 @@ //Pickfirstfromlistifmultiplematchesfound. if(ids!=null&&!ids.isEmpty()){ //TODOChangefromusingfirstidtospecifyingifmultiplematchesarefound. -person.setRelation(relation,ids.get(0)); +person.setRelationship(relationship,ids.get(0)); } //Createnewnodeifmatchisnotfound. else{ try{ intid=memory.create(relatedNode); if(id!=0){//0isdefaultvalue,returnedifMemoryresponsewasFAIL. -person.setRelation(relation,id); +person.setRelationship(relationship,id); } }catch(InterruptedException|IOExceptione){ System.out.println("Unexpectedmemoryerror:creatingnodefornewrelationfailed."); @@ -117,17 +117,17 @@ } } -privateStringdetermineNodeType(Stringrelation){ +privateStringdetermineNodeType(Stringrelationship){ //TODOexpandlistasnewNodetypesareadded. -if(relation.equals(Neo4jRelations.HAS_HOBBY.type))return"Hobby"; -if(relation.equals(Neo4jRelations.FROM.type))return"Country"; -if(relation.equals(Neo4jRelations.WORK_FOR.type))return"Organization"; -if(relation.equals(Neo4jRelations.STUDY_AT.type))return"Organization"; +if(relationship.equals(Neo4jRelationships.HAS_HOBBY.type))return"Hobby"; +if(relationship.equals(Neo4jRelationships.FROM.type))return"Country"; +if(relationship.equals(Neo4jRelationships.WORK_FOR.type))return"Organization"; +if(relationship.equals(Neo4jRelationships.STUDY_AT.type))return"Organization"; elsereturn""; } } - + diff --git a/docs/doxyxml/_interpretation_8java.xml b/docs/doxyxml/_interpretation_8java.xml index b41cfcd1..0788d773 100644 --- a/docs/doxyxml/_interpretation_8java.xml +++ b/docs/doxyxml/_interpretation_8java.xml @@ -1,5 +1,5 @@ - + Interpretation.java roboy::linguistics::sentenceanalysis::Interpretation @@ -70,6 +70,6 @@ } } - + diff --git a/docs/doxyxml/_introduction_state_8java.xml b/docs/doxyxml/_introduction_state_8java.xml index 320ad14b..68d64e4e 100644 --- a/docs/doxyxml/_introduction_state_8java.xml +++ b/docs/doxyxml/_introduction_state_8java.xml @@ -1,5 +1,5 @@ - + IntroductionState.java roboy::dialog::personality::states::IntroductionState @@ -83,6 +83,6 @@ } - + diff --git a/docs/doxyxml/_json_utils_8java.xml b/docs/doxyxml/_json_utils_8java.xml index dae27de3..83a64edb 100644 --- a/docs/doxyxml/_json_utils_8java.xml +++ b/docs/doxyxml/_json_utils_8java.xml @@ -1,5 +1,5 @@ - + JsonUtils.java roboy::util::JsonUtils @@ -46,6 +46,6 @@ } } - + diff --git a/docs/doxyxml/_knock_knock_personality_8java.xml b/docs/doxyxml/_knock_knock_personality_8java.xml index ce1d00ca..64ae624b 100644 --- a/docs/doxyxml/_knock_knock_personality_8java.xml +++ b/docs/doxyxml/_knock_knock_personality_8java.xml @@ -1,5 +1,5 @@ - + KnockKnockPersonality.java roboy::dialog::personality::KnockKnockPersonality @@ -65,42 +65,42 @@ }; @Override -publicList<Action>answer(Interpretationinput){ +publicList<Action>answer(Interpretationinput){ List<Action>result=newArrayList<Action>(); -Stringsentence=(String)input.getFeatures().get(Linguistics.SENTENCE); +Stringsentence=(String)input.getFeatures().get(Linguistics.SENTENCE); switch(state){ caseWELCOME: joke=pickJoke(); -result.add(newSpeechAction("Hey,wannahearaknockknockjoke?Knock,knock.")); -state=KnockKnockState.WHOSETHERE; +result.add(newSpeechAction("Hey,wannahearaknockknockjoke?Knock,knock.")); +state=KnockKnockState.WHOSETHERE; returnresult; caseKNOCKKNOCK: joke=pickJoke(); -result.add(newSpeechAction("Wannahearanotherone?Knock,knock.")); -state=KnockKnockState.WHOSETHERE; +result.add(newSpeechAction("Wannahearanotherone?Knock,knock.")); +state=KnockKnockState.WHOSETHERE; returnresult; caseWHOSETHERE: if(sentence.toLowerCase().contains("who")&&sentence.toLowerCase().contains("there")){ -result.add(newSpeechAction(joke[0])); -state=KnockKnockState.PUNCHLINE; +result.add(newSpeechAction(joke[0])); +state=KnockKnockState.PUNCHLINE; }else{ -result.add(newSpeechAction("No,youaresupposedtoaskWhoisthere.Nowwehavetostartalloveragain.Knock,knock.")); -state=KnockKnockState.WHOSETHERE; +result.add(newSpeechAction("No,youaresupposedtoaskWhoisthere.Nowwehavetostartalloveragain.Knock,knock.")); +state=KnockKnockState.WHOSETHERE; } returnresult; casePUNCHLINE: if(sentence.toLowerCase().contains("who")&&sentence.toLowerCase().contains(joke[0].toLowerCase())){ -result.add(newSpeechAction(joke[1])); -state=KnockKnockState.KNOCKKNOCK; +result.add(newSpeechAction(joke[1])); +state=KnockKnockState.KNOCKKNOCK; }else{ -result.add(newSpeechAction("No,youshouldhavesaid"+joke[0]+"who.Nowyouwillneverknowthepunchlineandwehavetostartover.Knock,knock.")); -state=KnockKnockState.WHOSETHERE; +result.add(newSpeechAction("No,youshouldhavesaid"+joke[0]+"who.Nowyouwillneverknowthepunchlineandwehavetostartover.Knock,knock.")); +state=KnockKnockState.WHOSETHERE; } returnresult; default: List<Action>lastwords=newArrayList<Action>(); -lastwords.add(newSpeechAction("Iamlost,bye.")); -result.add(newShutDownAction(lastwords)); +lastwords.add(newSpeechAction("Iamlost,bye.")); +result.add(newShutDownAction(lastwords)); returnresult; } } @@ -112,6 +112,6 @@ } - + diff --git a/docs/doxyxml/_lexicon_8java.xml b/docs/doxyxml/_lexicon_8java.xml index b96353bf..b00af968 100644 --- a/docs/doxyxml/_lexicon_8java.xml +++ b/docs/doxyxml/_lexicon_8java.xml @@ -1,5 +1,5 @@ - + Lexicon.java roboy::memory::Lexicon @@ -379,6 +379,6 @@ } } - + diff --git a/docs/doxyxml/_lexicon_literal_8java.xml b/docs/doxyxml/_lexicon_literal_8java.xml index 61b2b989..9e3c948f 100644 --- a/docs/doxyxml/_lexicon_literal_8java.xml +++ b/docs/doxyxml/_lexicon_literal_8java.xml @@ -1,5 +1,5 @@ - + LexiconLiteral.java roboy::memory::LexiconLiteral @@ -59,6 +59,6 @@ } - + diff --git a/docs/doxyxml/_lexicon_predicate_8java.xml b/docs/doxyxml/_lexicon_predicate_8java.xml index 9b574733..886a1734 100644 --- a/docs/doxyxml/_lexicon_predicate_8java.xml +++ b/docs/doxyxml/_lexicon_predicate_8java.xml @@ -1,5 +1,5 @@ - + LexiconPredicate.java roboy::memory::LexiconPredicate @@ -59,6 +59,6 @@ }; } - + diff --git a/docs/doxyxml/_linguistics_8java.xml b/docs/doxyxml/_linguistics_8java.xml index 6dc0a484..149bdc59 100644 --- a/docs/doxyxml/_linguistics_8java.xml +++ b/docs/doxyxml/_linguistics_8java.xml @@ -1,5 +1,5 @@ - + Linguistics.java roboy::linguistics::Linguistics @@ -70,6 +70,6 @@ } - + diff --git a/docs/doxyxml/_lists_8java.xml b/docs/doxyxml/_lists_8java.xml index da094b4d..a0b28300 100644 --- a/docs/doxyxml/_lists_8java.xml +++ b/docs/doxyxml/_lists_8java.xml @@ -1,5 +1,5 @@ - + Lists.java roboy::util::Lists @@ -46,6 +46,6 @@ } - + diff --git a/docs/doxyxml/_location_d_bpedia_8java.xml b/docs/doxyxml/_location_d_bpedia_8java.xml index 8dae8642..65ce27b8 100644 --- a/docs/doxyxml/_location_d_bpedia_8java.xml +++ b/docs/doxyxml/_location_d_bpedia_8java.xml @@ -1,5 +1,5 @@ - + LocationDBpedia.java roboy::dialog::personality::states::LocationDBpedia @@ -74,6 +74,6 @@ } - + diff --git a/docs/doxyxml/_location_d_bpedia_state_test_8java.xml b/docs/doxyxml/_location_d_bpedia_state_test_8java.xml index fdfe32ba..1398fbd4 100644 --- a/docs/doxyxml/_location_d_bpedia_state_test_8java.xml +++ b/docs/doxyxml/_location_d_bpedia_state_test_8java.xml @@ -1,5 +1,5 @@ - + LocationDBpediaStateTest.java roboy::dialog::personality::states::LocationDBpediaStateTest @@ -40,6 +40,6 @@ } } - + diff --git a/docs/doxyxml/_maps_8java.xml b/docs/doxyxml/_maps_8java.xml index bc1bd719..4cee9fb1 100644 --- a/docs/doxyxml/_maps_8java.xml +++ b/docs/doxyxml/_maps_8java.xml @@ -1,5 +1,5 @@ - + Maps.java roboy::util::Maps @@ -51,6 +51,6 @@ } } - + diff --git a/docs/doxyxml/_memory_8java.xml b/docs/doxyxml/_memory_8java.xml index 104bc4da..97458a90 100644 --- a/docs/doxyxml/_memory_8java.xml +++ b/docs/doxyxml/_memory_8java.xml @@ -1,5 +1,5 @@ - + Memory.java roboy::memory::Memory @@ -22,6 +22,6 @@ publicList<T>retrieve(Tobject)throwsInterruptedException,IOException; } - + diff --git a/docs/doxyxml/_memory_node_model_8java.xml b/docs/doxyxml/_memory_node_model_8java.xml index 1d11f811..852d8aee 100644 --- a/docs/doxyxml/_memory_node_model_8java.xml +++ b/docs/doxyxml/_memory_node_model_8java.xml @@ -1,5 +1,5 @@ - + MemoryNodeModel.java roboy::memory::nodes::MemoryNodeModel @@ -13,151 +13,150 @@ importcom.google.gson.Gson; importcom.google.gson.reflect.TypeToken; -importorg.json.JSONObject; - -importjava.lang.reflect.Type; -importjava.util.ArrayList; -importjava.util.HashMap; -importjava.util.Iterator; -importjava.util.Map; - -publicclassMemoryNodeModel{ -//UniquenodeIDsassignedbythememory. -privateintid; -//"Person"etc. -privateArrayList<String>labels; -//"Person"etc.DuplicatebecauseMemoryexpectsasingleLabelinCREATEqueries,but -//returnsanarrayoflabelsinsideGETresponses. -privateStringlabel; -//name,birthdate -privateHashMap<String,Object>properties; -//Relation:<nameasString,ArrayListofIDs(nodesrelatedtothisnodeoverthisrelation)> -privateHashMap<String,ArrayList<Integer>>relations; -//Iftrue,thenfieldswithdefaultvalueswillberemovedfromJSONformat. -//Transientasstrippinginformationisnotapartofthenodeandnotincludedinquery. -transientbooleanstripQuery=false; - -publicMemoryNodeModel(){ -this.id=0; -} - -publicMemoryNodeModel(booleanstripQuery){ -if(!stripQuery){ -id=0; -labels=newArrayList<>(); -properties=newHashMap<>(); -relations=newHashMap<>(); -}else{ -id=0; -this.stripQuery=true; -} -} - -publicintgetId(){ -returnid; -} -publicvoidsetId(intid){ -this.id=id; -} - -publicArrayList<String>getLabels(){ -returnlabels; -} -publicvoidsetLabel(Stringlabel){ -if(this.labels==null){ -this.labels=newArrayList<>(); -} -labels.add(label); -this.label=label; -} - -publicHashMap<String,Object>getProperties(){ -returnproperties; -} -publicObjectgetProperty(Stringkey){ -return(properties!=null?properties.get(key):null); -} - -publicvoidsetProperties(HashMap<String,Object>properties){ -if(this.properties==null){ -this.properties=newHashMap<>(); -} -this.properties.putAll(properties); -} -publicvoidsetProperty(Stringkey,Objectproperty){ -if(this.properties==null){ -this.properties=newHashMap<>(); -} -properties.put(key,property); -} - -publicHashMap<String,ArrayList<Integer>>getRelations(){ -returnrelations; -} -publicArrayList<Integer>getRelation(Stringkey){ -return(relations!=null?relations.get(key.toLowerCase()):null); -} -publicvoidsetRelations(HashMap<String,ArrayList<Integer>>relations){ -if(this.relations==null){ -this.relations=newHashMap<>(); -} -this.relations.putAll(relations); -} -publicvoidsetRelation(Stringkey,Integerid){ -if(this.relations==null){ -this.relations=newHashMap<>(); -} -if(relations.containsKey(key)){ -relations.get(key).add(id); -}else{ -ArrayListidList=newArrayList(); -idList.add(id); -relations.put(key,idList); -} -} - -publicvoidsetStripQuery(booleanstrip){ -this.stripQuery=strip; -} - -publicStringtoJSON(Gsongson){ -Stringjson=gson.toJson(this); -if(stripQuery){ -//Thisisbasedonhttps://stackoverflow.com/questions/23920740/remove-empty-collections-from-a-json-with-gson -Typetype=newTypeToken<Map<String,Object>>(){}.getType(); -Map<String,Object>obj=gson.fromJson(json,type); -for(Iterator<Map.Entry<String,Object>>it=obj.entrySet().iterator();it.hasNext();){ -Map.Entry<String,Object>entry=it.next(); -if(entry.getValue()==null){ -it.remove(); -}elseif(entry.getValue().getClass().equals(ArrayList.class)){ -if(((ArrayList<?>)entry.getValue()).size()==0){ -it.remove(); -} -//AsIDisparsedintoDoubleinsideGSON,usngDouble.class -}elseif(entry.getValue().getClass().equals(Double.class)){ -if(((Double)entry.getValue())==0){ -it.remove(); -} -}elseif(entry.getValue().getClass().equals(HashMap.class)){ -if(((HashMap<?,?>)entry.getValue()).size()==0){ -it.remove(); -} -}elseif(entry.getValue().getClass().equals(String.class)){ -if(((String)entry.getValue()).equals("")){ -it.remove(); -} -} -} -json=gson.toJson(obj); -} -returnjson; -} -publicMemoryNodeModelfromJSON(Stringjson,Gsongson){ -returngson.fromJson(json,this.getClass()); -} -} + +importjava.lang.reflect.Type; +importjava.util.ArrayList; +importjava.util.HashMap; +importjava.util.Iterator; +importjava.util.Map; + +publicclassMemoryNodeModel{ +//UniquenodeIDsassignedbythememory. +privateintid; +//"Person"etc. +privateArrayList<String>labels; +//"Person"etc.DuplicatebecauseMemoryexpectsasingleLabelinCREATEqueries,but +//returnsanarrayoflabelsinsideGETresponses. +privateStringlabel; +//name,birthdate +privateHashMap<String,Object>properties; +//Relation:<nameasString,ArrayListofIDs(nodesrelatedtothisnodeoverthisrelation)> +privateHashMap<String,ArrayList<Integer>>relationships; +//Iftrue,thenfieldswithdefaultvalueswillberemovedfromJSONformat. +//Transientasstrippinginformationisnotapartofthenodeandnotincludedinquery. +transientbooleanstripQuery=false; + +publicMemoryNodeModel(){ +this.id=0; +} + +publicMemoryNodeModel(booleanstripQuery){ +if(!stripQuery){ +id=0; +labels=newArrayList<>(); +properties=newHashMap<>(); +relationships=newHashMap<>(); +}else{ +id=0; +this.stripQuery=true; +} +} + +publicintgetId(){ +returnid; +} +publicvoidsetId(intid){ +this.id=id; +} + +publicArrayList<String>getLabels(){ +returnlabels; +} +publicvoidsetLabel(Stringlabel){ +if(this.labels==null){ +this.labels=newArrayList<>(); +} +labels.add(label); +this.label=label; +} + +publicHashMap<String,Object>getProperties(){ +returnproperties; +} +publicObjectgetProperty(Stringkey){ +return(properties!=null?properties.get(key):null); +} + +publicvoidsetProperties(HashMap<String,Object>properties){ +if(this.properties==null){ +this.properties=newHashMap<>(); +} +this.properties.putAll(properties); +} +publicvoidsetProperty(Stringkey,Objectproperty){ +if(this.properties==null){ +this.properties=newHashMap<>(); +} +properties.put(key,property); +} + +publicHashMap<String,ArrayList<Integer>>getRelationships(){ +returnrelationships; +} +publicArrayList<Integer>getRelationship(Stringkey){ +return(relationships!=null?relationships.get(key.toLowerCase()):null); +} +publicvoidsetRelationships(HashMap<String,ArrayList<Integer>>relationships){ +if(this.relationships==null){ +this.relationships=newHashMap<>(); +} +this.relationships.putAll(relationships); +} +publicvoidsetRelationship(Stringkey,Integerid){ +if(this.relationships==null){ +this.relationships=newHashMap<>(); +} +if(relationships.containsKey(key)){ +relationships.get(key).add(id); +}else{ +ArrayListidList=newArrayList(); +idList.add(id); +relationships.put(key,idList); +} +} + +publicvoidsetStripQuery(booleanstrip){ +this.stripQuery=strip; +} + +publicStringtoJSON(Gsongson){ +Stringjson=gson.toJson(this); +if(stripQuery){ +//Thisisbasedonhttps://stackoverflow.com/questions/23920740/remove-empty-collections-from-a-json-with-gson +Typetype=newTypeToken<Map<String,Object>>(){}.getType(); +Map<String,Object>obj=gson.fromJson(json,type); +for(Iterator<Map.Entry<String,Object>>it=obj.entrySet().iterator();it.hasNext();){ +Map.Entry<String,Object>entry=it.next(); +if(entry.getValue()==null){ +it.remove(); +}elseif(entry.getValue().getClass().equals(ArrayList.class)){ +if(((ArrayList<?>)entry.getValue()).size()==0){ +it.remove(); +} +//AsIDisparsedintoDoubleinsideGSON,usngDouble.class +}elseif(entry.getValue().getClass().equals(Double.class)){ +if(((Double)entry.getValue())==0){ +it.remove(); +} +}elseif(entry.getValue().getClass().equals(HashMap.class)){ +if(((HashMap<?,?>)entry.getValue()).size()==0){ +it.remove(); +} +}elseif(entry.getValue().getClass().equals(String.class)){ +if(((String)entry.getValue()).equals("")){ +it.remove(); +} +} +} +json=gson.toJson(obj); +} +returnjson; +} +publicMemoryNodeModelfromJSON(Stringjson,Gsongson){ +returngson.fromJson(json,this.getClass()); +} +} - + diff --git a/docs/doxyxml/_metaphone_encoder_8java.xml b/docs/doxyxml/_metaphone_encoder_8java.xml index 28e6e235..2c8fc4a3 100644 --- a/docs/doxyxml/_metaphone_encoder_8java.xml +++ b/docs/doxyxml/_metaphone_encoder_8java.xml @@ -1,5 +1,5 @@ - + MetaphoneEncoder.java roboy::linguistics::phonetics::MetaphoneEncoder @@ -28,6 +28,6 @@ } - + diff --git a/docs/doxyxml/_multi_input_device_8java.xml b/docs/doxyxml/_multi_input_device_8java.xml index ed04e37a..e57b8460 100644 --- a/docs/doxyxml/_multi_input_device_8java.xml +++ b/docs/doxyxml/_multi_input_device_8java.xml @@ -1,5 +1,5 @@ - + MultiInputDevice.java roboy::io::MultiInputDevice @@ -42,6 +42,6 @@ } - + diff --git a/docs/doxyxml/_multi_output_device_8java.xml b/docs/doxyxml/_multi_output_device_8java.xml index a178cd95..21141375 100644 --- a/docs/doxyxml/_multi_output_device_8java.xml +++ b/docs/doxyxml/_multi_output_device_8java.xml @@ -1,5 +1,5 @@ - + MultiOutputDevice.java roboy::io::MultiOutputDevice @@ -40,6 +40,6 @@ } - + diff --git a/docs/doxyxml/_neo4j_memory_8java.xml b/docs/doxyxml/_neo4j_memory_8java.xml index ec8998bc..f9bfeda9 100644 --- a/docs/doxyxml/_neo4j_memory_8java.xml +++ b/docs/doxyxml/_neo4j_memory_8java.xml @@ -1,5 +1,5 @@ - + Neo4jMemory.java roboy::memory::Neo4jMemory @@ -57,7 +57,7 @@ @Override publicbooleansave(MemoryNodeModelnode)throwsInterruptedException,IOException { -if(Config.NOROS)returnfalse; +if(!Config.MEMORY)returnfalse; Stringresponse=rosMainNode.UpdateMemoryQuery(node.toJSON(gson)); if(response==null)returnfalse; return(response.contains("OK")); @@ -65,7 +65,7 @@ publicMemoryNodeModelgetById(intid)throwsInterruptedException,IOException { -if(Config.NOROS)returnnewMemoryNodeModel(); +if(!Config.MEMORY)returnnewMemoryNodeModel(); Stringresult=rosMainNode.GetMemoryQuery("{'id':"+id+"}"); if(result==null||result.contains("FAIL"))returnnull; returngson.fromJson(result,MemoryNodeModel.class); @@ -73,7 +73,7 @@ publicArrayList<Integer>getByQuery(MemoryNodeModelquery)throwsInterruptedException,IOException { -if(Config.NOROS)returnnewArrayList<>(); +if(!Config.MEMORY)returnnewArrayList<>(); Stringresult=rosMainNode.GetMemoryQuery(query.toJSON(gson)); if(result==null||result.contains("FAIL"))returnnull; Typetype=newTypeToken<HashMap<String,List<Integer>>>(){}.getType(); @@ -83,7 +83,7 @@ publicintcreate(MemoryNodeModelquery)throwsInterruptedException,IOException { -if(Config.NOROS)return0; +if(!Config.MEMORY)return0; Stringresult=rosMainNode.CreateMemoryQuery(query.toJSON(gson)); //HandlepossibleMemoryerrormessage. if(result==null||result.contains("FAIL"))return0; @@ -94,11 +94,11 @@ publicbooleanremove(MemoryNodeModelquery)throwsInterruptedException,IOException { -if(Config.NOROS)returnfalse; +if(!Config.MEMORY)returnfalse; //Removeallfieldswhichwerenotexplicitlyset,forsafety. query.setStripQuery(true); Stringresponse=rosMainNode.DeleteMemoryQuery(query.toJSON(gson)); -returnresponse==null?false:response.contains("OK"); +returnresponse==null?false:response.contains("OK"); } @Override @@ -110,6 +110,6 @@ } - + diff --git a/docs/doxyxml/_neo4j_relationships_8java.xml b/docs/doxyxml/_neo4j_relationships_8java.xml new file mode 100644 index 00000000..627c1f90 --- /dev/null +++ b/docs/doxyxml/_neo4j_relationships_8java.xml @@ -0,0 +1,33 @@ + + + + Neo4jRelationships.java + roboy::memory::Neo4jRelationships + roboy::memory + + + + + +packageroboy.memory; + +publicenumNeo4jRelationships{ +FROM("FROM"), +HAS_HOBBY("HAS_HOBBY"), +LIVE_IN("LIVE_IN"), +STUDY_AT("STUDY_AT"), +OCCUPATION("OCCUPATION"), +WORK_FOR("WORK_FOR"), +FRIEND_OF("FRIEND_OF"), +MEMBER_OF("MEMBER_OF"); + +publicStringtype; + +Neo4jRelationships(Stringtype){ +this.type=type; +} +} + + + + diff --git a/docs/doxyxml/_ontology_n_e_r_analyzer_8java.xml b/docs/doxyxml/_ontology_n_e_r_analyzer_8java.xml index db4796be..c20db637 100644 --- a/docs/doxyxml/_ontology_n_e_r_analyzer_8java.xml +++ b/docs/doxyxml/_ontology_n_e_r_analyzer_8java.xml @@ -1,5 +1,5 @@ - + OntologyNERAnalyzer.java roboy::linguistics::sentenceanalysis::OntologyNERAnalyzer @@ -70,6 +70,6 @@ } - + diff --git a/docs/doxyxml/_open_n_l_p_p_p_o_s_tagger_8java.xml b/docs/doxyxml/_open_n_l_p_p_p_o_s_tagger_8java.xml index c64143ca..7b85112a 100644 --- a/docs/doxyxml/_open_n_l_p_p_p_o_s_tagger_8java.xml +++ b/docs/doxyxml/_open_n_l_p_p_p_o_s_tagger_8java.xml @@ -1,5 +1,5 @@ - + OpenNLPPPOSTagger.java roboy::linguistics::sentenceanalysis::OpenNLPPPOSTagger @@ -60,6 +60,6 @@ } } - + diff --git a/docs/doxyxml/_open_n_l_p_parser_8java.xml b/docs/doxyxml/_open_n_l_p_parser_8java.xml index c63c6795..3a079e8f 100644 --- a/docs/doxyxml/_open_n_l_p_parser_8java.xml +++ b/docs/doxyxml/_open_n_l_p_parser_8java.xml @@ -1,5 +1,5 @@ - + OpenNLPParser.java roboy::linguistics::sentenceanalysis::OpenNLPParser @@ -250,6 +250,6 @@ } - + diff --git a/docs/doxyxml/_open_n_l_p_parser_test_8java.xml b/docs/doxyxml/_open_n_l_p_parser_test_8java.xml index 18f437ee..82eea008 100644 --- a/docs/doxyxml/_open_n_l_p_parser_test_8java.xml +++ b/docs/doxyxml/_open_n_l_p_parser_test_8java.xml @@ -1,5 +1,5 @@ - + OpenNLPParserTest.java roboy::linguistics::sentenceanalysis::OpenNLPParserTest @@ -111,6 +111,6 @@ } } - + diff --git a/docs/doxyxml/_output_device_8java.xml b/docs/doxyxml/_output_device_8java.xml index 11bb1afe..98404d17 100644 --- a/docs/doxyxml/_output_device_8java.xml +++ b/docs/doxyxml/_output_device_8java.xml @@ -1,5 +1,5 @@ - + OutputDevice.java roboy::io::OutputDevice @@ -19,6 +19,6 @@ publicvoidact(List<Action>actions); } - + diff --git a/docs/doxyxml/_p_a_s_interpreter_8java.xml b/docs/doxyxml/_p_a_s_interpreter_8java.xml index 08fc7dd0..19705254 100644 --- a/docs/doxyxml/_p_a_s_interpreter_8java.xml +++ b/docs/doxyxml/_p_a_s_interpreter_8java.xml @@ -1,5 +1,5 @@ - + PASInterpreter.java roboy::logic::PASInterpreter @@ -156,6 +156,6 @@ } - + diff --git a/docs/doxyxml/_p_a_s_interpreter_test_8java.xml b/docs/doxyxml/_p_a_s_interpreter_test_8java.xml index 93e66b7d..d1b604a5 100644 --- a/docs/doxyxml/_p_a_s_interpreter_test_8java.xml +++ b/docs/doxyxml/_p_a_s_interpreter_test_8java.xml @@ -1,5 +1,5 @@ - + PASInterpreterTest.java roboy::logic::PASInterpreterTest @@ -243,6 +243,6 @@ } } - + diff --git a/docs/doxyxml/_persistent_knowledge_8java.xml b/docs/doxyxml/_persistent_knowledge_8java.xml index 8d6b4985..cbe445ce 100644 --- a/docs/doxyxml/_persistent_knowledge_8java.xml +++ b/docs/doxyxml/_persistent_knowledge_8java.xml @@ -1,5 +1,5 @@ - + PersistentKnowledge.java roboy::memory::PersistentKnowledge @@ -76,6 +76,6 @@ } } - + diff --git a/docs/doxyxml/_personal_q_a_state_8java.xml b/docs/doxyxml/_personal_q_a_state_8java.xml index 53cc48f3..7dcb0e81 100644 --- a/docs/doxyxml/_personal_q_a_state_8java.xml +++ b/docs/doxyxml/_personal_q_a_state_8java.xml @@ -1,5 +1,5 @@ - + PersonalQAState.java roboy::dialog::personality::states::PersonalQAState @@ -18,7 +18,7 @@ importroboy.linguistics.Linguistics; importroboy.linguistics.Linguistics.SEMANTIC_ROLE; importroboy.linguistics.sentenceanalysis.Interpretation; -importroboy.memory.Neo4jRelations; +importroboy.memory.Neo4jRelationships; importroboy.memory.nodes.Interlocutor; importroboy.util.Lists; @@ -26,11 +26,11 @@ privateList<String>questions; privateList<String[]>successTexts; -publicNeo4jRelationspredicate; +publicNeo4jRelationshipspredicate; privateInterlocutorperson; publicPersonalQAState(List<String>questions,List<String>failureTexts, -List<String[]>successTexts,Neo4jRelationspredicate,Interlocutorperson){ +List<String[]>successTexts,Neo4jRelationshipspredicate,Interlocutorperson){ this.questions=questions; this.successTexts=successTexts; this.predicate=predicate; @@ -76,7 +76,7 @@ //WorkingMemory.getInstance().save(newTriple(predicate,name,answer)); //Addthenewinformationaboutthepersontothememory. -person.addInformation(predicate.type,answer); +person.addInformation(predicate.type,answer); List<String>sTexts=newArrayList<>(); @@ -91,6 +91,6 @@ } - + diff --git a/docs/doxyxml/_personality_8java.xml b/docs/doxyxml/_personality_8java.xml index c1c457e1..d019e681 100644 --- a/docs/doxyxml/_personality_8java.xml +++ b/docs/doxyxml/_personality_8java.xml @@ -1,5 +1,5 @@ - + Personality.java roboy::dialog::personality::Personality @@ -21,6 +21,6 @@ publicList<Action>answer(Interpretationinput); } - + diff --git a/docs/doxyxml/_phonetic_encoder_8java.xml b/docs/doxyxml/_phonetic_encoder_8java.xml index 1d4087a5..179ec213 100644 --- a/docs/doxyxml/_phonetic_encoder_8java.xml +++ b/docs/doxyxml/_phonetic_encoder_8java.xml @@ -1,5 +1,5 @@ - + PhoneticEncoder.java roboy::linguistics::phonetics::PhoneticEncoder @@ -16,6 +16,6 @@ publicStringencode(Stringinput); } - + diff --git a/docs/doxyxml/_phonetics_8java.xml b/docs/doxyxml/_phonetics_8java.xml index 598d187f..dde8d906 100644 --- a/docs/doxyxml/_phonetics_8java.xml +++ b/docs/doxyxml/_phonetics_8java.xml @@ -1,5 +1,5 @@ - + Phonetics.java roboy::linguistics::phonetics::Phonetics @@ -46,6 +46,6 @@ } } - + diff --git a/docs/doxyxml/_preprocessor_8java.xml b/docs/doxyxml/_preprocessor_8java.xml index 33b911ce..1b0371df 100644 --- a/docs/doxyxml/_preprocessor_8java.xml +++ b/docs/doxyxml/_preprocessor_8java.xml @@ -1,5 +1,5 @@ - + Preprocessor.java roboy::linguistics::sentenceanalysis::Preprocessor @@ -24,6 +24,6 @@ } } - + diff --git a/docs/doxyxml/_question_answering_state_8java.xml b/docs/doxyxml/_question_answering_state_8java.xml index 773c78a9..b4d3ed5a 100644 --- a/docs/doxyxml/_question_answering_state_8java.xml +++ b/docs/doxyxml/_question_answering_state_8java.xml @@ -1,5 +1,5 @@ - + QuestionAnsweringState.java roboy::dialog::personality::states::QuestionAnsweringState @@ -196,6 +196,6 @@ } } - + diff --git a/docs/doxyxml/_question_answering_state_test_8java.xml b/docs/doxyxml/_question_answering_state_test_8java.xml index 1a91b8b9..bf94fd40 100644 --- a/docs/doxyxml/_question_answering_state_test_8java.xml +++ b/docs/doxyxml/_question_answering_state_test_8java.xml @@ -1,5 +1,5 @@ - + QuestionAnsweringStateTest.java roboy::dialog::personality::states::QuestionAnsweringStateTest @@ -14,89 +14,93 @@ importstaticorg.junit.Assert.*; -importorg.junit.Test; - -importroboy.dialog.action.SpeechAction; -importroboy.linguistics.sentenceanalysis.Interpretation; -importroboy.linguistics.sentenceanalysis.OpenNLPParser; -importroboy.talk.Verbalizer; - -publicclassQuestionAnsweringStateTest{ - -privatestaticfinalOpenNLPParserparser=newOpenNLPParser(); -privatestaticfinalQuestionAnsweringStatestate=newQuestionAnsweringState(newIdleState()); - -@Test -publicvoidtest(){ -Interpretationinterpretation=newInterpretation("WhatistheareacodeofWashington"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("360",reaction.getReactions().get(0).getFeature("sentence")); -} - -@Test -publicvoidtestNotAnswerable(){ -Interpretationinterpretation=newInterpretation("MynameisBob"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("",reaction.getReactions().get(0).getFeature("sentence")); -} - -@Test -publicvoidtestWhenWas(){ -Interpretationinterpretation=newInterpretation("WhenwasPutinborn?"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("1953-03-30",reaction.getReactions().get(0).getFeature("sentence")); -Verbalizerverbalizer=newVerbalizer(); -SpeechActionaction=(SpeechAction)verbalizer.verbalize(reaction.getReactions().get(0)); -assertEquals("Marchthirtiestnineteenhundredfiftythree",action.getText()); -} - -@Test -publicvoidtestWhereWas(){ -Interpretationinterpretation=newInterpretation("WherewasPutinborn?"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("Ryazan",reaction.getReactions().get(0).getFeature("sentence")); -} - -@Test -publicvoidtestWhereDid(){ -Interpretationinterpretation=newInterpretation("WheredidElvisdie?"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("Memphis,Tennessee",reaction.getReactions().get(0).getFeature("sentence")); -} - -@Test -publicvoidtestWhenDid(){ -Interpretationinterpretation=newInterpretation("WhendidElvisdie?"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("1977-08-16",reaction.getReactions().get(0).getFeature("sentence")); -Verbalizerverbalizer=newVerbalizer(); -SpeechActionaction=(SpeechAction)verbalizer.verbalize(reaction.getReactions().get(0)); -assertEquals("Augustsixteenthnineteenhundredseventyseven",action.getText()); -} - -@Test -publicvoidtestHowAdjective(){ -Interpretationinterpretation=newInterpretation("HowhighisMountEverest?"); -interpretation=parser.analyze(interpretation); -Reactionreaction=state.react(interpretation); -assertEquals(1,reaction.getReactions().size()); -assertEquals("8848.0",reaction.getReactions().get(0).getFeature("sentence")); -} - -} +importorg.junit.Ignore; +importorg.junit.Test; + +importroboy.dialog.action.SpeechAction; +importroboy.linguistics.sentenceanalysis.Interpretation; +importroboy.linguistics.sentenceanalysis.OpenNLPParser; +importroboy.talk.Verbalizer; + +publicclassQuestionAnsweringStateTest{ + +privatestaticfinalOpenNLPParserparser=newOpenNLPParser(); +privatestaticfinalQuestionAnsweringStatestate=newQuestionAnsweringState(newIdleState()); + +@Test +publicvoidtest(){ +Interpretationinterpretation=newInterpretation("WhatistheareacodeofWashington"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("360",reaction.getReactions().get(0).getFeature("sentence")); +} + +@Test +publicvoidtestNotAnswerable(){ +Interpretationinterpretation=newInterpretation("MynameisBob"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("",reaction.getReactions().get(0).getFeature("sentence")); +} + +@Test +publicvoidtestWhenWas(){ +Interpretationinterpretation=newInterpretation("WhenwasPutinborn?"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("1953-3-30",reaction.getReactions().get(0).getFeature("sentence")); +Verbalizerverbalizer=newVerbalizer(); +SpeechActionaction=(SpeechAction)verbalizer.verbalize(reaction.getReactions().get(0)); +assertEquals("Marchthirtiestnineteenhundredfiftythree",action.getText()); +} + +@Test +publicvoidtestWhereWas(){ +Interpretationinterpretation=newInterpretation("WherewasPutinborn?"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("Russia",reaction.getReactions().get(0).getFeature("sentence")); +} + +@Test +@Ignore +publicvoidtestWhereDid(){ +Interpretationinterpretation=newInterpretation("WheredidElvisdie?"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("Greenwich,Connecticut",reaction.getReactions().get(0).getFeature("sentence")); +} + +@Test +@Ignore +publicvoidtestWhenDid(){ +Interpretationinterpretation=newInterpretation("WhendidElvisdie?"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("1977-08-16",reaction.getReactions().get(0).getFeature("sentence")); +Verbalizerverbalizer=newVerbalizer(); +SpeechActionaction=(SpeechAction)verbalizer.verbalize(reaction.getReactions().get(0)); +assertEquals("Augustsixteenthnineteenhundredseventyseven",action.getText()); +} + +@Test +@Ignore +publicvoidtestHowAdjective(){ +Interpretationinterpretation=newInterpretation("HowhighisMountEverest?"); +interpretation=parser.analyze(interpretation); +Reactionreaction=state.react(interpretation); +assertEquals(1,reaction.getReactions().size()); +assertEquals("8848.0",reaction.getReactions().get(0).getFeature("sentence")); +} + +} - + diff --git a/docs/doxyxml/_question_asking_state_8java.xml b/docs/doxyxml/_question_asking_state_8java.xml index cd1c8c6c..950b1ddd 100644 --- a/docs/doxyxml/_question_asking_state_8java.xml +++ b/docs/doxyxml/_question_asking_state_8java.xml @@ -1,5 +1,5 @@ - + QuestionAskingState.java roboy::dialog::personality::states::QuestionAskingState @@ -280,6 +280,6 @@ } - + diff --git a/docs/doxyxml/_question_randomizer_state_8java.xml b/docs/doxyxml/_question_randomizer_state_8java.xml index 0b1f6d2b..e8a09559 100644 --- a/docs/doxyxml/_question_randomizer_state_8java.xml +++ b/docs/doxyxml/_question_randomizer_state_8java.xml @@ -1,10 +1,10 @@ - + QuestionRandomizerState.java roboy::dialog::personality::states::QuestionRandomizerState roboy::dialog::personality::states - roboy::memory::Neo4jRelations + roboy::memory::Neo4jRelationships @@ -12,121 +12,120 @@ packageroboy.dialog.personality.states; -importjava.util.ArrayList; -importjava.util.HashMap; -importjava.util.List; -importjava.util.Map; - -importroboy.linguistics.sentenceanalysis.Interpretation; -importroboy.memory.Neo4jRelations; -importroboy.memory.nodes.Interlocutor; -importroboy.util.JsonUtils; - -importstaticroboy.memory.Neo4jRelations.*; - -publicclassQuestionRandomizerStateimplementsState{ -//Favoritemoviecurrentlynotrepresentedinmemory. -//privatestaticfinalStringMOVIE="likesthemovie"; -//TODOaskmemorytoaddrelation. -//TODOTherearenewpredicatesfrommemory,needintegrating. - -privatePersonalQAState[]questionStates; -privatePersonalQAStatelocationQuestion; -privateHashMap<Neo4jRelations,Boolean>alreadyAsked; -privateStateinner; -privateStatechosenState; -privateInterlocutorperson; - -//AllspokenphrasesforaskingquestionsarestoredintheseJSONfiles. -StringquestionsFile="sentences/questions.json"; -StringsuccessAnswersFile="sentences/successAnswers.json"; -StringfailureAnswersFile="sentences/failureAnswers.json"; -Map<String,List<String>>questions; -Map<String,List<String[]>>successAnswers; -Map<String,List<String>>failureAnswers; - -publicQuestionRandomizerState(Stateinner,Interlocutorperson){ -this.inner=inner; -this.person=person; -questions=JsonUtils.getSentencesFromJsonFile(questionsFile); -successAnswers=JsonUtils.getSentenceArraysFromJsonFile(successAnswersFile); -failureAnswers=JsonUtils.getSentencesFromJsonFile(failureAnswersFile); -//alreadyAskedisfilledautomaticallybytheinitializeQuestionmethod, -//thenupdatedtomatchalreadyexistinginformationwithcheckForAskedQuestions() -alreadyAsked=newHashMap<>(); - -locationQuestion=initializeQuestion(FROM); -LocationDBpedialocationDBpedia=newLocationDBpedia(); -locationDBpedia.setSuccess(this); -locationDBpedia.setFailure(this); -locationQuestion.setSuccess(locationDBpedia); -questionStates=newPersonalQAState[]{ -locationQuestion, -initializeQuestion(HAS_HOBBY), -initializeQuestion(WORK_FOR), -initializeQuestion(STUDY_AT) -//TODOrequestsupportforOccupationandMoviedatainthedatabase. -//initializeQuestion(OCCUPATION), -//initializeQuestion(LIKES_MOVIE), -}; -} - -@Override -publicList<Interpretation>act(){ -checkForAskedQuestions(); -//TODORemoveoldcodeaftersuccessfullyswitchingtoNeo4jmemory -//WorkingMemorymemory=WorkingMemory.getInstance(); - -//chosenStatereferstothequestiontobeasked. -chosenState=null; -//List<Triple>nameTriples=memory.retrieve(newTriple("is","name",null)); -//if(nameTriples.isEmpty())returninner.act(); -//Stringname=nameTriples.get(0).patiens; -//List<Triple>infos=memory.retrieve(newTriple(null,name,null)); -//infos.addAll(memory.retrieve(newTriple(null,null,name))); -//TODOwhythisifstatement? -if(Math.random()<1){ -intindex=(int)(Math.random()*questionStates.length); -if(!alreadyAsked.get(questionStates[index].predicate)){ -alreadyAsked.put(questionStates[index].predicate,true); -chosenState=questionStates[index]; -returnchosenState.act(); -} -} -returninner.act(); -} - -@Override -publicReactionreact(Interpretationinput){ -if(chosenState==null){ -returninner.react(input); -} -returnchosenState.react(input); -} - -publicvoidsetTop(Statetop){ -for(inti=1;i<questionStates.length;i++){ -questionStates[i].setNextState(top); -} -} - -privatePersonalQAStateinitializeQuestion(Neo4jRelationsrelation){ -alreadyAsked.put(relation,false); -returnnewPersonalQAState( -questions.get(relation.type), -failureAnswers.get(relation.type), -successAnswers.get(relation.type), -relation,person); -} - -privatevoidcheckForAskedQuestions(){ -for(Neo4jRelationsrelation:alreadyAsked.keySet()){ -if(person.hasRelation(relation))alreadyAsked.put(relation,true); -} -} - -} +importjava.util.HashMap; +importjava.util.List; +importjava.util.Map; + +importroboy.linguistics.sentenceanalysis.Interpretation; +importroboy.memory.Neo4jRelationships; +importroboy.memory.nodes.Interlocutor; +importroboy.util.JsonUtils; + +importstaticroboy.memory.Neo4jRelationships.*; + +publicclassQuestionRandomizerStateimplementsState{ +//Favoritemoviecurrentlynotrepresentedinmemory. +//privatestaticfinalStringMOVIE="likesthemovie"; +//TODOaskmemorytoaddrelation. +//TODOTherearenewpredicatesfrommemory,needintegrating. + +privatePersonalQAState[]questionStates; +privatePersonalQAStatelocationQuestion; +privateHashMap<Neo4jRelationships,Boolean>alreadyAsked; +privateStateinner; +privateStatechosenState; +privateInterlocutorperson; + +//AllspokenphrasesforaskingquestionsarestoredintheseJSONfiles. +StringquestionsFile="sentences/questions.json"; +StringsuccessAnswersFile="sentences/successAnswers.json"; +StringfailureAnswersFile="sentences/failureAnswers.json"; +Map<String,List<String>>questions; +Map<String,List<String[]>>successAnswers; +Map<String,List<String>>failureAnswers; + +publicQuestionRandomizerState(Stateinner,Interlocutorperson){ +this.inner=inner; +this.person=person; +questions=JsonUtils.getSentencesFromJsonFile(questionsFile); +successAnswers=JsonUtils.getSentenceArraysFromJsonFile(successAnswersFile); +failureAnswers=JsonUtils.getSentencesFromJsonFile(failureAnswersFile); +//alreadyAskedisfilledautomaticallybytheinitializeQuestionmethod, +//thenupdatedtomatchalreadyexistinginformationwithcheckForAskedQuestions() +alreadyAsked=newHashMap<>(); + +locationQuestion=initializeQuestion(FROM); +LocationDBpedialocationDBpedia=newLocationDBpedia(); +locationDBpedia.setSuccess(this); +locationDBpedia.setFailure(this); +locationQuestion.setSuccess(locationDBpedia); +questionStates=newPersonalQAState[]{ +locationQuestion, +initializeQuestion(HAS_HOBBY), +initializeQuestion(WORK_FOR), +initializeQuestion(STUDY_AT) +//TODOrequestsupportforOccupationandMoviedatainthedatabase. +//initializeQuestion(OCCUPATION), +//initializeQuestion(LIKES_MOVIE), +}; +} + +@Override +publicList<Interpretation>act(){ +checkForAskedQuestions(); +//TODORemoveoldcodeaftersuccessfullyswitchingtoNeo4jmemory +//WorkingMemorymemory=WorkingMemory.getInstance(); + +//chosenStatereferstothequestiontobeasked. +chosenState=null; +//List<Triple>nameTriples=memory.retrieve(newTriple("is","name",null)); +//if(nameTriples.isEmpty())returninner.act(); +//Stringname=nameTriples.get(0).patiens; +//List<Triple>infos=memory.retrieve(newTriple(null,name,null)); +//infos.addAll(memory.retrieve(newTriple(null,null,name))); +//TODOwhythisifstatement? +if(Math.random()<1){ +intindex=(int)(Math.random()*questionStates.length); +if(!alreadyAsked.get(questionStates[index].predicate)){ +alreadyAsked.put(questionStates[index].predicate,true); +chosenState=questionStates[index]; +returnchosenState.act(); +} +} +returninner.act(); +} + +@Override +publicReactionreact(Interpretationinput){ +if(chosenState==null){ +returninner.react(input); +} +returnchosenState.react(input); +} + +publicvoidsetTop(Statetop){ +for(inti=1;i<questionStates.length;i++){ +questionStates[i].setNextState(top); +} +} + +privatePersonalQAStateinitializeQuestion(Neo4jRelationshipsrelationship){ +alreadyAsked.put(relationship,false); +returnnewPersonalQAState( +questions.get(relationship.type), +failureAnswers.get(relationship.type), +successAnswers.get(relationship.type), +relationship,person); +} + +privatevoidcheckForAskedQuestions(){ +for(Neo4jRelationshipsrelationship:alreadyAsked.keySet()){ +if(person.hasRelationship(relationship))alreadyAsked.put(relationship,true); +} +} + +} - + diff --git a/docs/doxyxml/_reaction_8java.xml b/docs/doxyxml/_reaction_8java.xml index 78cc0441..ab18eb18 100644 --- a/docs/doxyxml/_reaction_8java.xml +++ b/docs/doxyxml/_reaction_8java.xml @@ -1,5 +1,5 @@ - + Reaction.java roboy::dialog::personality::states::Reaction @@ -45,6 +45,6 @@ } - + diff --git a/docs/doxyxml/_relation_8java.xml b/docs/doxyxml/_relation_8java.xml index 005e5988..29c458c7 100644 --- a/docs/doxyxml/_relation_8java.xml +++ b/docs/doxyxml/_relation_8java.xml @@ -1,5 +1,5 @@ - + Relation.java roboy::util::Relation @@ -36,6 +36,6 @@ } - + diff --git a/docs/doxyxml/_roboy_mind_8java.xml b/docs/doxyxml/_roboy_mind_8java.xml index 5f6b55b3..efe7c493 100644 --- a/docs/doxyxml/_roboy_mind_8java.xml +++ b/docs/doxyxml/_roboy_mind_8java.xml @@ -1,5 +1,5 @@ - + RoboyMind.java roboy::memory::RoboyMind @@ -285,6 +285,6 @@ } - + diff --git a/docs/doxyxml/_roboy_name_detection_input_8java.xml b/docs/doxyxml/_roboy_name_detection_input_8java.xml index 8dfdbc16..9daa8d3e 100644 --- a/docs/doxyxml/_roboy_name_detection_input_8java.xml +++ b/docs/doxyxml/_roboy_name_detection_input_8java.xml @@ -1,5 +1,5 @@ - + RoboyNameDetectionInput.java roboy::io::RoboyNameDetectionInput @@ -83,6 +83,6 @@ } } - + diff --git a/docs/doxyxml/_ros_8java.xml b/docs/doxyxml/_ros_8java.xml index cd977b66..e25205c3 100644 --- a/docs/doxyxml/_ros_8java.xml +++ b/docs/doxyxml/_ros_8java.xml @@ -1,5 +1,5 @@ - + Ros.java roboy::ros::Ros @@ -35,6 +35,6 @@ } } - + diff --git a/docs/doxyxml/_ros_clients_8java.xml b/docs/doxyxml/_ros_clients_8java.xml index 1b7b131f..692132c8 100644 --- a/docs/doxyxml/_ros_clients_8java.xml +++ b/docs/doxyxml/_ros_clients_8java.xml @@ -1,5 +1,5 @@ - + RosClients.java roboy::ros::RosClients @@ -38,6 +38,6 @@ } } - + diff --git a/docs/doxyxml/_ros_main_node_8java.xml b/docs/doxyxml/_ros_main_node_8java.xml index ff4711b8..837993ca 100644 --- a/docs/doxyxml/_ros_main_node_8java.xml +++ b/docs/doxyxml/_ros_main_node_8java.xml @@ -1,5 +1,5 @@ - + RosMainNode.java roboy::ros::RosMainNode @@ -41,7 +41,7 @@ publicRosMainNode(){ //Ctoriscalledbutshouldnotbeinitializedoffline. -if(Config.NOROS)return; +if(Config.NOROS&&!Config.MEMORY)return; clients=newRosManager(); @@ -385,6 +385,6 @@ } - + diff --git a/docs/doxyxml/_ros_manager_8java.xml b/docs/doxyxml/_ros_manager_8java.xml index 97abf2b9..52f4cd13 100644 --- a/docs/doxyxml/_ros_manager_8java.xml +++ b/docs/doxyxml/_ros_manager_8java.xml @@ -1,5 +1,5 @@ - + RosManager.java roboy::ros::RosManager @@ -25,36 +25,42 @@ booleansuccess=true; //IteratethroughtheRosClientsenum,mappingaclientforeach. for(RosClientsc:RosClients.values()){ -try{ -clientMap.put(c,node.newServiceClient(c.address,c.type)); -System.out.println(c.toString()+"initializationSUCCESS!"); -}catch(Exceptione){ -success=false; -System.out.println(c.toString()+"initializationFAILED,couldnotreachROSservice!"); -} -} -if(Config.SHUTDOWN_ON_SERVICE_FAILURE&&!success){ -thrownewRuntimeException("DialogSystemshutdowncausedbyROSserviceinitializationfailure."); -} -returnsuccess; -} - -booleannotInitialized(RosClientsc){ -if(clientMap==null){ -if(Config.SHUTDOWN_ON_SERVICE_FAILURE){ -thrownewRuntimeException("ROSclientshavenotbeeninitialized!StoppingDMexecution."); -} -System.out.println("ROSclientshavenotbeeninitialized!IstheROShostrunning?"); -returntrue; -} -return!clientMap.containsKey(c); -} - -ServiceClientgetServiceClient(RosClientsc){ -returnclientMap.get(c); -} -} +//Donotinitializenon-memoryservicesifNOROS,butMemory! +if(Config.NOROS&&Config.MEMORY){ +if(!c.address.contains("memory")){ +continue; +} +} +try{ +clientMap.put(c,node.newServiceClient(c.address,c.type)); +System.out.println(c.toString()+"initializationSUCCESS!"); +}catch(Exceptione){ +success=false; +System.out.println(c.toString()+"initializationFAILED,couldnotreachROSservice!"); +} +} +if(Config.SHUTDOWN_ON_SERVICE_FAILURE&&!success){ +thrownewRuntimeException("DialogSystemshutdowncausedbyROSserviceinitializationfailure."); +} +returnsuccess; +} + +booleannotInitialized(RosClientsc){ +if(clientMap==null){ +if(Config.SHUTDOWN_ON_SERVICE_FAILURE){ +thrownewRuntimeException("ROSclientshavenotbeeninitialized!StoppingDMexecution."); +} +System.out.println("ROSclientshavenotbeeninitialized!IstheROShostrunning?"); +returntrue; +} +return!clientMap.containsKey(c); +} + +ServiceClientgetServiceClient(RosClientsc){ +returnclientMap.get(c); +} +} - + diff --git a/docs/doxyxml/_segue_state_8java.xml b/docs/doxyxml/_segue_state_8java.xml index bedd6d7f..09887a40 100644 --- a/docs/doxyxml/_segue_state_8java.xml +++ b/docs/doxyxml/_segue_state_8java.xml @@ -1,5 +1,5 @@ - + SegueState.java roboy::dialog::personality::states::SegueState @@ -108,6 +108,6 @@ } - + diff --git a/docs/doxyxml/_sentence_analyzer_8java.xml b/docs/doxyxml/_sentence_analyzer_8java.xml index fbcdb483..6396d368 100644 --- a/docs/doxyxml/_sentence_analyzer_8java.xml +++ b/docs/doxyxml/_sentence_analyzer_8java.xml @@ -1,5 +1,5 @@ - + SentenceAnalyzer.java roboy::linguistics::sentenceanalysis::SentenceAnalyzer @@ -204,6 +204,6 @@ //} } - + diff --git a/docs/doxyxml/_shut_down_action_8java.xml b/docs/doxyxml/_shut_down_action_8java.xml index 1cf15f64..dd3bfbd9 100644 --- a/docs/doxyxml/_shut_down_action_8java.xml +++ b/docs/doxyxml/_shut_down_action_8java.xml @@ -1,5 +1,5 @@ - + ShutDownAction.java roboy::dialog::action::ShutDownAction @@ -27,6 +27,6 @@ } - + diff --git a/docs/doxyxml/_simple_tokenizer_8java.xml b/docs/doxyxml/_simple_tokenizer_8java.xml index fe361ef0..62387e70 100644 --- a/docs/doxyxml/_simple_tokenizer_8java.xml +++ b/docs/doxyxml/_simple_tokenizer_8java.xml @@ -1,5 +1,5 @@ - + SimpleTokenizer.java roboy::linguistics::sentenceanalysis::SimpleTokenizer @@ -28,6 +28,6 @@ } } - + diff --git a/docs/doxyxml/_small_talk_personality_8java.xml b/docs/doxyxml/_small_talk_personality_8java.xml index 7904de78..46969265 100644 --- a/docs/doxyxml/_small_talk_personality_8java.xml +++ b/docs/doxyxml/_small_talk_personality_8java.xml @@ -1,5 +1,5 @@ - + SmallTalkPersonality.java roboy::dialog::personality::SmallTalkPersonality @@ -153,6 +153,6 @@ } } - + diff --git a/docs/doxyxml/_soundex_encoder_8java.xml b/docs/doxyxml/_soundex_encoder_8java.xml index 5853b83d..8f26b9ea 100644 --- a/docs/doxyxml/_soundex_encoder_8java.xml +++ b/docs/doxyxml/_soundex_encoder_8java.xml @@ -1,5 +1,5 @@ - + SoundexEncoder.java roboy::linguistics::phonetics::SoundexEncoder @@ -29,6 +29,6 @@ } - + diff --git a/docs/doxyxml/_speech_action_8java.xml b/docs/doxyxml/_speech_action_8java.xml index 1d32e094..74528b47 100644 --- a/docs/doxyxml/_speech_action_8java.xml +++ b/docs/doxyxml/_speech_action_8java.xml @@ -1,5 +1,5 @@ - + SpeechAction.java roboy::dialog::action::SpeechAction @@ -24,6 +24,6 @@ } } - + diff --git a/docs/doxyxml/_state_8java.xml b/docs/doxyxml/_state_8java.xml index fd4e8ea1..71a6ecb0 100644 --- a/docs/doxyxml/_state_8java.xml +++ b/docs/doxyxml/_state_8java.xml @@ -1,5 +1,5 @@ - + State.java roboy::dialog::personality::states::State @@ -22,6 +22,6 @@ publicReactionreact(Interpretationinput); } - + diff --git a/docs/doxyxml/_statement_builder_8java.xml b/docs/doxyxml/_statement_builder_8java.xml index 0546a472..f2259b8d 100644 --- a/docs/doxyxml/_statement_builder_8java.xml +++ b/docs/doxyxml/_statement_builder_8java.xml @@ -1,5 +1,5 @@ - + StatementBuilder.java roboy::talk::StatementBuilder @@ -20,6 +20,6 @@ } } - + diff --git a/docs/doxyxml/_statement_interpreter_8java.xml b/docs/doxyxml/_statement_interpreter_8java.xml index 49df4014..62bb9fdb 100644 --- a/docs/doxyxml/_statement_interpreter_8java.xml +++ b/docs/doxyxml/_statement_interpreter_8java.xml @@ -1,5 +1,5 @@ - + StatementInterpreter.java roboy::logic::StatementInterpreter @@ -23,6 +23,6 @@ } } - + diff --git a/docs/doxyxml/_term_8java.xml b/docs/doxyxml/_term_8java.xml index 8b0070c7..d94e0694 100644 --- a/docs/doxyxml/_term_8java.xml +++ b/docs/doxyxml/_term_8java.xml @@ -1,5 +1,5 @@ - + Term.java roboy::linguistics::Term @@ -24,6 +24,6 @@ } } - + diff --git a/docs/doxyxml/_triple_8java.xml b/docs/doxyxml/_triple_8java.xml index c526af9c..81385977 100644 --- a/docs/doxyxml/_triple_8java.xml +++ b/docs/doxyxml/_triple_8java.xml @@ -1,5 +1,5 @@ - + Triple.java roboy::linguistics::Triple @@ -32,6 +32,6 @@ //} } - + diff --git a/docs/doxyxml/_udp_input_8java.xml b/docs/doxyxml/_udp_input_8java.xml index ef8c2747..1438e192 100644 --- a/docs/doxyxml/_udp_input_8java.xml +++ b/docs/doxyxml/_udp_input_8java.xml @@ -1,5 +1,5 @@ - + UdpInput.java roboy::io::UdpInput @@ -46,6 +46,6 @@ - + diff --git a/docs/doxyxml/_udp_output_8java.xml b/docs/doxyxml/_udp_output_8java.xml index 2478902f..56be80a9 100644 --- a/docs/doxyxml/_udp_output_8java.xml +++ b/docs/doxyxml/_udp_output_8java.xml @@ -1,5 +1,5 @@ - + UdpOutput.java roboy::io::UdpOutput @@ -53,6 +53,6 @@ } } - + diff --git a/docs/doxyxml/_util_8java.xml b/docs/doxyxml/_util_8java.xml index fd8aebc1..6cdc4a11 100644 --- a/docs/doxyxml/_util_8java.xml +++ b/docs/doxyxml/_util_8java.xml @@ -1,5 +1,5 @@ - + Util.java roboy::memory::Util @@ -64,6 +64,6 @@ } } - + diff --git a/docs/doxyxml/_verbalizer_8java.xml b/docs/doxyxml/_verbalizer_8java.xml index beeb113d..1f212d79 100644 --- a/docs/doxyxml/_verbalizer_8java.xml +++ b/docs/doxyxml/_verbalizer_8java.xml @@ -1,5 +1,5 @@ - + Verbalizer.java roboy::talk::Verbalizer @@ -221,6 +221,6 @@ } - + diff --git a/docs/doxyxml/_verbalizer_test_8java.xml b/docs/doxyxml/_verbalizer_test_8java.xml index cd1f0f7d..0f0127c1 100644 --- a/docs/doxyxml/_verbalizer_test_8java.xml +++ b/docs/doxyxml/_verbalizer_test_8java.xml @@ -1,5 +1,5 @@ - + VerbalizerTest.java roboy::talk::VerbalizerTest @@ -37,6 +37,6 @@ } - + diff --git a/docs/doxyxml/_vision_8java.xml b/docs/doxyxml/_vision_8java.xml index aaa2d42a..380e9ded 100644 --- a/docs/doxyxml/_vision_8java.xml +++ b/docs/doxyxml/_vision_8java.xml @@ -1,5 +1,5 @@ - + Vision.java roboy::io::Vision @@ -82,6 +82,6 @@ } - + diff --git a/docs/doxyxml/_wild_talk_state_8java.xml b/docs/doxyxml/_wild_talk_state_8java.xml index 3c2c13eb..e395ba6a 100644 --- a/docs/doxyxml/_wild_talk_state_8java.xml +++ b/docs/doxyxml/_wild_talk_state_8java.xml @@ -1,5 +1,5 @@ - + WildTalkState.java roboy::dialog::personality::states::WildTalkState @@ -60,6 +60,6 @@ } } - + diff --git a/docs/doxyxml/_working_memory_8java.xml b/docs/doxyxml/_working_memory_8java.xml index 9450f79d..699a2564 100644 --- a/docs/doxyxml/_working_memory_8java.xml +++ b/docs/doxyxml/_working_memory_8java.xml @@ -1,5 +1,5 @@ - + WorkingMemory.java roboy::memory::WorkingMemory @@ -107,6 +107,6 @@ } - + diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1_config.xml b/docs/doxyxml/classroboy_1_1dialog_1_1_config.xml index ebf2fada..22ece53e 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1_config.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1_config.xml @@ -1,5 +1,5 @@ - + roboy::dialog::Config roboy::dialog::Config::ConfigurationProfile @@ -16,7 +16,7 @@ - + boolean @@ -30,7 +30,7 @@ - + boolean @@ -44,7 +44,7 @@ - + boolean @@ -58,7 +58,7 @@ - + String @@ -72,7 +72,21 @@ - + + + + boolean + boolean roboy.dialog.Config.MEMORY + + MEMORY + = true + +If true, memory will be queried. + +Ensure that if NOROS=false, then MEMORY=true. When NOROS=true, MEMORY can be either true or false. + + + @@ -88,7 +102,7 @@ - + @@ -103,7 +117,7 @@ - + @@ -122,7 +136,7 @@ - + @@ -150,7 +164,7 @@ - + @@ -165,7 +179,7 @@ - + void @@ -178,7 +192,7 @@ - + void @@ -191,7 +205,7 @@ - + void @@ -204,7 +218,20 @@ - + + + + void + void roboy.dialog.Config.setMemoryProfile + () + setMemoryProfile + + + + + + + void @@ -217,7 +244,7 @@ - + @@ -225,26 +252,28 @@ 1) Configuration variables define alternating behaviors. 2) To create a combination of configurations, add a new profile to Configurations and implement its setProfile method. - + - + - + yamlConfig - + roboy::dialog::ConfigConfig roboy::dialog::ConfiggetProfileFromEnvironment roboy::dialog::ConfiginitializeYAMLConfig + roboy::dialog::ConfigMEMORY roboy::dialog::ConfigNOROS roboy::dialog::ConfigROS_HOSTNAME roboy::dialog::ConfigsetDebugProfile roboy::dialog::ConfigsetDefaultProfile + roboy::dialog::ConfigsetMemoryProfile roboy::dialog::ConfigsetNoROSProfile roboy::dialog::ConfigsetStandaloneProfile roboy::dialog::ConfigSHUTDOWN_ON_ROS_FAILURE diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1_dialog_system.xml b/docs/doxyxml/classroboy_1_1dialog_1_1_dialog_system.xml index 9e900522..326ea807 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1_dialog_system.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1_dialog_system.xml @@ -1,5 +1,5 @@ - + roboy::dialog::DialogSystem @@ -9,7 +9,7 @@ (String[] args) main - String[] + String [] args throws JsonIOException, IOException, InterruptedException @@ -19,7 +19,7 @@ - + @@ -36,7 +36,7 @@ Output devices: For testing with command line: CommandLineOutputFor text to speech: BingOutput (requires internet)For combining multiple outputs: MultiOutputDeviceFor text to speech + facial expressions: CerevoiceOutputFor facial expressions: EmotionOutputFor text to speech (worse quality): FreeTTSOutput The easiest way to create ones own Roboy communication application is to pick the input and output devices provided here, use the tokenization, POS tagging and possibly semantic role labeling (though still under development) if needed and write an own personality. If one wants to use the DBpedia, Protege, generative model or state machine stuff, one has to dig deeper into the small talk personality and see how it is used there. - + roboy::dialog::DialogSystemmain diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_face_action.xml b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_face_action.xml index 681072b1..5dd24705 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_face_action.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_face_action.xml @@ -1,5 +1,5 @@ - + roboy::dialog::action::FaceAction roboy.dialog.action.Action @@ -15,7 +15,7 @@ - + int @@ -28,7 +28,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -91,7 +91,7 @@ - + String @@ -104,7 +104,7 @@ - + int @@ -117,7 +117,7 @@ - + @@ -125,30 +125,30 @@ - + - + - + - + - + - + - + roboy::dialog::action::FaceActionduration roboy::dialog::action::FaceActionFaceAction diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_shut_down_action.xml b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_shut_down_action.xml index d945b594..a9116ebd 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_shut_down_action.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_shut_down_action.xml @@ -1,5 +1,5 @@ - + roboy::dialog::action::ShutDownAction roboy.dialog.action.Action @@ -15,7 +15,7 @@ - + @@ -42,7 +42,7 @@ - + List< Action > @@ -55,7 +55,7 @@ - + @@ -63,36 +63,36 @@ Sending a ShutDownAction leads the dialog manager to leave the communication loop in the DialogManager class and quit the program after uttering the given last words. - + - + - + - + - + - + - + lastwords - + - + roboy::dialog::action::ShutDownActiongetLastWords roboy::dialog::action::ShutDownActionlastwords diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_speech_action.xml b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_speech_action.xml index 0d42d383..2076f0f2 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_speech_action.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1action_1_1_speech_action.xml @@ -1,5 +1,5 @@ - + roboy::dialog::action::SpeechAction roboy.dialog.action.Action @@ -15,7 +15,7 @@ - + @@ -42,7 +42,7 @@ - + String @@ -55,7 +55,7 @@ - + @@ -63,30 +63,30 @@ - + - + - + - + - + - + - + roboy::dialog::action::SpeechActiongetText roboy::dialog::action::SpeechActionSpeechAction diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_curious_personality.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_curious_personality.xml index 5e28042d..7122cb35 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_curious_personality.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_curious_personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::CuriousPersonality roboy.dialog.personality.Personality @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ - + List< Action > @@ -58,7 +58,7 @@ - + @@ -85,7 +85,7 @@ - + @@ -95,7 +95,7 @@ (String[] args) main - String[] + String [] args throws Exception @@ -105,7 +105,7 @@ - + @@ -113,36 +113,36 @@ - + - + - + - + - + - + - + - + memory - + roboy::dialog::personality::CuriousPersonalityanswer roboy::dialog::personality::CuriousPersonalityCuriousPersonality diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_default_personality.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_default_personality.xml index 9c4afa28..b50f13c1 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_default_personality.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_default_personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::DefaultPersonality roboy.dialog.personality.Personality @@ -19,7 +19,7 @@ - + final List< String > @@ -35,7 +35,7 @@ - + final List< String > @@ -51,7 +51,7 @@ - + final List< String > @@ -66,7 +66,7 @@ - + final List< String > @@ -81,7 +81,7 @@ - + final List< String > @@ -96,7 +96,7 @@ - + @@ -112,7 +112,7 @@ - + @@ -141,7 +141,7 @@ - + @@ -164,7 +164,7 @@ - + String @@ -181,7 +181,7 @@ - + boolean @@ -202,7 +202,7 @@ - + @@ -210,35 +210,35 @@ - + - + - + - + - + - + - + - + - + introduction farewells positive @@ -246,12 +246,12 @@ greetings agreement - + state - + roboy::dialog::personality::DefaultPersonalityagreement roboy::dialog::personality::DefaultPersonalityanswer diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_knock_knock_personality.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_knock_knock_personality.xml index 7cc3c093..0ec0e98b 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_knock_knock_personality.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_knock_knock_personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::KnockKnockPersonality roboy.dialog.personality.Personality @@ -17,10 +17,10 @@ - + - String[] + String [] String [] roboy.dialog.personality.KnockKnockPersonality.joke joke @@ -30,10 +30,10 @@ - + - String[][] + String [][] String [][] roboy.dialog.personality.KnockKnockPersonality.jokes jokes @@ -72,7 +72,7 @@ - + @@ -92,12 +92,12 @@ - + - String[] + String [] String [] roboy.dialog.personality.KnockKnockPersonality.pickJoke () pickJoke @@ -107,7 +107,7 @@ - + @@ -115,37 +115,37 @@ This should later be include in sensible states and used in the normal small talk personality. - + - + - + - + - + - + - + - + state - + roboy::dialog::personality::KnockKnockPersonalityanswer roboy::dialog::personality::KnockKnockPersonalityjoke diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_small_talk_personality.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_small_talk_personality.xml index a874ed98..91a7c209 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_small_talk_personality.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1_small_talk_personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::SmallTalkPersonality roboy.dialog.personality.Personality @@ -15,7 +15,7 @@ - + State @@ -28,7 +28,7 @@ - + Verbalizer @@ -41,7 +41,7 @@ - + RosMainNode @@ -54,7 +54,7 @@ - + Interlocutor @@ -67,7 +67,7 @@ - + @@ -85,7 +85,7 @@ - + @@ -108,7 +108,7 @@ - + List< Action > @@ -126,7 +126,7 @@ Each state returns a reaction to what was said and then proactively takes an action of its own. Both are combined to return the list of output actions. - + String @@ -139,7 +139,7 @@ - + void @@ -156,7 +156,7 @@ - + @@ -171,7 +171,7 @@ - + @@ -179,159 +179,159 @@ It tries to engage with people in a general small talk, remembers what was said and answers questions. The small talk personality is based on a state machine, where each input is interpreted in the context of the state Roboy is currently in to determine respective answers.The current state machine looks like this:Greeting state | V Introduction state | V Question Randomizer state |_Question Answering state |_Segue state |_Wild talk stateThe Question Randomizer, Question Answering, Segue and Wilk talk states are stacked. If one cannot give an appropriate reaction to the given utterance, the utterance is passed on to the next one. The Wild talk state will always answer.If a farewell is uttered the personality re-initializes to the Greeting state.What the states do: Greeting: Utters a greating Introduction: Introduces himself and asks for the others name. Reacts differently depending on whether the other person is known. Question Randomizer: Asks the other one questions about himself and stores the answers in Roboy's memory. Question Answering: Answers questions if they are asked and Roboy knows the answer. Segue: Tells anecdotes from Today-I-Learneds from Reddit if corresponding keywords are mentioned. Wild talk: Talks according to a neural network model trained on chat logs. - + - + - + - + - + - + - + - + - + - + properties - + labels - - relations + + relationships - + - + - + preAnecdotes farewells greetings anecdotes segues - + tenthNumberMap lowNumberMap - + dayNumberMap monthNumberMap - + - + person - + memory - + - + - + - + - + - + clients - + rosConnectionLatch - + - + - + person - + state - + positive - + rosMainNode - + verbalizer - + - + - + - + clientMap - + - + - + - + - + gson - + rosMainNode - + memory - + roboy::dialog::personality::SmallTalkPersonalityanswer roboy::dialog::personality::SmallTalkPersonalitygetName diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_abstract_boolean_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_abstract_boolean_state.xml index 1337bbda..12cc6591 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_abstract_boolean_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_abstract_boolean_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::AbstractBooleanState roboy.dialog.personality.states.State @@ -23,7 +23,7 @@ - + State @@ -36,7 +36,7 @@ - + @@ -52,7 +52,7 @@ - + List< String > @@ -66,7 +66,7 @@ - + @@ -81,7 +81,7 @@ - + void @@ -106,7 +106,7 @@ - + State @@ -119,7 +119,7 @@ - + void @@ -144,7 +144,7 @@ - + void @@ -161,7 +161,7 @@ - + void @@ -178,7 +178,7 @@ - + void @@ -195,7 +195,7 @@ - + Reaction @@ -213,7 +213,7 @@ - + @@ -241,7 +241,7 @@ - + @@ -249,89 +249,89 @@ The determineSuccess method needs to be implemented by subclass to determine if the success or failure state should be moved into next. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::AbstractBooleanStateact roboy::dialog::personality::states::AbstractBooleanStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_anecdote_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_anecdote_state.xml index a601e42c..f3d95758 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_anecdote_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_anecdote_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::AnecdoteState roboy.dialog.personality.states.State @@ -15,7 +15,7 @@ - + String @@ -28,7 +28,7 @@ - + @@ -51,7 +51,7 @@ - + List< Interpretation > @@ -65,7 +65,7 @@ - + Reaction @@ -83,7 +83,7 @@ - + @@ -91,33 +91,33 @@ Used for telling anecdotes. - + - + - + - + - + - + nextState - + - + roboy::dialog::personality::states::AnecdoteStateact roboy::dialog::personality::states::AnecdoteStateanecdote diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_celebrity_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_celebrity_state.xml index 890a091c..4ae3d345 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_celebrity_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_celebrity_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::CelebrityState roboy.dialog.personality.states.State @@ -30,7 +30,7 @@ - + final List< String > @@ -68,7 +68,7 @@ - + @@ -83,7 +83,7 @@ - + State @@ -96,7 +96,7 @@ - + @@ -115,7 +115,7 @@ - + void @@ -132,7 +132,7 @@ - + List< Interpretation > @@ -146,7 +146,7 @@ - + Reaction @@ -164,7 +164,7 @@ - + @@ -172,41 +172,41 @@ If no trigger sentence was used, the given inner state is executed instead. - + - + - + - + - + - + - + - + top inner - + formulations triggerSentences - + roboy::dialog::personality::states::CelebrityStateact roboy::dialog::personality::states::CelebrityStateCelebrityState diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_converse_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_converse_state.xml index 2693f84e..b64c2346 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_converse_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_converse_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::ConverseState roboy.dialog.personality.states.AbstractBooleanState @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + List< Interpretation > @@ -44,7 +44,7 @@ - + Reaction @@ -62,7 +62,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -89,56 +89,56 @@ - + - + - + - + - + - + - + - + inner - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::ConverseStateact roboy::dialog::personality::states::ConverseStateConverseState diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_farewell_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_farewell_state.xml index 7e443bff..88aebb7f 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_farewell_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_farewell_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::FarewellState roboy.dialog.personality.states.State @@ -15,7 +15,7 @@ - + List< Interpretation > @@ -29,7 +29,7 @@ - + Reaction @@ -47,7 +47,7 @@ - + @@ -55,30 +55,30 @@ - + - + - + - + - + - + - + roboy::dialog::personality::states::FarewellStateact roboy::dialog::personality::states::FarewellStateFarewellState diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_generative_communication_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_generative_communication_state.xml index d5a0910a..d524b2c5 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_generative_communication_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_generative_communication_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::GenerativeCommunicationState roboy.dialog.personality.states.AbstractBooleanState @@ -16,7 +16,7 @@ - + @@ -32,7 +32,7 @@ - + @@ -51,7 +51,7 @@ - + @@ -59,53 +59,53 @@ - + - + - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::GenerativeCommunicationStateact roboy::dialog::personality::states::GenerativeCommunicationStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_greeting_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_greeting_state.xml index b0d7c917..3f783389 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_greeting_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_greeting_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::GreetingState roboy.dialog.personality.states.AbstractBooleanState @@ -16,7 +16,7 @@ - + Reaction @@ -34,7 +34,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -61,53 +61,53 @@ - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + - + - + roboy::dialog::personality::states::GreetingStateact roboy::dialog::personality::states::GreetingStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_idle_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_idle_state.xml index d35115dd..5b38be08 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_idle_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_idle_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::IdleState roboy.dialog.personality.states.AbstractBooleanState @@ -16,7 +16,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -43,53 +43,53 @@ - + - + - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::IdleStateact roboy::dialog::personality::states::IdleStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_inquiry_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_inquiry_state.xml index e5c76fb1..0339df64 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_inquiry_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_inquiry_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::InquiryState roboy.dialog.personality.states.AbstractBooleanState @@ -15,7 +15,7 @@ - + List< String > @@ -28,7 +28,7 @@ - + String @@ -41,7 +41,7 @@ - + @@ -90,7 +90,7 @@ - + List< Interpretation > @@ -104,7 +104,7 @@ - + @@ -123,7 +123,7 @@ - + @@ -131,56 +131,56 @@ Moves to the success state if the answer consists one of these terms and to the failure state if not. - + - + - + - + - + - + - + - + successTerms - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::InquiryStateact roboy::dialog::personality::states::InquiryStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_introduction_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_introduction_state.xml index f6907108..e6357501 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_introduction_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_introduction_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::IntroductionState roboy.dialog.personality.states.AbstractBooleanState @@ -16,7 +16,7 @@ - + @@ -35,7 +35,7 @@ - + @@ -54,7 +54,7 @@ - + List< Interpretation > @@ -68,7 +68,7 @@ - + @@ -87,7 +87,7 @@ - + @@ -95,141 +95,141 @@ Moves to success state if the answer is at most 2 words. - + - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + - + properties - + labels - - relations + + relationships - + - + - + person - + memory - + - + - + - + - + - + clients - + rosConnectionLatch - + - + - + - + person - + introductions - + - + clientMap - + - + - + - + - + gson - + rosMainNode - + memory - + roboy::dialog::personality::states::IntroductionStateact roboy::dialog::personality::states::IntroductionStatedetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia.xml index 68d7b6ee..a0f6a46a 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::LocationDBpedia roboy.dialog.personality.states.AbstractBooleanState @@ -16,7 +16,7 @@ - + boolean @@ -33,7 +33,7 @@ - + Reaction @@ -51,7 +51,7 @@ - + @@ -59,53 +59,53 @@ - + - + - + - + - + - + - + - + - + - + success failure - + failureTexts successTexts - + - + - + roboy::dialog::personality::states::LocationDBpediaact roboy::dialog::personality::states::LocationDBpediadetermineSuccess diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia_state_test.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia_state_test.xml index e36c07a5..09f51f0c 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia_state_test.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_location_d_bpedia_state_test.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::LocationDBpediaStateTest @@ -14,7 +14,7 @@ - + void @@ -27,14 +27,14 @@ - + Created by roboy on 7/5/17. - + roboy::dialog::personality::states::LocationDBpediaStateTesttestCity roboy::dialog::personality::states::LocationDBpediaStateTesttestCountry diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_personal_q_a_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_personal_q_a_state.xml index 016280be..c050d025 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_personal_q_a_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_personal_q_a_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::PersonalQAState roboy.dialog.personality.states.AbstractBooleanState @@ -15,7 +15,7 @@ - + List< String[]> @@ -28,7 +28,7 @@ - + Interlocutor @@ -41,13 +41,13 @@ - + - - Neo4jRelations - Neo4jRelations roboy.dialog.personality.states.PersonalQAState.predicate + + Neo4jRelationships + Neo4jRelationships roboy.dialog.personality.states.PersonalQAState.predicate predicate @@ -56,14 +56,14 @@ - + - + roboy.dialog.personality.states.PersonalQAState.PersonalQAState - (List< String > questions, List< String > failureTexts, List< String[]> successTexts, Neo4jRelations predicate, Interlocutor person) + (List< String > questions, List< String > failureTexts, List< String[]> successTexts, Neo4jRelationships predicate, Interlocutor person) PersonalQAState List< String > @@ -78,7 +78,7 @@ successTexts - Neo4jRelations + Neo4jRelationships predicate @@ -91,7 +91,7 @@ - + List< Interpretation > @@ -105,7 +105,7 @@ - + @@ -124,7 +124,7 @@ As locations, hobbies, workplaces etc are individual nodes in memory, those will be retrieved or created if necessary. - + @@ -132,154 +132,154 @@ - + - + - + - + - + - - - - - + - + + + + + - + - + - + success failure - + failureTexts successTexts - + - + - + - + properties - + labels - - relations + + relationships - + - + - + person - + memory - + - + - + - + - + - + clients - + rosConnectionLatch - + - + - + - + person - + successTexts - + questions - + predicate - + - + clientMap - + - + - + - + - + gson - + rosMainNode - + memory - + roboy::dialog::personality::states::PersonalQAStateact roboy::dialog::personality::states::PersonalQAStatedetermineSuccess @@ -287,8 +287,8 @@ roboy::dialog::personality::states::PersonalQAStategetFailure roboy::dialog::personality::states::PersonalQAStategetSuccess roboy::dialog::personality::states::PersonalQAStateperson - roboy::dialog::personality::states::PersonalQAStatePersonalQAState - roboy::dialog::personality::states::PersonalQAStatepredicate + roboy::dialog::personality::states::PersonalQAStatePersonalQAState + roboy::dialog::personality::states::PersonalQAStatepredicate roboy::dialog::personality::states::PersonalQAStatequestions roboy::dialog::personality::states::PersonalQAStatereact roboy::dialog::personality::states::PersonalQAStatesetFailure diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state.xml index 54a940a2..f954ee28 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::QuestionAnsweringState roboy.dialog.personality.states.State @@ -16,7 +16,7 @@ - + List< Triple > @@ -29,7 +29,7 @@ - + State @@ -42,7 +42,7 @@ - + State @@ -55,7 +55,7 @@ - + List< Memory< Relation > > @@ -68,7 +68,7 @@ - + @@ -87,7 +87,7 @@ - + void @@ -104,7 +104,7 @@ - + List< Interpretation > @@ -118,7 +118,7 @@ - + Reaction @@ -136,7 +136,7 @@ Then checks its knowledge base to come up with an answer. - + @@ -159,7 +159,7 @@ - + List< Triple > @@ -184,7 +184,7 @@ - + @@ -192,46 +192,46 @@ - + - + - + - + - + - + - + memories - + top inner - + memory - + - + - + roboy::dialog::personality::states::QuestionAnsweringStateact roboy::dialog::personality::states::QuestionAnsweringStatefirst diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state_test.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state_test.xml index bb36d1f1..e773aa5b 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state_test.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_answering_state_test.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::QuestionAnsweringStateTest @@ -15,7 +15,7 @@ - + final QuestionAnsweringState @@ -29,7 +29,7 @@ - + @@ -44,7 +44,7 @@ - + void @@ -57,7 +57,7 @@ - + void @@ -70,7 +70,7 @@ - + void @@ -83,7 +83,7 @@ - + void @@ -96,7 +96,7 @@ - + void @@ -109,7 +109,7 @@ - + void @@ -122,7 +122,7 @@ - + @@ -130,60 +130,60 @@ - + - + - + - + memories - + top inner - + memory - + - + parser - + state - + - + - + - + - + - + - + parser - + roboy::dialog::personality::states::QuestionAnsweringStateTestparser roboy::dialog::personality::states::QuestionAnsweringStateTeststate diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_asking_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_asking_state.xml index 4d36103d..a39dc3e6 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_asking_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_asking_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::QuestionAskingState roboy.dialog.personality.states.State @@ -15,7 +15,7 @@ - + String @@ -28,7 +28,7 @@ - + int @@ -41,7 +41,7 @@ - + Map< String, List< String > > @@ -54,7 +54,7 @@ - + Random @@ -67,7 +67,7 @@ - + Map< String, State > @@ -80,7 +80,7 @@ - + SmallTalkPersonality @@ -93,7 +93,7 @@ - + @@ -109,7 +109,7 @@ - + final SimpleTokenizer @@ -123,7 +123,7 @@ - + final OpenNLPPPOSTagger @@ -137,7 +137,7 @@ - + final OpenNLPParser @@ -151,7 +151,7 @@ - + final AnswerAnalyzer @@ -165,7 +165,7 @@ - + @@ -192,7 +192,7 @@ - + List< Interpretation > @@ -206,7 +206,7 @@ - + Reaction @@ -224,7 +224,7 @@ - + @@ -243,7 +243,7 @@ - + @@ -258,7 +258,7 @@ - + Interpretation @@ -272,7 +272,7 @@ - + List< Interpretation > @@ -289,7 +289,7 @@ - + String @@ -306,7 +306,7 @@ - + String @@ -323,7 +323,7 @@ - + @@ -331,245 +331,245 @@ - + - + - + - + - + - + - + - + - + - + - + - + tagger - + - + - + - + properties - + labels - - relations + + relationships - + - + - + preAnecdotes farewells greetings anecdotes segues - + tenthNumberMap lowNumberMap - + dayNumberMap monthNumberMap - + - + person - + memory - + - + - + - + - + - + - + - + clients - + rosConnectionLatch - + - + - + person - + state - + positive - + rosMainNode - + verbalizer - + - + - + - + attributes - + - + - + - + - + - + - + clientMap - + - + - + - + parser - + - + - + - + gson - + rosMainNode - + memory - + - + - + answer - + parser - + pos - + personality - + tokenizer - + questions - + objectOfFocus - + children - + roboy::dialog::personality::states::QuestionAskingStateact roboy::dialog::personality::states::QuestionAskingStateanalyzeObject diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_randomizer_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_randomizer_state.xml index 5e8f765e..724b4bf8 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_randomizer_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_question_randomizer_state.xml @@ -1,11 +1,11 @@ - + roboy::dialog::personality::states::QuestionRandomizerState roboy.dialog.personality.states.State - PersonalQAState[] + PersonalQAState [] PersonalQAState [] roboy.dialog.personality.states.QuestionRandomizerState.questionStates questionStates @@ -15,7 +15,7 @@ - + PersonalQAState @@ -28,11 +28,11 @@ - + - - HashMap< Neo4jRelations, Boolean > - HashMap<Neo4jRelations, Boolean> roboy.dialog.personality.states.QuestionRandomizerState.alreadyAsked + + HashMap< Neo4jRelationships, Boolean > + HashMap<Neo4jRelationships, Boolean> roboy.dialog.personality.states.QuestionRandomizerState.alreadyAsked alreadyAsked @@ -41,7 +41,7 @@ - + State @@ -54,7 +54,7 @@ - + State @@ -67,7 +67,7 @@ - + Interlocutor @@ -80,7 +80,7 @@ - + @@ -96,7 +96,7 @@ - + String @@ -110,7 +110,7 @@ - + String @@ -124,7 +124,7 @@ - + Map< String, List< String > > @@ -137,7 +137,7 @@ - + Map< String, List< String[]> > @@ -150,7 +150,7 @@ - + Map< String, List< String > > @@ -163,7 +163,7 @@ - + @@ -186,7 +186,7 @@ - + List< Interpretation > @@ -200,7 +200,7 @@ - + Reaction @@ -218,7 +218,7 @@ - + void @@ -235,18 +235,18 @@ - + - + PersonalQAState PersonalQAState roboy.dialog.personality.states.QuestionRandomizerState.initializeQuestion - (Neo4jRelations relation) + (Neo4jRelationships relationship) initializeQuestion - Neo4jRelations - relation + Neo4jRelationships + relationship @@ -254,7 +254,7 @@ - + void @@ -267,7 +267,7 @@ - + @@ -275,192 +275,192 @@ Coupled with Neo4j information about the person to prevent duplicates. - + - + - + - - - - - + - - - - alreadyAsked + - + person - + chosenState inner - + questionStates locationQuestion - + successAnswers - + questions failureAnswers + + alreadyAsked + - + - + + + + + - + - + - + success failure - + failureTexts successTexts - + - + - + - + properties - + labels - - relations + + relationships - + - + - + - + person - + memory - + - + - - - - + - + - + - + - + clients - + rosConnectionLatch - + + + + - + - + - + person - + successTexts - + questions - + predicate - + - + clientMap - + - + - + - + - + gson - + rosMainNode - + memory - + roboy::dialog::personality::states::QuestionRandomizerStateact - roboy::dialog::personality::states::QuestionRandomizerStatealreadyAsked + roboy::dialog::personality::states::QuestionRandomizerStatealreadyAsked roboy::dialog::personality::states::QuestionRandomizerStatecheckForAskedQuestions roboy::dialog::personality::states::QuestionRandomizerStatechosenState roboy::dialog::personality::states::QuestionRandomizerStatefailureAnswers roboy::dialog::personality::states::QuestionRandomizerStatefailureAnswersFile - roboy::dialog::personality::states::QuestionRandomizerStateinitializeQuestion + roboy::dialog::personality::states::QuestionRandomizerStateinitializeQuestion roboy::dialog::personality::states::QuestionRandomizerStateinner roboy::dialog::personality::states::QuestionRandomizerStatelocationQuestion roboy::dialog::personality::states::QuestionRandomizerStateperson diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_reaction.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_reaction.xml index 468c2d84..9f44c1ee 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_reaction.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_reaction.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::Reaction @@ -14,7 +14,7 @@ - + State @@ -27,7 +27,7 @@ - + @@ -50,7 +50,7 @@ - + @@ -67,7 +67,7 @@ - + List< Interpretation > @@ -80,7 +80,7 @@ - + State @@ -93,7 +93,7 @@ - + void @@ -110,7 +110,7 @@ - + @@ -118,25 +118,25 @@ - + - + state - + reactions - + - + - + roboy::dialog::personality::states::ReactiongetReactions roboy::dialog::personality::states::ReactiongetState diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_segue_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_segue_state.xml index ba52b032..42c66f4d 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_segue_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_segue_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::SegueState roboy.dialog.personality.states.State @@ -16,7 +16,7 @@ - + @@ -31,7 +31,7 @@ - + State @@ -44,7 +44,7 @@ - + Map< String, String > @@ -57,7 +57,7 @@ - + @@ -76,7 +76,7 @@ - + void @@ -93,7 +93,7 @@ - + List< Interpretation > @@ -107,7 +107,7 @@ - + Reaction @@ -125,7 +125,7 @@ - + @@ -148,7 +148,7 @@ - + @@ -156,46 +156,46 @@ Tells the anecdote if a word matches, executes its inner state instead, if not. - + - + - + - + - + - + - + - + - + top inner - + redditTIL - + sentenceTypeAssociations - + roboy::dialog::personality::states::SegueStateact roboy::dialog::personality::states::SegueStateinner diff --git a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_wild_talk_state.xml b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_wild_talk_state.xml index bb82c97a..ea274d9c 100644 --- a/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_wild_talk_state.xml +++ b/docs/doxyxml/classroboy_1_1dialog_1_1personality_1_1states_1_1_wild_talk_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::WildTalkState roboy.dialog.personality.states.State @@ -16,7 +16,7 @@ - + RosMainNode @@ -29,7 +29,7 @@ - + @@ -48,7 +48,7 @@ - + List< Interpretation > @@ -62,7 +62,7 @@ - + Reaction @@ -80,7 +80,7 @@ - + void @@ -97,7 +97,7 @@ - + @@ -105,64 +105,64 @@ - + - + - + - + - + - + - + - + - + clients - + rosConnectionLatch - + - + - + next - + rosMainNode - + - + clientMap - + - + roboy::dialog::personality::states::WildTalkStateact roboy::dialog::personality::states::WildTalkStatenext diff --git a/docs/doxyxml/classroboy_1_1io_1_1_bing_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_bing_input.xml index 2d15c6df..e060bf7d 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_bing_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_bing_input.xml @@ -1,5 +1,5 @@ - + roboy::io::BingInput roboy.io.InputDevice @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + Input @@ -49,7 +49,7 @@ - + @@ -57,61 +57,61 @@ Requires internet connection. - + - + - + - + - + - + - + rosMainNode - + - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + roboy::io::BingInputBingInput roboy::io::BingInputlisten diff --git a/docs/doxyxml/classroboy_1_1io_1_1_bing_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_bing_output.xml index 2ba18569..2f9d7866 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_bing_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_bing_output.xml @@ -1,5 +1,5 @@ - + roboy::io::BingOutput roboy.io.OutputDevice @@ -20,7 +20,7 @@ - + void @@ -37,7 +37,7 @@ - + @@ -45,30 +45,30 @@ Requires internet connection. - + - + - + - + - + - + - + roboy::io::BingOutputact roboy::io::BingOutputsay diff --git a/docs/doxyxml/classroboy_1_1io_1_1_celebrity_similarity_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_celebrity_similarity_input.xml index 1e95fa08..62e244ff 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_celebrity_similarity_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_celebrity_similarity_input.xml @@ -1,5 +1,5 @@ - + roboy::io::CelebritySimilarityInput roboy.io.InputDevice @@ -17,7 +17,7 @@ - + @@ -25,30 +25,30 @@ Isn't implemented yet. - + - + - + - + - + - + - + roboy::io::CelebritySimilarityInputlisten diff --git a/docs/doxyxml/classroboy_1_1io_1_1_cerevoice_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_cerevoice_output.xml index d4f69395..2d865c36 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_cerevoice_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_cerevoice_output.xml @@ -1,5 +1,5 @@ - + roboy::io::CerevoiceOutput roboy.io.OutputDevice @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + void @@ -52,7 +52,7 @@ - + void @@ -69,7 +69,7 @@ - + @@ -77,61 +77,61 @@ - + - + - + - + - + - + - + rosMainNode - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + - + roboy::io::CerevoiceOutputact roboy::io::CerevoiceOutputCerevoiceOutput diff --git a/docs/doxyxml/classroboy_1_1io_1_1_command_line_communication.xml b/docs/doxyxml/classroboy_1_1io_1_1_command_line_communication.xml index 40c04770..8d8e02fa 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_command_line_communication.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_command_line_communication.xml @@ -1,5 +1,5 @@ - + roboy::io::CommandLineCommunication roboy.io.Communication @@ -15,7 +15,7 @@ - + SentenceAnalyzer @@ -28,7 +28,7 @@ - + @@ -48,7 +48,7 @@ - + void @@ -62,7 +62,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -89,56 +89,56 @@ - + - + - + - + - + - + - + - + personality - + analyzer - + - + - + meanings - + - + - + roboy::io::CommandLineCommunicationanalyzer roboy::io::CommandLineCommunicationcommunicate diff --git a/docs/doxyxml/classroboy_1_1io_1_1_command_line_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_command_line_input.xml index 1b3e4680..da722c28 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_command_line_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_command_line_input.xml @@ -1,5 +1,5 @@ - + roboy::io::CommandLineInput roboy.io.InputDevice @@ -16,7 +16,7 @@ - + @@ -32,7 +32,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -55,36 +55,36 @@ - + - + - + - + - + - + - + sc - + - + roboy::io::CommandLineInputfinalize roboy::io::CommandLineInputlisten diff --git a/docs/doxyxml/classroboy_1_1io_1_1_command_line_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_command_line_output.xml index 9284a2fd..368b5cc9 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_command_line_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_command_line_output.xml @@ -1,5 +1,5 @@ - + roboy::io::CommandLineOutput roboy.io.OutputDevice @@ -20,7 +20,7 @@ - + @@ -28,30 +28,30 @@ - + - + - + - + - + - + - + roboy::io::CommandLineOutputact diff --git a/docs/doxyxml/classroboy_1_1io_1_1_emotion_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_emotion_output.xml index 579e47b4..cf898f98 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_emotion_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_emotion_output.xml @@ -1,5 +1,5 @@ - + roboy::io::EmotionOutput roboy.io.OutputDevice @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + void @@ -52,7 +52,7 @@ - + void @@ -69,7 +69,7 @@ - + @@ -77,61 +77,61 @@ - + - + - + - + - + - + - + rosMainNode - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + - + roboy::io::EmotionOutputact roboy::io::EmotionOutputact diff --git a/docs/doxyxml/classroboy_1_1io_1_1_free_t_t_s_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_free_t_t_s_output.xml index 5d092771..33f147f2 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_free_t_t_s_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_free_t_t_s_output.xml @@ -1,5 +1,5 @@ - + roboy::io::FreeTTSOutput roboy.io.OutputDevice @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + void @@ -48,7 +48,7 @@ - + @@ -58,7 +58,7 @@ (String[] args) main - String[] + String [] args @@ -67,7 +67,7 @@ - + @@ -75,36 +75,36 @@ - + - + - + - + - + - + voice - + - + - + roboy::io::FreeTTSOutputact roboy::io::FreeTTSOutputFreeTTSOutput diff --git a/docs/doxyxml/classroboy_1_1io_1_1_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_input.xml index b6033924..5cdd7e47 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_input.xml @@ -1,5 +1,5 @@ - + roboy::io::Input @@ -14,7 +14,7 @@ - + Map< String, Object > @@ -27,7 +27,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -75,18 +75,18 @@ - + - + attributes - + - + roboy::io::Inputattributes roboy::io::InputInput diff --git a/docs/doxyxml/classroboy_1_1io_1_1_multi_input_device.xml b/docs/doxyxml/classroboy_1_1io_1_1_multi_input_device.xml index 888b74bf..1f59dd0c 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_multi_input_device.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_multi_input_device.xml @@ -1,5 +1,5 @@ - + roboy::io::MultiInputDevice roboy.io.InputDevice @@ -15,7 +15,7 @@ - + ArrayList< InputDevice > @@ -28,7 +28,7 @@ - + @@ -47,7 +47,7 @@ - + void @@ -64,7 +64,7 @@ - + Input @@ -79,7 +79,7 @@ - + @@ -87,39 +87,39 @@ - + - + - + - + - + - + - + - + additionalInputs - + mainInput - + roboy::io::MultiInputDeviceaddInputDevice roboy::io::MultiInputDeviceadditionalInputs diff --git a/docs/doxyxml/classroboy_1_1io_1_1_multi_output_device.xml b/docs/doxyxml/classroboy_1_1io_1_1_multi_output_device.xml index 16ab5291..6eec1b55 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_multi_output_device.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_multi_output_device.xml @@ -1,5 +1,5 @@ - + roboy::io::MultiOutputDevice roboy.io.OutputDevice @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + void @@ -51,7 +51,7 @@ - + void @@ -69,7 +69,7 @@ - + @@ -77,36 +77,36 @@ - + - + - + - + - + - + devices - + - + - + roboy::io::MultiOutputDeviceact roboy::io::MultiOutputDeviceadd diff --git a/docs/doxyxml/classroboy_1_1io_1_1_roboy_name_detection_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_roboy_name_detection_input.xml index 34306f2e..ffcb57fc 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_roboy_name_detection_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_roboy_name_detection_input.xml @@ -1,5 +1,5 @@ - + roboy::io::RoboyNameDetectionInput roboy.io.InputDevice @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ - + void @@ -44,7 +44,7 @@ - + Input @@ -60,7 +60,7 @@ - + @@ -71,30 +71,30 @@ 21.04.2017 Initiates native sphinx function of live speech analysis and checks the stream - + - + - + - + - + - + - + roboy::io::RoboyNameDetectionInputlisten roboy::io::RoboyNameDetectionInputrecog_copy diff --git a/docs/doxyxml/classroboy_1_1io_1_1_udp_input.xml b/docs/doxyxml/classroboy_1_1io_1_1_udp_input.xml index c5718df6..cdda53ff 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_udp_input.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_udp_input.xml @@ -1,5 +1,5 @@ - + roboy::io::UdpInput roboy.io.InputDevice @@ -15,7 +15,7 @@ - + @@ -35,7 +35,7 @@ - + Input @@ -49,7 +49,7 @@ - + @@ -57,36 +57,36 @@ - + - + - + - + - + - + - + serverSocket - + - + roboy::io::UdpInputlisten roboy::io::UdpInputserverSocket diff --git a/docs/doxyxml/classroboy_1_1io_1_1_udp_output.xml b/docs/doxyxml/classroboy_1_1io_1_1_udp_output.xml index da51c99f..0be76342 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_udp_output.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_udp_output.xml @@ -1,5 +1,5 @@ - + roboy::io::UdpOutput roboy.io.OutputDevice @@ -15,7 +15,7 @@ - + InetAddress @@ -28,7 +28,7 @@ - + int @@ -41,7 +41,7 @@ - + @@ -69,7 +69,7 @@ - + void @@ -87,7 +87,7 @@ - + @@ -95,42 +95,42 @@ - + - + - + - + - + - + serverSocket - + udpEndpointAddress - + - + - + - + roboy::io::UdpOutputact roboy::io::UdpOutputserverSocket diff --git a/docs/doxyxml/classroboy_1_1io_1_1_vision.xml b/docs/doxyxml/classroboy_1_1io_1_1_vision.xml index 32933a27..83eabdbd 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_vision.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_vision.xml @@ -1,5 +1,5 @@ - + roboy::io::Vision roboy::io::Vision::VisionCallback @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -60,7 +60,7 @@ - + boolean @@ -73,7 +73,7 @@ - + @@ -81,15 +81,15 @@ - + - + roboyVision - + roboy::io::VisionfindFaces roboy::io::VisiongetInstance diff --git a/docs/doxyxml/classroboy_1_1io_1_1_vision_1_1_vision_callback.xml b/docs/doxyxml/classroboy_1_1io_1_1_vision_1_1_vision_callback.xml index c65f4ddf..ad8b2353 100644 --- a/docs/doxyxml/classroboy_1_1io_1_1_vision_1_1_vision_callback.xml +++ b/docs/doxyxml/classroboy_1_1io_1_1_vision_1_1_vision_callback.xml @@ -1,5 +1,5 @@ - + roboy::io::Vision::VisionCallback TopicCallback @@ -16,7 +16,7 @@ - + boolean @@ -30,7 +30,7 @@ - + @@ -49,7 +49,7 @@ - + @@ -57,28 +57,28 @@ - + - + - + - + - + - + - + roboy::io::Vision::VisionCallbackfaceDetected roboy::io::Vision::VisionCallbackhandleMessage diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_concept.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_concept.xml index cd16c896..9f447329 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_concept.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_concept.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Concept @@ -14,14 +14,14 @@ - + - + roboy::linguistics::Conceptid diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_detected_entity.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_detected_entity.xml index 91575869..e5b69741 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_detected_entity.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_detected_entity.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::DetectedEntity @@ -14,7 +14,7 @@ - + int @@ -27,7 +27,7 @@ - + @@ -50,7 +50,7 @@ - + Entity @@ -63,7 +63,7 @@ - + int @@ -76,7 +76,7 @@ - + @@ -84,25 +84,25 @@ - + - + - + entity - + - + forms - + roboy::linguistics::DetectedEntityDetectedEntity roboy::linguistics::DetectedEntityentity diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_entity.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_entity.xml index 97cc4b04..f3ad0d6c 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_entity.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_entity.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Entity @@ -14,7 +14,7 @@ - + @@ -33,7 +33,7 @@ - + String @@ -50,7 +50,7 @@ - + Map< String, String > @@ -63,7 +63,7 @@ - + @@ -71,18 +71,18 @@ - + - + - + forms - + roboy::linguistics::EntityEntity roboy::linguistics::Entityforms diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_linguistics.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_linguistics.xml index 5954c9c1..60d228b1 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_linguistics.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_linguistics.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Linguistics roboy::linguistics::Linguistics::SEMANTIC_ROLE @@ -17,7 +17,7 @@ - + final List< String > @@ -31,7 +31,7 @@ - + final String @@ -45,7 +45,7 @@ - + final String @@ -59,7 +59,7 @@ - + final String @@ -73,7 +73,7 @@ - + final String @@ -87,7 +87,7 @@ - + final String @@ -101,7 +101,7 @@ - + final String @@ -115,7 +115,7 @@ - + final String @@ -129,7 +129,7 @@ - + final String @@ -143,7 +143,7 @@ - + final String @@ -157,7 +157,7 @@ - + final String @@ -171,7 +171,7 @@ - + final String @@ -185,7 +185,7 @@ - + final String @@ -200,7 +200,7 @@ for a living?". - + final String @@ -214,7 +214,7 @@ for a living?". - + final String @@ -228,7 +228,7 @@ for a living?". - + final String @@ -242,7 +242,7 @@ for a living?". - + @@ -250,19 +250,19 @@ for a living?". related to linguistics.Most importantly it contains the names of the results of the Analyzer that are stored in an Interpretation object and can be retrieved by the getFeature(String featureName) method. These feature names include: SENTENCE TRIPLE TOKENS POSTAGS KEYWORDS ASSOCIATION PAS NAME CELEBRITY OBJ_ANSWER PRED_ANSWER EMOTION INTENT INTENT_DISTANCE - + - + beMod tobe - + - + roboy::linguistics::LinguisticsASSOCIATION roboy::linguistics::LinguisticsbeMod diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_term.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_term.xml index 96da158e..b94a02f1 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_term.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_term.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Term @@ -14,7 +14,7 @@ - + float @@ -27,7 +27,7 @@ - + String @@ -40,7 +40,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -63,18 +63,18 @@ - + - + pos - + - + roboy::linguistics::Termconcept roboy::linguistics::Termpos diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1_triple.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1_triple.xml index fa304678..66e57ce9 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1_triple.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1_triple.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Triple @@ -14,7 +14,7 @@ - + String @@ -27,7 +27,7 @@ - + String @@ -40,7 +40,7 @@ - + @@ -67,7 +67,7 @@ - + String @@ -80,14 +80,14 @@ - + Represents a simple who(agens) does what(predicate) to whom(patiens) relation. - + roboy::linguistics::Tripleagens roboy::linguistics::Triplepatiens diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_double_metaphone_encoder.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_double_metaphone_encoder.xml index f3ed88bd..b575b326 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_double_metaphone_encoder.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_double_metaphone_encoder.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics::DoubleMetaphoneEncoder roboy.linguistics.phonetics.PhoneticEncoder @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + String @@ -52,7 +52,7 @@ - + @@ -60,36 +60,36 @@ This is intended to be used to correct terms that Roboy misunderstood, but currently is not is use. - + - + - + - + - + - + doubleMetaphone - + - + - + roboy::linguistics::phonetics::DoubleMetaphoneEncoderdoubleMetaphone roboy::linguistics::phonetics::DoubleMetaphoneEncoderDoubleMetaphoneEncoder diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_metaphone_encoder.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_metaphone_encoder.xml index c6f8c152..5e2862d5 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_metaphone_encoder.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_metaphone_encoder.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics::MetaphoneEncoder roboy.linguistics.phonetics.PhoneticEncoder @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + String @@ -52,7 +52,7 @@ - + @@ -60,36 +60,36 @@ This is intended to be used to correct terms that Roboy misunderstood, but currently is not is use. - + - + - + - + - + - + metaphone - + - + - + roboy::linguistics::phonetics::MetaphoneEncoderencode roboy::linguistics::phonetics::MetaphoneEncodermetaphone diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_phonetics.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_phonetics.xml index e610bc2e..6537a35c 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_phonetics.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_phonetics.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics::Phonetics @@ -15,7 +15,7 @@ - + Map< String, List< String > > @@ -28,7 +28,7 @@ - + @@ -47,7 +47,7 @@ - + @@ -57,7 +57,7 @@ (String[] args) main - String[] + String [] args @@ -66,7 +66,7 @@ - + @@ -74,24 +74,24 @@ - + - + - + soundex - + codecToWords - + - + roboy::linguistics::phonetics::PhoneticscodecToWords roboy::linguistics::phonetics::Phoneticsmain diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_soundex_encoder.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_soundex_encoder.xml index 7903f9d3..6e9ab470 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_soundex_encoder.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1phonetics_1_1_soundex_encoder.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics::SoundexEncoder roboy.linguistics.phonetics.PhoneticEncoder @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + String @@ -52,7 +52,7 @@ - + @@ -60,36 +60,36 @@ This is intended to be used to correct terms that Roboy misunderstood, but currently is not is use. - + - + - + - + - + - + - + soundex - + - + roboy::linguistics::phonetics::SoundexEncoderencode roboy::linguistics::phonetics::SoundexEncodersoundex diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer.xml index faff73db..5b964a4b 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::AnswerAnalyzer roboy.linguistics.sentenceanalysis.Analyzer @@ -20,7 +20,7 @@ - + @@ -28,30 +28,30 @@ It creates the outputs Linguistics.OBJ_ANSWER for situations where the answer to the question is in the object of the sentence (e.g. "Frank" in the sentence "I am Frank" to the question "Who are you?") and Linguistics.PRED_ANSWER if it is in the predicate or in the predicate and the object combined (e.g. "swimming" in the answer "I like swimming" to the question "What is your hobby?"). - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::AnswerAnalyzeranalyze diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer_test.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer_test.xml index cd78eb6a..261cb312 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer_test.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_answer_analyzer_test.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::AnswerAnalyzerTest @@ -15,7 +15,7 @@ - + final OpenNLPPPOSTagger @@ -29,7 +29,7 @@ - + final OpenNLPParser @@ -43,7 +43,7 @@ - + final AnswerAnalyzer @@ -57,7 +57,7 @@ - + @@ -72,7 +72,7 @@ - + void @@ -85,7 +85,7 @@ - + void @@ -98,7 +98,7 @@ - + void @@ -111,7 +111,7 @@ - + void @@ -124,7 +124,7 @@ - + @@ -143,7 +143,7 @@ - + String @@ -160,7 +160,7 @@ - + @@ -168,64 +168,64 @@ - + - + - + - + - + tagger - + - + - + - + - + - + - + answer - + parser - + pos - + tokenizer - + - + - + parser - + roboy::linguistics::sentenceanalysis::AnswerAnalyzerTestanalyze roboy::linguistics::sentenceanalysis::AnswerAnalyzerTestanalyzePred diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector.xml index a6f6355e..3497fadc 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetector roboy.linguistics.sentenceanalysis.Analyzer @@ -20,7 +20,7 @@ - + @@ -30,11 +30,11 @@ (String[] tokens, String[] posTags) determineSentenceType - String[] + String [] tokens - String[] + String [] posTags @@ -43,7 +43,7 @@ - + @@ -51,30 +51,30 @@ Puts the answer in the sentenceType variable of the Interpretation object. - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectoranalyze roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectordetermineSentenceType diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector_test.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector_test.xml index 154771b9..cfe22793 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector_test.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_dictionary_based_sentence_type_detector_test.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectorTest @@ -15,7 +15,7 @@ - + SimpleTokenizer @@ -29,7 +29,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -52,34 +52,34 @@ - + - + - + - + - + detector - + tokenizer - + - + - + roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectorTestdetector roboy::linguistics::sentenceanalysis::DictionaryBasedSentenceTypeDetectorTesttestWhatIs diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_emotion_analyzer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_emotion_analyzer.xml index 9187b12d..e93f1130 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_emotion_analyzer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_emotion_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::EmotionAnalyzer roboy.linguistics.sentenceanalysis.Analyzer @@ -20,7 +20,7 @@ - + @@ -28,30 +28,30 @@ - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::EmotionAnalyzeranalyze diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_intent_analyzer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_intent_analyzer.xml index 19267f33..be869bac 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_intent_analyzer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_intent_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::IntentAnalyzer roboy.linguistics.sentenceanalysis.Analyzer @@ -15,7 +15,7 @@ - + @@ -34,7 +34,7 @@ - + Interpretation @@ -52,7 +52,7 @@ - + @@ -60,61 +60,61 @@ Stores the highest scoring intent in the Linguistics.INTENT feature and the score in the Linguistics.INTENT_DISTANCE feature. - + - + - + - + - + - + - + ros - + - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + roboy::linguistics::sentenceanalysis::IntentAnalyzeranalyze roboy::linguistics::sentenceanalysis::IntentAnalyzerIntentAnalyzer diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_interpretation.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_interpretation.xml index c0350a64..c0b06087 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_interpretation.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_interpretation.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::Interpretation @@ -14,7 +14,7 @@ - + SENTENCE_TYPE @@ -27,7 +27,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -67,7 +67,7 @@ - + @@ -84,7 +84,7 @@ - + @@ -105,7 +105,7 @@ - + Map< String, Object > @@ -118,7 +118,7 @@ - + Object @@ -135,7 +135,7 @@ - + void @@ -152,7 +152,7 @@ - + SENTENCE_TYPE @@ -165,7 +165,7 @@ - + void @@ -182,7 +182,7 @@ - + String @@ -195,7 +195,7 @@ - + @@ -203,25 +203,25 @@ Feature names are listed and documented in the class roboy.linguistics.Linguistics.The interpretation class is also used to pass the output information from the states to the verbalizer class. - + - + sentenceType - + features - + - + - + roboy::linguistics::sentenceanalysis::Interpretationfeatures roboy::linguistics::sentenceanalysis::InterpretationgetFeature diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_ontology_n_e_r_analyzer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_ontology_n_e_r_analyzer.xml index fe34c179..a1590f2e 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_ontology_n_e_r_analyzer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_ontology_n_e_r_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::OntologyNERAnalyzer roboy.linguistics.sentenceanalysis.Analyzer @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + Interpretation @@ -48,7 +48,7 @@ - + @@ -56,36 +56,36 @@ - + - + - + - + - + - + entities - + - + - + roboy::linguistics::sentenceanalysis::OntologyNERAnalyzeranalyze roboy::linguistics::sentenceanalysis::OntologyNERAnalyzerentities diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_p_p_o_s_tagger.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_p_p_o_s_tagger.xml index 297e6b85..ac220620 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_p_p_o_s_tagger.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_p_p_o_s_tagger.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::OpenNLPPPOSTagger roboy.linguistics.sentenceanalysis.Analyzer @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + Interpretation @@ -48,17 +48,17 @@ - + - String[] + String [] String [] roboy.linguistics.sentenceanalysis.OpenNLPPPOSTagger.posTag (String[] tokens) posTag - String[] + String [] tokens @@ -67,7 +67,7 @@ - + @@ -75,36 +75,36 @@ - + - + - + - + - + - + tagger - + - + - + roboy::linguistics::sentenceanalysis::OpenNLPPPOSTaggeranalyze roboy::linguistics::sentenceanalysis::OpenNLPPPOSTaggerOpenNLPPPOSTagger diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser.xml index 2306dae3..af419259 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::OpenNLPParser roboy.linguistics.sentenceanalysis.Analyzer @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + Interpretation @@ -48,7 +48,7 @@ - + StringBuilder @@ -69,7 +69,7 @@ - + @@ -92,7 +92,7 @@ - + Map< SEMANTIC_ROLE, Object > @@ -113,7 +113,7 @@ - + Map< SEMANTIC_ROLE, Object > @@ -134,7 +134,7 @@ - + Map< SEMANTIC_ROLE, Object > @@ -155,7 +155,7 @@ - + @@ -165,7 +165,7 @@ (String[] args) main - String[] + String [] args @@ -174,7 +174,7 @@ - + @@ -182,36 +182,36 @@ - + - + - + - + - + - + - + - + parser - + roboy::linguistics::sentenceanalysis::OpenNLPParseranalyze roboy::linguistics::sentenceanalysis::OpenNLPParserextractPAS diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser_test.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser_test.xml index 8bd963cb..3c6739f7 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser_test.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_open_n_l_p_parser_test.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::OpenNLPParserTest @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + void @@ -43,7 +43,7 @@ - + void @@ -56,7 +56,7 @@ - + void @@ -69,7 +69,7 @@ - + void @@ -82,7 +82,7 @@ - + void @@ -95,7 +95,7 @@ - + @@ -103,31 +103,31 @@ - + - + - + - + parser - + - + - + parser - + roboy::linguistics::sentenceanalysis::OpenNLPParserTestparser roboy::linguistics::sentenceanalysis::OpenNLPParserTesttestHowAdjective diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_preprocessor.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_preprocessor.xml index 8fec6ca6..104c0f02 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_preprocessor.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_preprocessor.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::Preprocessor roboy.linguistics.sentenceanalysis.Analyzer @@ -20,7 +20,7 @@ - + @@ -28,30 +28,30 @@ - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::Preprocessoranalyze diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_sentence_analyzer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_sentence_analyzer.xml index fc43adb2..ec7dac85 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_sentence_analyzer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_sentence_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::SentenceAnalyzer roboy.linguistics.sentenceanalysis.Analyzer @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ - + Interpretation @@ -49,7 +49,7 @@ - + @@ -63,11 +63,11 @@ sentence - String[] + String [] tokens - String[] + String [] posTags @@ -80,7 +80,7 @@ - + Triple @@ -88,11 +88,11 @@ (String[] tokens, String[] posTags) analyzeStatement - String[] + String [] tokens - String[] + String [] posTags @@ -101,7 +101,7 @@ - + Triple @@ -109,11 +109,11 @@ (String[] tokens, String[] posTags) analyzeIsIt - String[] + String [] tokens - String[] + String [] posTags @@ -122,7 +122,7 @@ - + Triple @@ -130,11 +130,11 @@ (String[] tokens, String[] posTags) analyzeDoesIt - String[] + String [] tokens - String[] + String [] posTags @@ -143,7 +143,7 @@ - + Triple @@ -151,11 +151,11 @@ (String[] tokens, String[] posTags) analyzeWho - String[] + String [] tokens - String[] + String [] posTags @@ -164,7 +164,7 @@ - + Triple @@ -172,11 +172,11 @@ (String[] tokens, String[] posTags) analyzeWhat - String[] + String [] tokens - String[] + String [] posTags @@ -185,7 +185,7 @@ - + Triple @@ -193,11 +193,11 @@ (String[] tokens, String[] posTags) analyzeHowIs - String[] + String [] tokens - String[] + String [] posTags @@ -206,7 +206,7 @@ - + Triple @@ -214,11 +214,11 @@ (String[] tokens, String[] posTags) analyzeHowDo - String[] + String [] tokens - String[] + String [] posTags @@ -227,7 +227,7 @@ - + @@ -235,36 +235,36 @@ - + - + - + - + - + - + - + meanings - + - + roboy::linguistics::sentenceanalysis::SentenceAnalyzeranalyze roboy::linguistics::sentenceanalysis::SentenceAnalyzeranalyzeDoesIt diff --git a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_simple_tokenizer.xml b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_simple_tokenizer.xml index 953cfba3..8077fe45 100644 --- a/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_simple_tokenizer.xml +++ b/docs/doxyxml/classroboy_1_1linguistics_1_1sentenceanalysis_1_1_simple_tokenizer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::SimpleTokenizer roboy.linguistics.sentenceanalysis.Analyzer @@ -20,12 +20,12 @@ - + - String[] + String [] String [] roboy.linguistics.sentenceanalysis.SimpleTokenizer.tokenize (String sentence) tokenize @@ -39,7 +39,7 @@ - + @@ -47,30 +47,30 @@ - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::SimpleTokenizeranalyze roboy::linguistics::sentenceanalysis::SimpleTokenizertokenize diff --git a/docs/doxyxml/classroboy_1_1logic_1_1_intention_classifier.xml b/docs/doxyxml/classroboy_1_1logic_1_1_intention_classifier.xml index 8273a95a..501bfbd5 100644 --- a/docs/doxyxml/classroboy_1_1logic_1_1_intention_classifier.xml +++ b/docs/doxyxml/classroboy_1_1logic_1_1_intention_classifier.xml @@ -1,5 +1,5 @@ - + roboy::logic::IntentionClassifier @@ -14,7 +14,7 @@ - + @@ -33,7 +33,7 @@ - + String @@ -50,7 +50,7 @@ - + @@ -58,18 +58,18 @@ - + - + ros - + - + roboy::logic::IntentionClassifierclassify roboy::logic::IntentionClassifierIntentionClassifier diff --git a/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter.xml b/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter.xml index 7dcdde17..f91ad90a 100644 --- a/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter.xml +++ b/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter.xml @@ -1,5 +1,5 @@ - + roboy::logic::PASInterpreter @@ -14,7 +14,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -50,18 +50,18 @@ Maps the predicates to the predicate keys of DBpedia and picks the elements of the relation from different arguments of the PAS depending on the relation type. - + - + - + dbpediaRelations - + roboy::logic::PASInterpreterdbpediaRelations roboy::logic::PASInterpreterpas2DBpediaRelation diff --git a/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter_test.xml b/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter_test.xml index 71e4c7d3..68fd16d0 100644 --- a/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter_test.xml +++ b/docs/doxyxml/classroboy_1_1logic_1_1_p_a_s_interpreter_test.xml @@ -1,5 +1,5 @@ - + roboy::logic::PASInterpreterTest @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + void @@ -43,7 +43,7 @@ - + void @@ -56,7 +56,7 @@ - + void @@ -69,7 +69,7 @@ - + void @@ -82,7 +82,7 @@ - + void @@ -95,7 +95,7 @@ - + void @@ -108,7 +108,7 @@ - + void @@ -121,7 +121,7 @@ - + void @@ -134,7 +134,7 @@ - + void @@ -147,7 +147,7 @@ - + @@ -155,31 +155,31 @@ - + - + parser - + - + - + - + - + parser - + roboy::logic::PASInterpreterTestparser roboy::logic::PASInterpreterTesttestHowAdjective diff --git a/docs/doxyxml/classroboy_1_1logic_1_1_statement_interpreter.xml b/docs/doxyxml/classroboy_1_1logic_1_1_statement_interpreter.xml index 8867cd64..79897ac6 100644 --- a/docs/doxyxml/classroboy_1_1logic_1_1_statement_interpreter.xml +++ b/docs/doxyxml/classroboy_1_1logic_1_1_statement_interpreter.xml @@ -1,5 +1,5 @@ - + roboy::logic::StatementInterpreter @@ -38,14 +38,14 @@ - + - + roboy::logic::StatementInterpreterisFromList diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_d_bpedia_memory.xml b/docs/doxyxml/classroboy_1_1memory_1_1_d_bpedia_memory.xml index a67aec58..ddeaac94 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_d_bpedia_memory.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_d_bpedia_memory.xml @@ -1,5 +1,5 @@ - + roboy::memory::DBpediaMemory roboy.memory.Memory< Relation > @@ -15,7 +15,7 @@ - + final Map< String, String > @@ -28,7 +28,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -74,7 +74,7 @@ - + LinkedHashSet< String > @@ -92,7 +92,7 @@ - + @@ -112,7 +112,7 @@ - + List< Relation > @@ -130,7 +130,7 @@ - + @@ -138,40 +138,40 @@ - + - + - + - + - + - + - + - + dbpediaMemory - + supportedRelations forms - + roboy::memory::DBpediaMemorybuildQueries roboy::memory::DBpediaMemorydbpediaMemory diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon.xml b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon.xml index 37c4b0d7..68bbc55d 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon.xml @@ -1,5 +1,5 @@ - + roboy::memory::Lexicon @@ -14,7 +14,7 @@ - + List< LexiconLiteral > @@ -27,7 +27,7 @@ - + Boolean @@ -40,7 +40,7 @@ - + Boolean @@ -53,7 +53,7 @@ - + List< String > @@ -66,7 +66,7 @@ - + @@ -81,7 +81,7 @@ - + List< LexiconLiteral > @@ -111,7 +111,7 @@ - + List< LexiconPredicate > @@ -133,7 +133,7 @@ - + List< LexiconLiteral > @@ -150,7 +150,7 @@ - + List< LexiconLiteral > @@ -171,7 +171,7 @@ - + List< String > @@ -189,7 +189,7 @@ - + @@ -208,7 +208,7 @@ - + @@ -235,7 +235,7 @@ - + @@ -243,30 +243,30 @@ - + - + - + - + - + permutationList - + literalList - + predicateList - + roboy::memory::LexiconaddDomainAndRange roboy::memory::LexiconaddTypeOfOwner diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_literal.xml b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_literal.xml index e68c0a3e..13adc8d2 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_literal.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_literal.xml @@ -1,5 +1,5 @@ - + roboy::memory::LexiconLiteral Comparable< LexiconLiteral > @@ -15,7 +15,7 @@ - + String @@ -28,7 +28,7 @@ - + String @@ -41,7 +41,7 @@ - + String @@ -54,7 +54,7 @@ - + int @@ -67,7 +67,7 @@ - + @@ -89,7 +89,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -133,7 +133,7 @@ - + @@ -162,7 +162,7 @@ - + int @@ -179,7 +179,7 @@ - + @@ -187,40 +187,40 @@ - + - + - + - + - + - + - + typeOfOwner - + scoreComparator - + - + - + roboy::memory::LexiconLiteralcompareTo roboy::memory::LexiconLiterallabel diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_predicate.xml b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_predicate.xml index 96f9b81c..c080bafd 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_predicate.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_lexicon_predicate.xml @@ -1,5 +1,5 @@ - + roboy::memory::LexiconPredicate Comparable< LexiconPredicate > @@ -15,7 +15,7 @@ - + List< String > @@ -28,7 +28,7 @@ - + String @@ -41,7 +41,7 @@ - + String @@ -54,7 +54,7 @@ - + String @@ -67,7 +67,7 @@ - + String @@ -80,7 +80,7 @@ - + int @@ -93,7 +93,7 @@ - + @@ -117,7 +117,7 @@ - + @@ -132,7 +132,7 @@ - + @@ -153,7 +153,7 @@ - + int @@ -170,7 +170,7 @@ - + @@ -178,41 +178,41 @@ - + - + - + - + - + - + - + - + scoreComparator - + domains ranges - + - + roboy::memory::LexiconPredicatecompareTo roboy::memory::LexiconPredicatedomains diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_neo4j_memory.xml b/docs/doxyxml/classroboy_1_1memory_1_1_neo4j_memory.xml index 89b01008..4c5f7844 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_neo4j_memory.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_neo4j_memory.xml @@ -1,5 +1,5 @@ - + roboy::memory::Neo4jMemory roboy.memory.Memory< MemoryNodeModel > @@ -15,7 +15,7 @@ - + RosMainNode @@ -28,7 +28,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -63,7 +63,7 @@ - + @@ -82,7 +82,7 @@ - + Neo4jMemory @@ -95,7 +95,7 @@ - + @@ -124,7 +124,7 @@ - + MemoryNodeModel @@ -151,7 +151,7 @@ - + ArrayList< Integer > @@ -178,7 +178,7 @@ - + int @@ -196,7 +196,7 @@ - + boolean @@ -222,7 +222,7 @@ - + List< MemoryNodeModel > @@ -249,7 +249,7 @@ - + @@ -257,70 +257,70 @@ - + - + - + - + - + - + - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + - + - + gson - + rosMainNode - + memory - + roboy::memory::Neo4jMemorycreate roboy::memory::Neo4jMemorygetById diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_persistent_knowledge.xml b/docs/doxyxml/classroboy_1_1memory_1_1_persistent_knowledge.xml index 411dbdb0..beefcbda 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_persistent_knowledge.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_persistent_knowledge.xml @@ -1,5 +1,5 @@ - + roboy::memory::PersistentKnowledge roboy.memory.Memory< Triple > @@ -15,7 +15,7 @@ - + List< Triple > @@ -28,7 +28,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -77,7 +77,7 @@ - + boolean @@ -94,7 +94,7 @@ - + @@ -102,39 +102,39 @@ Can only be used for retrieving and not for storing. - + - + - + - + - + - + - + persistentKnowledge - + memory - + - + roboy::memory::PersistentKnowledgegetInstance roboy::memory::PersistentKnowledgememory diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_roboy_mind.xml b/docs/doxyxml/classroboy_1_1memory_1_1_roboy_mind.xml index 1e746f73..64ddb614 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_roboy_mind.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_roboy_mind.xml @@ -1,5 +1,5 @@ - + roboy::memory::RoboyMind roboy.memory.Memory< Concept > @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -46,7 +46,7 @@ - + ServiceResponse @@ -67,7 +67,7 @@ - + boolean @@ -92,7 +92,7 @@ - + List< Concept > @@ -113,7 +113,7 @@ - + JsonObject @@ -130,7 +130,7 @@ - + ServiceResponse @@ -159,7 +159,7 @@ - + Concept @@ -180,7 +180,7 @@ - + ServiceResponse @@ -197,7 +197,7 @@ - + @@ -212,7 +212,7 @@ - + @@ -232,7 +232,7 @@ - + List< Concept > @@ -249,7 +249,7 @@ - + boolean @@ -266,7 +266,7 @@ - + Map< String, List< Concept > > @@ -283,7 +283,7 @@ - + @@ -291,33 +291,33 @@ - + - + - + - + - + - + roboyMemory - + - + roboy::memory::RoboyMindAssertProperty roboy::memory::RoboyMindCreateInstance diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_util.xml b/docs/doxyxml/classroboy_1_1memory_1_1_util.xml index 59966cb3..551382f9 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_util.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_util.xml @@ -1,5 +1,5 @@ - + roboy::memory::Util Exception @@ -19,7 +19,7 @@ - + List< String > @@ -37,7 +37,7 @@ - + int @@ -58,7 +58,7 @@ - + int @@ -83,7 +83,7 @@ - + @@ -91,28 +91,28 @@ - + - + - + - + - + - + - + roboy::memory::UtilcalculateLevenshteinDistance roboy::memory::UtilgetPartURI diff --git a/docs/doxyxml/classroboy_1_1memory_1_1_working_memory.xml b/docs/doxyxml/classroboy_1_1memory_1_1_working_memory.xml index 5326a6f6..4ee10977 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1_working_memory.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1_working_memory.xml @@ -1,5 +1,5 @@ - + roboy::memory::WorkingMemory roboy.memory.Memory< Triple > @@ -15,7 +15,7 @@ - + @@ -31,7 +31,7 @@ - + Map< String, List< Triple > > @@ -45,7 +45,7 @@ - + Map< String, List< Triple > > @@ -59,7 +59,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -89,7 +89,7 @@ - + void @@ -114,7 +114,7 @@ - + @@ -133,7 +133,7 @@ - + String @@ -146,7 +146,7 @@ - + List< Triple > @@ -163,7 +163,7 @@ - + @@ -171,41 +171,41 @@ - + - + - + - + - + - + - + memory - + patiensTripleMap agensTripleMap predicateTripleMap - + - + roboy::memory::WorkingMemoryaddToMap roboy::memory::WorkingMemoryagensTripleMap diff --git a/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_interlocutor.xml b/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_interlocutor.xml index 9784cf46..ce0d0f42 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_interlocutor.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_interlocutor.xml @@ -1,5 +1,5 @@ - + roboy::memory::nodes::Interlocutor @@ -14,20 +14,20 @@ - + - + boolean - boolean roboy.memory.nodes.Interlocutor.noROS + boolean roboy.memory.nodes.Interlocutor.memoryROS - noROS + memoryROS - + @@ -42,7 +42,7 @@ - + @@ -58,7 +58,7 @@ - + @@ -73,7 +73,7 @@ - + void @@ -90,7 +90,7 @@ Unless something goes wrong during querying, which would affect the following communication severely. - + String @@ -103,15 +103,15 @@ - + - + boolean - boolean roboy.memory.nodes.Interlocutor.hasRelation - (Neo4jRelations type) - hasRelation + boolean roboy.memory.nodes.Interlocutor.hasRelationship + (Neo4jRelationships type) + hasRelationship - Neo4jRelations + Neo4jRelationships type @@ -120,16 +120,16 @@ - + - + void void roboy.memory.nodes.Interlocutor.addInformation - (String relation, String name) + (String relationship, String name) addInformation String - relation + relationship String @@ -141,18 +141,18 @@ - + - + String String roboy.memory.nodes.Interlocutor.determineNodeType - (String relation) + (String relationship) determineNodeType String - relation + relationship @@ -160,7 +160,7 @@ - + @@ -168,100 +168,100 @@ - + - + - + - + properties - + labels - - relations + + relationships - + - + - + person - + memory - + - + - + - + - + clients - + rosConnectionLatch - + - + - + clientMap - + - + - + - + - + gson - + rosMainNode - + memory - + - roboy::memory::nodes::InterlocutoraddInformation + roboy::memory::nodes::InterlocutoraddInformation roboy::memory::nodes::InterlocutoraddName - roboy::memory::nodes::InterlocutordetermineNodeType + roboy::memory::nodes::InterlocutordetermineNodeType roboy::memory::nodes::InterlocutorFAMILIAR roboy::memory::nodes::InterlocutorgetName - roboy::memory::nodes::InterlocutorhasRelation + roboy::memory::nodes::InterlocutorhasRelationship roboy::memory::nodes::InterlocutorInterlocutor roboy::memory::nodes::Interlocutormemory - roboy::memory::nodes::InterlocutornoROS + roboy::memory::nodes::InterlocutormemoryROS roboy::memory::nodes::Interlocutorperson diff --git a/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_memory_node_model.xml b/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_memory_node_model.xml index 71be31d6..663d05a5 100644 --- a/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_memory_node_model.xml +++ b/docs/doxyxml/classroboy_1_1memory_1_1nodes_1_1_memory_node_model.xml @@ -1,5 +1,5 @@ - + roboy::memory::nodes::MemoryNodeModel @@ -14,7 +14,7 @@ - + ArrayList< String > @@ -27,7 +27,7 @@ - + String @@ -40,7 +40,7 @@ - + HashMap< String, Object > @@ -53,20 +53,20 @@ - + - + HashMap< String, ArrayList< Integer > > - HashMap<String, ArrayList<Integer> > roboy.memory.nodes.MemoryNodeModel.relations + HashMap<String, ArrayList<Integer> > roboy.memory.nodes.MemoryNodeModel.relationships - relations + relationships - + @@ -82,7 +82,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -114,7 +114,7 @@ - + int @@ -127,7 +127,7 @@ - + void @@ -144,7 +144,7 @@ - + ArrayList< String > @@ -157,7 +157,7 @@ - + void @@ -174,7 +174,7 @@ - + HashMap< String, Object > @@ -187,7 +187,7 @@ - + Object @@ -204,7 +204,7 @@ - + void @@ -221,7 +221,7 @@ - + void @@ -242,26 +242,26 @@ - + - + HashMap< String, ArrayList< Integer > > - HashMap<String, ArrayList<Integer> > roboy.memory.nodes.MemoryNodeModel.getRelations + HashMap<String, ArrayList<Integer> > roboy.memory.nodes.MemoryNodeModel.getRelationships () - getRelations + getRelationships - + - + ArrayList< Integer > - ArrayList<Integer> roboy.memory.nodes.MemoryNodeModel.getRelation + ArrayList<Integer> roboy.memory.nodes.MemoryNodeModel.getRelationship (String key) - getRelation + getRelationship String key @@ -272,16 +272,16 @@ - + - + void - void roboy.memory.nodes.MemoryNodeModel.setRelations - (HashMap< String, ArrayList< Integer >> relations) - setRelations + void roboy.memory.nodes.MemoryNodeModel.setRelationships + (HashMap< String, ArrayList< Integer >> relationships) + setRelationships HashMap< String, ArrayList< Integer >> - relations + relationships @@ -289,13 +289,13 @@ - + - + void - void roboy.memory.nodes.MemoryNodeModel.setRelation + void roboy.memory.nodes.MemoryNodeModel.setRelationship (String key, Integer id) - setRelation + setRelationship String key @@ -310,7 +310,7 @@ - + void @@ -327,7 +327,7 @@ - + String @@ -344,7 +344,7 @@ - + MemoryNodeModel @@ -365,7 +365,7 @@ - + @@ -373,51 +373,51 @@ - + - + properties - + labels - - relations + + relationships - + - + - + - + roboy::memory::nodes::MemoryNodeModelfromJSON roboy::memory::nodes::MemoryNodeModelgetId roboy::memory::nodes::MemoryNodeModelgetLabels roboy::memory::nodes::MemoryNodeModelgetProperties roboy::memory::nodes::MemoryNodeModelgetProperty - roboy::memory::nodes::MemoryNodeModelgetRelation - roboy::memory::nodes::MemoryNodeModelgetRelations + roboy::memory::nodes::MemoryNodeModelgetRelationship + roboy::memory::nodes::MemoryNodeModelgetRelationships roboy::memory::nodes::MemoryNodeModelid roboy::memory::nodes::MemoryNodeModellabel roboy::memory::nodes::MemoryNodeModellabels roboy::memory::nodes::MemoryNodeModelMemoryNodeModel roboy::memory::nodes::MemoryNodeModelMemoryNodeModel roboy::memory::nodes::MemoryNodeModelproperties - roboy::memory::nodes::MemoryNodeModelrelations + roboy::memory::nodes::MemoryNodeModelrelationships roboy::memory::nodes::MemoryNodeModelsetId roboy::memory::nodes::MemoryNodeModelsetLabel roboy::memory::nodes::MemoryNodeModelsetProperties roboy::memory::nodes::MemoryNodeModelsetProperty - roboy::memory::nodes::MemoryNodeModelsetRelation - roboy::memory::nodes::MemoryNodeModelsetRelations + roboy::memory::nodes::MemoryNodeModelsetRelationship + roboy::memory::nodes::MemoryNodeModelsetRelationships roboy::memory::nodes::MemoryNodeModelsetStripQuery roboy::memory::nodes::MemoryNodeModelstripQuery roboy::memory::nodes::MemoryNodeModeltoJSON diff --git a/docs/doxyxml/classroboy_1_1ros_1_1_ros.xml b/docs/doxyxml/classroboy_1_1ros_1_1_ros.xml index 78e1cab8..5b9b5082 100644 --- a/docs/doxyxml/classroboy_1_1ros_1_1_ros.xml +++ b/docs/doxyxml/classroboy_1_1ros_1_1_ros.xml @@ -1,5 +1,5 @@ - + roboy::ros::Ros @@ -14,7 +14,7 @@ - + final String @@ -28,7 +28,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -58,7 +58,7 @@ - + void @@ -71,7 +71,7 @@ - + @@ -79,15 +79,15 @@ - + - + ros - + roboy::ros::Rosclose roboy::ros::RosgetInstance diff --git a/docs/doxyxml/classroboy_1_1ros_1_1_ros_main_node.xml b/docs/doxyxml/classroboy_1_1ros_1_1_ros_main_node.xml index bd3b24c2..2082ef5f 100644 --- a/docs/doxyxml/classroboy_1_1ros_1_1_ros_main_node.xml +++ b/docs/doxyxml/classroboy_1_1ros_1_1_ros_main_node.xml @@ -1,5 +1,5 @@ - + roboy::ros::RosMainNode AbstractNodeMain @@ -15,7 +15,7 @@ - + RosManager @@ -29,7 +29,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -94,7 +94,7 @@ - + GraphName @@ -107,7 +107,7 @@ - + void @@ -124,7 +124,7 @@ - + boolean @@ -141,7 +141,7 @@ - + String @@ -154,7 +154,7 @@ - + String @@ -171,7 +171,7 @@ - + boolean @@ -188,7 +188,7 @@ - + String @@ -205,7 +205,7 @@ - + String @@ -222,7 +222,7 @@ - + String @@ -239,7 +239,7 @@ - + String @@ -256,7 +256,7 @@ - + String @@ -273,7 +273,7 @@ - + Object @@ -290,7 +290,7 @@ - + @@ -328,7 +328,7 @@ - + @@ -336,47 +336,47 @@ - + - + - + - + - + - + - + - + clients - + rosConnectionLatch - + - + clientMap - + - + roboy::ros::RosMainNodeclients roboy::ros::RosMainNodeCreateMemoryQuery diff --git a/docs/doxyxml/classroboy_1_1ros_1_1_ros_manager.xml b/docs/doxyxml/classroboy_1_1ros_1_1_ros_manager.xml index 0fdf8f97..1f48739e 100644 --- a/docs/doxyxml/classroboy_1_1ros_1_1_ros_manager.xml +++ b/docs/doxyxml/classroboy_1_1ros_1_1_ros_manager.xml @@ -1,5 +1,5 @@ - + roboy::ros::RosManager @@ -14,7 +14,7 @@ - + @@ -33,7 +33,7 @@ - + boolean @@ -50,7 +50,7 @@ Important if SHUTDOWN_ON_ROS_FAILURE is false. - + ServiceClient @@ -67,7 +67,7 @@ the return might need casting before further use. - + @@ -75,18 +75,18 @@ If SHUTDOWN_ON_ROS_FAILURE is set, throws a runtime exception if any of the clients failed to initialize. - + - + - + clientMap - + roboy::ros::RosManagerclientMap roboy::ros::RosManagergetServiceClient diff --git a/docs/doxyxml/classroboy_1_1talk_1_1_statement_builder.xml b/docs/doxyxml/classroboy_1_1talk_1_1_statement_builder.xml index 9d0b2e37..33a755fa 100644 --- a/docs/doxyxml/classroboy_1_1talk_1_1_statement_builder.xml +++ b/docs/doxyxml/classroboy_1_1talk_1_1_statement_builder.xml @@ -1,5 +1,5 @@ - + roboy::talk::StatementBuilder @@ -27,14 +27,14 @@ - + - + roboy::talk::StatementBuilderrandom diff --git a/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer.xml b/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer.xml index 5d9641b1..be4bbcbb 100644 --- a/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer.xml +++ b/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer.xml @@ -1,5 +1,5 @@ - + roboy::talk::Verbalizer @@ -16,7 +16,7 @@ - + final List< String > @@ -32,7 +32,7 @@ - + @@ -49,7 +49,7 @@ - + final List< String > @@ -64,7 +64,7 @@ - + final List< String > @@ -80,7 +80,7 @@ - + final Map< String, String > @@ -93,7 +93,7 @@ - + final Map< Integer, String > @@ -127,7 +127,7 @@ - + final Map< String, String > @@ -163,7 +163,7 @@ - + final Map< Integer, String > @@ -187,7 +187,7 @@ - + @@ -215,7 +215,7 @@ - + @@ -234,7 +234,7 @@ - + ShutDownAction @@ -251,7 +251,7 @@ - + SpeechAction @@ -268,7 +268,7 @@ - + SpeechAction @@ -285,7 +285,7 @@ - + Interpretation @@ -302,7 +302,7 @@ - + String @@ -319,7 +319,7 @@ - + SpeechAction @@ -336,7 +336,7 @@ - + @@ -344,36 +344,36 @@ This should in the future lead to diversifying the ways Roboy is expressing information. - + - + - + - + preAnecdotes farewells greetings anecdotes segues - + tenthNumberMap lowNumberMap - + dayNumberMap monthNumberMap - + - + roboy::talk::Verbalizeranecdote roboy::talk::Verbalizeranecdotes diff --git a/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer_test.xml b/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer_test.xml index 2a93bb3e..2407649e 100644 --- a/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer_test.xml +++ b/docs/doxyxml/classroboy_1_1talk_1_1_verbalizer_test.xml @@ -1,5 +1,5 @@ - + roboy::talk::VerbalizerTest @@ -14,14 +14,14 @@ - + - + roboy::talk::VerbalizerTesttestDates diff --git a/docs/doxyxml/classroboy_1_1util_1_1_concept.xml b/docs/doxyxml/classroboy_1_1util_1_1_concept.xml index 10129d8e..c38707f8 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_concept.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_concept.xml @@ -1,5 +1,5 @@ - + roboy::util::Concept @@ -14,7 +14,7 @@ - + @@ -29,7 +29,7 @@ - + @@ -46,7 +46,7 @@ - + @@ -63,7 +63,7 @@ - + void @@ -84,7 +84,7 @@ - + void @@ -101,7 +101,7 @@ - + Map< String, Object > @@ -114,7 +114,7 @@ - + Object @@ -131,7 +131,7 @@ - + String @@ -144,7 +144,7 @@ - + String @@ -157,7 +157,7 @@ - + boolean @@ -174,7 +174,7 @@ - + Object @@ -187,7 +187,7 @@ - + boolean @@ -200,7 +200,7 @@ - + int @@ -213,7 +213,7 @@ - + @@ -221,18 +221,18 @@ - + - + attributes - + - + roboy::util::ConceptaddAttribute roboy::util::ConceptaddAttributes diff --git a/docs/doxyxml/classroboy_1_1util_1_1_i_o.xml b/docs/doxyxml/classroboy_1_1util_1_1_i_o.xml index 1d74a856..37881e7d 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_i_o.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_i_o.xml @@ -1,5 +1,5 @@ - + roboy::util::IO @@ -18,7 +18,7 @@ - + String @@ -35,7 +35,7 @@ - + List< String > @@ -52,7 +52,7 @@ - + List< String > @@ -69,14 +69,14 @@ - + Helper class for IO related tasks. - + roboy::util::IOreadFile roboy::util::IOreadFile diff --git a/docs/doxyxml/classroboy_1_1util_1_1_json_utils.xml b/docs/doxyxml/classroboy_1_1util_1_1_json_utils.xml index d47fb43a..db5beac6 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_json_utils.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_json_utils.xml @@ -1,5 +1,5 @@ - + roboy::util::JsonUtils @@ -18,7 +18,7 @@ - + Map< String, List< String[]> > @@ -35,14 +35,14 @@ - + - + roboy::util::JsonUtilsgetSentenceArraysFromJsonFile roboy::util::JsonUtilsgetSentencesFromJsonFile diff --git a/docs/doxyxml/classroboy_1_1util_1_1_lists.xml b/docs/doxyxml/classroboy_1_1util_1_1_lists.xml index ad97c016..3de5ca54 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_lists.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_lists.xml @@ -1,12 +1,12 @@ - + roboy::util::Lists - + List< Action > static List<Action> roboy.util.Lists.actionList - (Action...actions) + (Action... actions) actionList Action... @@ -18,12 +18,12 @@ - + - + List< Interpretation > static List<Interpretation> roboy.util.Lists.interpretationList - (Interpretation...interpretations) + (Interpretation... interpretations) interpretationList Interpretation... @@ -35,12 +35,12 @@ - + - + List< String > static List<String> roboy.util.Lists.stringList - (String...strings) + (String... strings) stringList String... @@ -52,15 +52,15 @@ - + - + List< String[]> static List<String[]> roboy.util.Lists.strArray - (String[]...strings) + (String[]... strings) strArray - String...[] + String... [] strings @@ -69,19 +69,19 @@ - + Helper class for list related tasks. - + - roboy::util::ListsactionList - roboy::util::ListsinterpretationList - roboy::util::ListsstrArray - roboy::util::ListsstringList + roboy::util::ListsactionList + roboy::util::ListsinterpretationList + roboy::util::ListsstrArray + roboy::util::ListsstringList diff --git a/docs/doxyxml/classroboy_1_1util_1_1_maps.xml b/docs/doxyxml/classroboy_1_1util_1_1_maps.xml index beabd653..1303fe63 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_maps.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_maps.xml @@ -1,12 +1,12 @@ - + roboy::util::Maps - + Map< String, String > static Map<String,String> roboy.util.Maps.stringMap - (String...elements) + (String... elements) stringMap String... @@ -18,12 +18,12 @@ - + - + Map< String, Object > static Map<String,Object> roboy.util.Maps.stringObjectMap - (Object...elements) + (Object... elements) stringObjectMap Object... @@ -35,12 +35,12 @@ - + - + Map< String, Reaction > static Map<String,Reaction> roboy.util.Maps.stringReactionMap - (Object...elements) + (Object... elements) stringReactionMap Object... @@ -52,12 +52,12 @@ - + - + Map< Integer, String > static Map<Integer,String> roboy.util.Maps.intStringMap - (Object...elements) + (Object... elements) intStringMap Object... @@ -69,19 +69,19 @@ - + Helper class for map related tasks. - + - roboy::util::MapsintStringMap - roboy::util::MapsstringMap - roboy::util::MapsstringObjectMap - roboy::util::MapsstringReactionMap + roboy::util::MapsintStringMap + roboy::util::MapsstringMap + roboy::util::MapsstringObjectMap + roboy::util::MapsstringReactionMap diff --git a/docs/doxyxml/classroboy_1_1util_1_1_relation.xml b/docs/doxyxml/classroboy_1_1util_1_1_relation.xml index 67ee6ff0..6a0e3022 100644 --- a/docs/doxyxml/classroboy_1_1util_1_1_relation.xml +++ b/docs/doxyxml/classroboy_1_1util_1_1_relation.xml @@ -1,5 +1,5 @@ - + roboy::util::Relation @@ -14,7 +14,7 @@ - + Concept @@ -27,7 +27,7 @@ - + String @@ -40,7 +40,7 @@ - + @@ -67,7 +67,7 @@ - + String @@ -80,7 +80,7 @@ - + String @@ -93,7 +93,7 @@ - + @@ -101,26 +101,26 @@ - + - + subject object - + - + attributes - + - + roboy::util::RelationgetObject roboy::util::RelationgetSubject diff --git a/docs/doxyxml/compound.xsd b/docs/doxyxml/compound.xsd index b4df8e01..60653abb 100644 --- a/docs/doxyxml/compound.xsd +++ b/docs/doxyxml/compound.xsd @@ -149,6 +149,7 @@ + @@ -548,7 +549,7 @@ - + @@ -640,7 +641,7 @@ - + @@ -937,6 +938,13 @@ + + + + + + + @@ -952,6 +960,7 @@ + diff --git a/docs/doxyxml/dir_029141a1c7d6ffd5a4e073b2543b9713.xml b/docs/doxyxml/dir_029141a1c7d6ffd5a4e073b2543b9713.xml index 7712cff8..df36847d 100644 --- a/docs/doxyxml/dir_029141a1c7d6ffd5a4e073b2543b9713.xml +++ b/docs/doxyxml/dir_029141a1c7d6ffd5a4e073b2543b9713.xml @@ -1,15 +1,15 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory/nodes + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory/nodes DBpediaMemory.java Lexicon.java LexiconLiteral.java LexiconPredicate.java Memory.java Neo4jMemory.java - Neo4jRelations.java + Neo4jRelationships.java PersistentKnowledge.java RoboyMind.java Util.java @@ -18,6 +18,6 @@ - + diff --git a/docs/doxyxml/dir_09caee689121350b0881c362a3662a4d.xml b/docs/doxyxml/dir_09caee689121350b0881c362a3662a4d.xml index a55b0204..d328e37e 100644 --- a/docs/doxyxml/dir_09caee689121350b0881c362a3662a4d.xml +++ b/docs/doxyxml/dir_09caee689121350b0881c362a3662a4d.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality - + diff --git a/docs/doxyxml/dir_0f4c97c7389bb8a061b6dec9af63e7cb.xml b/docs/doxyxml/dir_0f4c97c7389bb8a061b6dec9af63e7cb.xml index ee84b2fb..69d3be7e 100644 --- a/docs/doxyxml/dir_0f4c97c7389bb8a061b6dec9af63e7cb.xml +++ b/docs/doxyxml/dir_0f4c97c7389bb8a061b6dec9af63e7cb.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/io + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/io BingInput.java BingOutput.java CelebritySimilarityInput.java @@ -25,6 +25,6 @@ - + diff --git a/docs/doxyxml/dir_1165a482e1bd283bdfb030bc1d41c8fb.xml b/docs/doxyxml/dir_1165a482e1bd283bdfb030bc1d41c8fb.xml index 007737e6..5960cadc 100644 --- a/docs/doxyxml/dir_1165a482e1bd283bdfb030bc1d41c8fb.xml +++ b/docs/doxyxml/dir_1165a482e1bd283bdfb030bc1d41c8fb.xml @@ -1,13 +1,13 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory/nodes + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory/nodes Interlocutor.java MemoryNodeModel.java - + diff --git a/docs/doxyxml/dir_120ed4da3e3217b1e7fc0b4f48568e79.xml b/docs/doxyxml/dir_120ed4da3e3217b1e7fc0b4f48568e79.xml index 49e0372c..05e7f765 100644 --- a/docs/doxyxml/dir_120ed4da3e3217b1e7fc0b4f48568e79.xml +++ b/docs/doxyxml/dir_120ed4da3e3217b1e7fc0b4f48568e79.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java + /Users/wagram/Roboy/roboy_dialog/src/test + /Users/wagram/Roboy/roboy_dialog/src/test/java - + diff --git a/docs/doxyxml/dir_2b9136678cbc7c985d98384a060ef73e.xml b/docs/doxyxml/dir_2b9136678cbc7c985d98384a060ef73e.xml index 21e46862..cbc09747 100644 --- a/docs/doxyxml/dir_2b9136678cbc7c985d98384a060ef73e.xml +++ b/docs/doxyxml/dir_2b9136678cbc7c985d98384a060ef73e.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/sentenceanalysis Analyzer.java AnswerAnalyzer.java DictionaryBasedSentenceTypeDetector.java @@ -18,6 +18,6 @@ - + diff --git a/docs/doxyxml/dir_2ee74114d792069c15448944a9bb6a63.xml b/docs/doxyxml/dir_2ee74114d792069c15448944a9bb6a63.xml index e8eaa33f..eeddd593 100644 --- a/docs/doxyxml/dir_2ee74114d792069c15448944a9bb6a63.xml +++ b/docs/doxyxml/dir_2ee74114d792069c15448944a9bb6a63.xml @@ -1,13 +1,13 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/talk + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/talk StatementBuilder.java Verbalizer.java - + diff --git a/docs/doxyxml/dir_309ae92be9f26a3d782e391154c61beb.xml b/docs/doxyxml/dir_309ae92be9f26a3d782e391154c61beb.xml index f857f26f..9dd52cdc 100644 --- a/docs/doxyxml/dir_309ae92be9f26a3d782e391154c61beb.xml +++ b/docs/doxyxml/dir_309ae92be9f26a3d782e391154c61beb.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/phonetics + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/phonetics DoubleMetaphoneEncoder.java MetaphoneEncoder.java PhoneticEncoder.java @@ -11,6 +11,6 @@ - + diff --git a/docs/doxyxml/dir_3d3a7bb632f3a6251fe99b04aead1544.xml b/docs/doxyxml/dir_3d3a7bb632f3a6251fe99b04aead1544.xml index 997ec3b6..6e667901 100644 --- a/docs/doxyxml/dir_3d3a7bb632f3a6251fe99b04aead1544.xml +++ b/docs/doxyxml/dir_3d3a7bb632f3a6251fe99b04aead1544.xml @@ -1,13 +1,13 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality/states LocationDBpediaStateTest.java QuestionAnsweringStateTest.java - + diff --git a/docs/doxyxml/dir_4b89141a263e6cbfc376c96d63372b80.xml b/docs/doxyxml/dir_4b89141a263e6cbfc376c96d63372b80.xml index 2a01dbf6..d6ee32d8 100644 --- a/docs/doxyxml/dir_4b89141a263e6cbfc376c96d63372b80.xml +++ b/docs/doxyxml/dir_4b89141a263e6cbfc376c96d63372b80.xml @@ -1,8 +1,8 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality/states CuriousPersonality.java DefaultPersonality.java KnockKnockPersonality.java @@ -12,6 +12,6 @@ - + diff --git a/docs/doxyxml/dir_51b61a932f360ff8dfb5e9ed4f901118.xml b/docs/doxyxml/dir_51b61a932f360ff8dfb5e9ed4f901118.xml index 1cdf7ace..68d45e58 100644 --- a/docs/doxyxml/dir_51b61a932f360ff8dfb5e9ed4f901118.xml +++ b/docs/doxyxml/dir_51b61a932f360ff8dfb5e9ed4f901118.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality/states - + diff --git a/docs/doxyxml/dir_5eb159725f84c66aafd839904a4acdd0.xml b/docs/doxyxml/dir_5eb159725f84c66aafd839904a4acdd0.xml index 7bd17e87..ad5038e9 100644 --- a/docs/doxyxml/dir_5eb159725f84c66aafd839904a4acdd0.xml +++ b/docs/doxyxml/dir_5eb159725f84c66aafd839904a4acdd0.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java + /Users/wagram/Roboy/roboy_dialog/src/main + /Users/wagram/Roboy/roboy_dialog/src/main/java - + diff --git a/docs/doxyxml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml b/docs/doxyxml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml index eba3ee1b..049013de 100644 --- a/docs/doxyxml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml +++ b/docs/doxyxml/dir_68267d1309a1af8e8297ef4c3efbcdba.xml @@ -1,13 +1,13 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test + /Users/wagram/Roboy/roboy_dialog/src + /Users/wagram/Roboy/roboy_dialog/src/main + /Users/wagram/Roboy/roboy_dialog/src/test - + diff --git a/docs/doxyxml/dir_6d5869451a9be3e6ce21b31fee7870de.xml b/docs/doxyxml/dir_6d5869451a9be3e6ce21b31fee7870de.xml index ec18d7f9..27cf19c9 100644 --- a/docs/doxyxml/dir_6d5869451a9be3e6ce21b31fee7870de.xml +++ b/docs/doxyxml/dir_6d5869451a9be3e6ce21b31fee7870de.xml @@ -1,19 +1,19 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/io - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/logic - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/ros - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/talk - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/util + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/io + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/ros + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/talk + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/util - + diff --git a/docs/doxyxml/dir_6e452d7417803070272de08db6f5594a.xml b/docs/doxyxml/dir_6e452d7417803070272de08db6f5594a.xml index d19ec0a6..b5180166 100644 --- a/docs/doxyxml/dir_6e452d7417803070272de08db6f5594a.xml +++ b/docs/doxyxml/dir_6e452d7417803070272de08db6f5594a.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality/states AbstractBooleanState.java AnecdoteState.java CelebrityState.java @@ -25,6 +25,6 @@ - + diff --git a/docs/doxyxml/dir_8548ac48c61d494e9afd946956351f00.xml b/docs/doxyxml/dir_8548ac48c61d494e9afd946956351f00.xml index d2b23d27..c0426802 100644 --- a/docs/doxyxml/dir_8548ac48c61d494e9afd946956351f00.xml +++ b/docs/doxyxml/dir_8548ac48c61d494e9afd946956351f00.xml @@ -1,16 +1,15 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/ros + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/ros Ros.java RosClients.java RosMainNode.java RosManager.java - RosNode.java - + diff --git a/docs/doxyxml/dir_870da1f0b478f7ca881b221c68d88b01.xml b/docs/doxyxml/dir_870da1f0b478f7ca881b221c68d88b01.xml index 5a4bc196..45330969 100644 --- a/docs/doxyxml/dir_870da1f0b478f7ca881b221c68d88b01.xml +++ b/docs/doxyxml/dir_870da1f0b478f7ca881b221c68d88b01.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/logic PASInterpreterTest.java - + diff --git a/docs/doxyxml/dir_97debbc39e3b917fca663601bb2b0709.xml b/docs/doxyxml/dir_97debbc39e3b917fca663601bb2b0709.xml index 96331ced..de6dbaed 100644 --- a/docs/doxyxml/dir_97debbc39e3b917fca663601bb2b0709.xml +++ b/docs/doxyxml/dir_97debbc39e3b917fca663601bb2b0709.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/test/java + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy - + diff --git a/docs/doxyxml/dir_99a73bddd3718e5715d839342deccec9.xml b/docs/doxyxml/dir_99a73bddd3718e5715d839342deccec9.xml index 5c2e3fd4..31bca211 100644 --- a/docs/doxyxml/dir_99a73bddd3718e5715d839342deccec9.xml +++ b/docs/doxyxml/dir_99a73bddd3718e5715d839342deccec9.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/util + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/util Concept.java IO.java JsonUtils.java @@ -12,6 +12,6 @@ - + diff --git a/docs/doxyxml/dir_a3da221ea67796dde15c58826f020edb.xml b/docs/doxyxml/dir_a3da221ea67796dde15c58826f020edb.xml index de40a60d..2a251b20 100644 --- a/docs/doxyxml/dir_a3da221ea67796dde15c58826f020edb.xml +++ b/docs/doxyxml/dir_a3da221ea67796dde15c58826f020edb.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/talk + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/talk VerbalizerTest.java - + diff --git a/docs/doxyxml/dir_b7748b3f53905c24013e2b431e631225.xml b/docs/doxyxml/dir_b7748b3f53905c24013e2b431e631225.xml index a5ab4ae4..d0e065ba 100644 --- a/docs/doxyxml/dir_b7748b3f53905c24013e2b431e631225.xml +++ b/docs/doxyxml/dir_b7748b3f53905c24013e2b431e631225.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/action + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/action Action.java FaceAction.java ShutDownAction.java @@ -10,6 +10,6 @@ - + diff --git a/docs/doxyxml/dir_bedbe0196ed4e3ea490265c56ba398f8.xml b/docs/doxyxml/dir_bedbe0196ed4e3ea490265c56ba398f8.xml index b458f973..549ceb13 100644 --- a/docs/doxyxml/dir_bedbe0196ed4e3ea490265c56ba398f8.xml +++ b/docs/doxyxml/dir_bedbe0196ed4e3ea490265c56ba398f8.xml @@ -1,15 +1,15 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/action - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/action + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality Config.java DialogSystem.java - + diff --git a/docs/doxyxml/dir_e3b706f0da88f09db6283663af2a234d.xml b/docs/doxyxml/dir_e3b706f0da88f09db6283663af2a234d.xml index 9f8db2ef..76e599a0 100644 --- a/docs/doxyxml/dir_e3b706f0da88f09db6283663af2a234d.xml +++ b/docs/doxyxml/dir_e3b706f0da88f09db6283663af2a234d.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics/sentenceanalysis - + diff --git a/docs/doxyxml/dir_ed0fca50c3b44d5fff0fa276d178b23b.xml b/docs/doxyxml/dir_ed0fca50c3b44d5fff0fa276d178b23b.xml index 6533720d..d9a540c1 100644 --- a/docs/doxyxml/dir_ed0fca50c3b44d5fff0fa276d178b23b.xml +++ b/docs/doxyxml/dir_ed0fca50c3b44d5fff0fa276d178b23b.xml @@ -1,9 +1,9 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/phonetics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/phonetics + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/sentenceanalysis Concept.java DetectedEntity.java Entity.java @@ -14,6 +14,6 @@ - + diff --git a/docs/doxyxml/dir_ef15ac377452d427e784ef3ffdafddbf.xml b/docs/doxyxml/dir_ef15ac377452d427e784ef3ffdafddbf.xml index 952d131b..ecd4d07d 100644 --- a/docs/doxyxml/dir_ef15ac377452d427e784ef3ffdafddbf.xml +++ b/docs/doxyxml/dir_ef15ac377452d427e784ef3ffdafddbf.xml @@ -1,16 +1,15 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/logic - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/talk - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/util + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/talk - + diff --git a/docs/doxyxml/dir_f4181fe68facb23b91192854446ad923.xml b/docs/doxyxml/dir_f4181fe68facb23b91192854446ad923.xml index f99397e0..aae357b0 100644 --- a/docs/doxyxml/dir_f4181fe68facb23b91192854446ad923.xml +++ b/docs/doxyxml/dir_f4181fe68facb23b91192854446ad923.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics/sentenceanalysis AnswerAnalyzerTest.java DictionaryBasedSentenceTypeDetectorTest.java OpenNLPParserTest.java @@ -9,6 +9,6 @@ - + diff --git a/docs/doxyxml/dir_fc501c632ab2a1a6d6d30ee369f70e27.xml b/docs/doxyxml/dir_fc501c632ab2a1a6d6d30ee369f70e27.xml index f0d73d2e..e575c1d2 100644 --- a/docs/doxyxml/dir_fc501c632ab2a1a6d6d30ee369f70e27.xml +++ b/docs/doxyxml/dir_fc501c632ab2a1a6d6d30ee369f70e27.xml @@ -1,7 +1,7 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/logic Intention.java IntentionClassifier.java PASInterpreter.java @@ -10,6 +10,6 @@ - + diff --git a/docs/doxyxml/dir_fd3f6763802dee1ad875f6c80eac0bda.xml b/docs/doxyxml/dir_fd3f6763802dee1ad875f6c80eac0bda.xml index da7fde17..207fb4f6 100644 --- a/docs/doxyxml/dir_fd3f6763802dee1ad875f6c80eac0bda.xml +++ b/docs/doxyxml/dir_fd3f6763802dee1ad875f6c80eac0bda.xml @@ -1,12 +1,12 @@ - + - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/main/java + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy - + diff --git a/docs/doxyxml/enumroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml b/docs/doxyxml/enumroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml index 6206c74f..d38aa848 100644 --- a/docs/doxyxml/enumroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml +++ b/docs/doxyxml/enumroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml @@ -1,5 +1,5 @@ - + roboy::dialog::Config::ConfigurationProfile @@ -15,7 +15,7 @@ - + @@ -29,7 +29,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -57,7 +57,21 @@ - + + + + + roboy.dialog.Config.ConfigurationProfile.MEMORY + + MEMORY + =("MEMORY") + + + + + + + String @@ -70,7 +84,7 @@ - + @@ -89,18 +103,19 @@ - + List of profile names. The variables are set in the corresponding set<name>Profile() method. String values make it possible to define the profile in start command with: -Dprofile=<profileString> - + roboy::dialog::Config::ConfigurationProfileConfigurationProfile roboy::dialog::Config::ConfigurationProfileDEBUG roboy::dialog::Config::ConfigurationProfileDEFAULT + roboy::dialog::Config::ConfigurationProfileMEMORY roboy::dialog::Config::ConfigurationProfileNOROS roboy::dialog::Config::ConfigurationProfileprofileName roboy::dialog::Config::ConfigurationProfileSTANDALONE diff --git a/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_default_personality_1_1_c_o_n_v_e_r_s_a_t_i_o_n_a_l___s_t_a_t_e.xml b/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_default_personality_1_1_c_o_n_v_e_r_s_a_t_i_o_n_a_l___s_t_a_t_e.xml index 6fee446a..0f2ddad1 100644 --- a/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_default_personality_1_1_c_o_n_v_e_r_s_a_t_i_o_n_a_l___s_t_a_t_e.xml +++ b/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_default_personality_1_1_c_o_n_v_e_r_s_a_t_i_o_n_a_l___s_t_a_t_e.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::DefaultPersonality::CONVERSATIONAL_STATE @@ -14,7 +14,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -53,14 +53,14 @@ - + - + roboy::dialog::personality::DefaultPersonality::CONVERSATIONAL_STATEFAREWELL roboy::dialog::personality::DefaultPersonality::CONVERSATIONAL_STATEGREETING diff --git a/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_knock_knock_personality_1_1_knock_knock_state.xml b/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_knock_knock_personality_1_1_knock_knock_state.xml index 5463c981..3dc575eb 100644 --- a/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_knock_knock_personality_1_1_knock_knock_state.xml +++ b/docs/doxyxml/enumroboy_1_1dialog_1_1personality_1_1_knock_knock_personality_1_1_knock_knock_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::KnockKnockPersonality::KnockKnockState @@ -14,7 +14,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -53,14 +53,14 @@ - + - + roboy::dialog::personality::KnockKnockPersonality::KnockKnockStateKNOCKKNOCK roboy::dialog::personality::KnockKnockPersonality::KnockKnockStatePUNCHLINE diff --git a/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_m_a_n_t_i_c___r_o_l_e.xml b/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_m_a_n_t_i_c___r_o_l_e.xml index dd654131..77fbe59f 100644 --- a/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_m_a_n_t_i_c___r_o_l_e.xml +++ b/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_m_a_n_t_i_c___r_o_l_e.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Linguistics::SEMANTIC_ROLE @@ -14,7 +14,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -131,7 +131,7 @@ - + @@ -144,7 +144,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -170,14 +170,14 @@ - + - + roboy::linguistics::Linguistics::SEMANTIC_ROLEAGENT roboy::linguistics::Linguistics::SEMANTIC_ROLEBENEFICIARY diff --git a/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_n_t_e_n_c_e___t_y_p_e.xml b/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_n_t_e_n_c_e___t_y_p_e.xml index b7273b84..68df9529 100644 --- a/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_n_t_e_n_c_e___t_y_p_e.xml +++ b/docs/doxyxml/enumroboy_1_1linguistics_1_1_linguistics_1_1_s_e_n_t_e_n_c_e___t_y_p_e.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::Linguistics::SENTENCE_TYPE @@ -14,7 +14,7 @@ - + @@ -27,7 +27,7 @@ - + @@ -40,7 +40,7 @@ - + @@ -53,7 +53,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -118,7 +118,7 @@ - + @@ -131,7 +131,7 @@ - + @@ -144,7 +144,7 @@ - + @@ -157,7 +157,7 @@ - + @@ -170,7 +170,7 @@ - + @@ -183,7 +183,7 @@ - + @@ -196,14 +196,14 @@ - + - + roboy::linguistics::Linguistics::SENTENCE_TYPEANECDOTE roboy::linguistics::Linguistics::SENTENCE_TYPEDOES_IT diff --git a/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relations.xml b/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relations.xml index bbe55511..3deff4c4 100644 --- a/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relations.xml +++ b/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relations.xml @@ -5,7 +5,7 @@ - roboy.memory.Neo4jRelations.FROM + roboy.memory.Neo4jRelationships.FROM FROM =("FROM") @@ -19,7 +19,7 @@ - roboy.memory.Neo4jRelations.HAS_HOBBY + roboy.memory.Neo4jRelationships.HAS_HOBBY HAS_HOBBY =("HAS_HOBBY") @@ -33,7 +33,7 @@ - roboy.memory.Neo4jRelations.LIVE_IN + roboy.memory.Neo4jRelationships.LIVE_IN LIVE_IN =("LIVE_IN") @@ -47,7 +47,7 @@ - roboy.memory.Neo4jRelations.STUDY_AT + roboy.memory.Neo4jRelationships.STUDY_AT STUDY_AT =("STUDY_AT") @@ -61,7 +61,7 @@ - roboy.memory.Neo4jRelations.OCCUPATION + roboy.memory.Neo4jRelationships.OCCUPATION OCCUPATION =("OCCUPATION") @@ -75,7 +75,7 @@ - roboy.memory.Neo4jRelations.WORK_FOR + roboy.memory.Neo4jRelationships.WORK_FOR WORK_FOR =("WORK_FOR") @@ -89,7 +89,7 @@ - roboy.memory.Neo4jRelations.FRIEND_OF + roboy.memory.Neo4jRelationships.FRIEND_OF FRIEND_OF =("FRIEND_OF") @@ -103,7 +103,7 @@ - roboy.memory.Neo4jRelations.MEMBER_OF + roboy.memory.Neo4jRelationships.MEMBER_OF MEMBER_OF =("MEMBER_OF") @@ -117,7 +117,7 @@ String - String roboy.memory.Neo4jRelations.type + String roboy.memory.Neo4jRelationships.type type @@ -132,7 +132,7 @@ - roboy.memory.Neo4jRelations.Neo4jRelations + Neo4jRelationships (String type) Neo4jRelations @@ -149,7 +149,7 @@ -Contains the relations available in Neo4j database. +Contains the relationships available in Neo4j database. Respective questions should be added to the questions.json file and used in the QuestionRandomizerState. diff --git a/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relationships.xml b/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relationships.xml new file mode 100644 index 00000000..fdad43df --- /dev/null +++ b/docs/doxyxml/enumroboy_1_1memory_1_1_neo4j_relationships.xml @@ -0,0 +1,169 @@ + + + + roboy::memory::Neo4jRelationships + + + + roboy.memory.Neo4jRelationships.FROM + + FROM + =("FROM") + + + + + + + + + + + roboy.memory.Neo4jRelationships.HAS_HOBBY + + HAS_HOBBY + =("HAS_HOBBY") + + + + + + + + + + + roboy.memory.Neo4jRelationships.LIVE_IN + + LIVE_IN + =("LIVE_IN") + + + + + + + + + + + roboy.memory.Neo4jRelationships.STUDY_AT + + STUDY_AT + =("STUDY_AT") + + + + + + + + + + + roboy.memory.Neo4jRelationships.OCCUPATION + + OCCUPATION + =("OCCUPATION") + + + + + + + + + + + roboy.memory.Neo4jRelationships.WORK_FOR + + WORK_FOR + =("WORK_FOR") + + + + + + + + + + + roboy.memory.Neo4jRelationships.FRIEND_OF + + FRIEND_OF + =("FRIEND_OF") + + + + + + + + + + + roboy.memory.Neo4jRelationships.MEMBER_OF + + MEMBER_OF + =("MEMBER_OF") + + + + + + + + + + String + String roboy.memory.Neo4jRelationships.type + + type + + + + + + + + + + + + + roboy.memory.Neo4jRelationships.Neo4jRelationships + (String type) + Neo4jRelationships + + String + type + + + + + + + + + + + +Contains the relations available in Neo4j database. + +Respective questions should be added to the questions.json file and used in the QuestionRandomizerState. + + + roboy::memory::Neo4jRelationshipsFRIEND_OF + roboy::memory::Neo4jRelationshipsFROM + roboy::memory::Neo4jRelationshipsHAS_HOBBY + roboy::memory::Neo4jRelationshipsLIVE_IN + roboy::memory::Neo4jRelationshipsMEMBER_OF + roboy::memory::Neo4jRelationshipsNeo4jRelationships + roboy::memory::Neo4jRelationshipsOCCUPATION + roboy::memory::Neo4jRelationshipsSTUDY_AT + roboy::memory::Neo4jRelationshipstype + roboy::memory::Neo4jRelationshipsWORK_FOR + + + diff --git a/docs/doxyxml/enumroboy_1_1ros_1_1_ros_clients.xml b/docs/doxyxml/enumroboy_1_1ros_1_1_ros_clients.xml index 66ef8bdd..88b06aa5 100644 --- a/docs/doxyxml/enumroboy_1_1ros_1_1_ros_clients.xml +++ b/docs/doxyxml/enumroboy_1_1ros_1_1_ros_clients.xml @@ -1,5 +1,5 @@ - + roboy::ros::RosClients @@ -15,7 +15,7 @@ - + @@ -29,7 +29,7 @@ - + @@ -43,7 +43,7 @@ - + @@ -57,7 +57,7 @@ - + @@ -71,7 +71,7 @@ - + @@ -85,7 +85,7 @@ - + @@ -99,7 +99,7 @@ - + @@ -113,7 +113,7 @@ - + @@ -127,7 +127,7 @@ - + @@ -141,7 +141,7 @@ - + @@ -155,7 +155,7 @@ - + @@ -169,7 +169,7 @@ - + String @@ -182,7 +182,7 @@ - + String @@ -195,7 +195,7 @@ - + @@ -218,14 +218,14 @@ - + Stores the different client addresses and corresponding ROS message types. - + roboy::ros::RosClientsaddress roboy::ros::RosClientsCREATEMEMORY diff --git a/docs/doxyxml/index.xml b/docs/doxyxml/index.xml index 0822ca03..383d9a9c 100644 --- a/docs/doxyxml/index.xml +++ b/docs/doxyxml/index.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::AbstractBooleanState success failure @@ -115,6 +115,7 @@ SHUTDOWN_ON_ROS_FAILURE SHUTDOWN_ON_SERVICE_FAILURE ROS_HOSTNAME + MEMORY yamlConfigFile yamlConfig Config @@ -123,6 +124,7 @@ setNoROSProfile setStandaloneProfile setDebugProfile + setMemoryProfile initializeYAMLConfig roboy::dialog::Config::ConfigurationProfile @@ -130,6 +132,7 @@ NOROS STANDALONE DEBUG + MEMORY profileName ConfigurationProfile @@ -279,15 +282,15 @@ roboy::memory::nodes::Interlocutor person - noROS + memoryROS memory FAMILIAR Interlocutor addName getName - hasRelation - addInformation - determineNodeType + hasRelationship + addInformation + determineNodeType roboy::linguistics::sentenceanalysis::Interpretation features @@ -393,10 +396,10 @@ INTENT_DISTANCE roboy::util::Lists - actionList - interpretationList - stringList - strArray + actionList + interpretationList + stringList + strArray roboy::dialog::personality::states::LocationDBpedia act @@ -408,10 +411,10 @@ testCountry roboy::util::Maps - stringMap - stringObjectMap - stringReactionMap - intStringMap + stringMap + stringObjectMap + stringReactionMap + intStringMap roboy::memory::Memory save @@ -422,7 +425,7 @@ labels label properties - relations + relationships stripQuery MemoryNodeModel MemoryNodeModel @@ -434,10 +437,10 @@ getProperty setProperties setProperty - getRelations - getRelation - setRelations - setRelation + getRelationships + getRelationship + setRelationships + setRelationship setStripQuery toJSON fromJSON @@ -474,17 +477,17 @@ remove retrieve - roboy::memory::Neo4jRelations - FROM - HAS_HOBBY - LIVE_IN - STUDY_AT - OCCUPATION - WORK_FOR - FRIEND_OF - MEMBER_OF - type - Neo4jRelations + roboy::memory::Neo4jRelationships + FROM + HAS_HOBBY + LIVE_IN + STUDY_AT + OCCUPATION + WORK_FOR + FRIEND_OF + MEMBER_OF + type + Neo4jRelationships roboy::linguistics::sentenceanalysis::OntologyNERAnalyzer entities @@ -552,8 +555,8 @@ questions successTexts person - predicate - PersonalQAState + predicate + PersonalQAState act determineSuccess @@ -619,7 +622,7 @@ roboy::dialog::personality::states::QuestionRandomizerState questionStates locationQuestion - alreadyAsked + alreadyAsked inner chosenState person @@ -633,7 +636,7 @@ act react setTop - initializeQuestion + initializeQuestion checkForAskedQuestions roboy::dialog::personality::states::Reaction @@ -700,9 +703,6 @@ type RosClients - roboy::util::ros::RosCommunicationTest - TestGenerativeModel - roboy::ros::RosMainNode rosConnectionLatch clients @@ -730,11 +730,6 @@ notInitialized getServiceClient - roboy::ros::RosNode - cerevoiceServiceClient - getDefaultNodeName - onStart - roboy::dialog::personality::states::SegueState sentenceTypeAssociations inner @@ -960,7 +955,7 @@ roboy::memory - roboy::memory::Neo4jRelations + roboy::memory::Neo4jRelationships roboy::memory::nodes @@ -970,8 +965,6 @@ roboy::util - roboy::util::ros - roboy_communication_cognition roboy_communication_control @@ -1142,7 +1135,7 @@ Neo4jMemory.java - Neo4jRelations.java + Neo4jRelationships.java Interlocutor.java @@ -1164,8 +1157,6 @@ RosManager.java - RosNode.java - StatementBuilder.java Verbalizer.java @@ -1194,66 +1185,60 @@ VerbalizerTest.java - RosCommunicationTest.java - - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/action - - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog - - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/action - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/io + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/io - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/main/java - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics + /Users/wagram/Roboy/roboy_dialog/src/test/java - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/logic + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/logic - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/logic - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/memory/nodes + /Users/wagram/Roboy/roboy_dialog/src/main - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/memory/nodes - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/phonetics + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/phonetics - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/util/ros + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/ros + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/ros - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/linguistics/sentenceanalysis + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/linguistics/sentenceanalysis - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/linguistics/sentenceanalysis - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/dialog/personality/states + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/dialog/personality/states - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/talk + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/dialog/personality/states - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/talk + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/talk - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test + /Users/wagram/Roboy/roboy_dialog/src/test/java/roboy/talk - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/test/java/roboy/util + /Users/wagram/Roboy/roboy_dialog/src/test - /home/roboy/workspace/Roboy/src/roboy_dialog_system/src/main/java/roboy/util + /Users/wagram/Roboy/roboy_dialog/src/main/java/roboy/util diff --git a/docs/doxyxml/interfaceroboy_1_1dialog_1_1action_1_1_action.xml b/docs/doxyxml/interfaceroboy_1_1dialog_1_1action_1_1_action.xml index 24fdbc14..96e44aff 100644 --- a/docs/doxyxml/interfaceroboy_1_1dialog_1_1action_1_1_action.xml +++ b/docs/doxyxml/interfaceroboy_1_1dialog_1_1action_1_1_action.xml @@ -1,5 +1,5 @@ - + roboy::dialog::action::Action roboy.dialog.action.FaceAction @@ -10,30 +10,30 @@ The interface is empty, since different output devices will require different informations in an action. The most important action is the SpeechAction which is used for communication. - + - + - + - + - + - + - + - + diff --git a/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1_personality.xml b/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1_personality.xml index a325c4ed..e227dab1 100644 --- a/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1_personality.xml +++ b/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1_personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::Personality roboy.dialog.personality.CuriousPersonality @@ -35,7 +35,7 @@ - + @@ -43,36 +43,36 @@ A personality is designed to define how Roboy reacts in every given situation. Roboy can always only represent one personality at a time. Different personalities are meant to be used in different situations, like a more formal or loose one depending on the occasion where he is at. In the future, also different languages could be realized by the use of different personalities.The currently used personality is the SmallTalkPersonality which makes use of a state machine to act and react differently in different situations. - + - + - + - + - + - + - + - + - + - + roboy::dialog::personality::Personalityanswer diff --git a/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1states_1_1_state.xml b/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1states_1_1_state.xml index df0db13a..f9a15735 100644 --- a/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1states_1_1_state.xml +++ b/docs/doxyxml/interfaceroboy_1_1dialog_1_1personality_1_1states_1_1_state.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states::State roboy.dialog.personality.states.AbstractBooleanState @@ -39,7 +39,7 @@ - + Reaction @@ -68,7 +68,7 @@ - + @@ -76,114 +76,114 @@ A state always acts when its enters and reacts when its left. Both, the reaction of the last and the action of the next state, are combined to give the answer of Roboy. - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + roboy::dialog::personality::states::Stateact roboy::dialog::personality::states::Statereact diff --git a/docs/doxyxml/interfaceroboy_1_1io_1_1_communication.xml b/docs/doxyxml/interfaceroboy_1_1io_1_1_communication.xml index 42161a9a..d85d5678 100644 --- a/docs/doxyxml/interfaceroboy_1_1io_1_1_communication.xml +++ b/docs/doxyxml/interfaceroboy_1_1io_1_1_communication.xml @@ -1,5 +1,5 @@ - + roboy::io::Communication roboy.io.CommandLineCommunication @@ -20,7 +20,7 @@ - + void @@ -34,7 +34,7 @@ - + @@ -42,18 +42,18 @@ - + - + - + - + roboy::io::Communicationcommunicate roboy::io::CommunicationsetPersonality diff --git a/docs/doxyxml/interfaceroboy_1_1io_1_1_input_device.xml b/docs/doxyxml/interfaceroboy_1_1io_1_1_input_device.xml index 909b2f2b..00b7ca68 100644 --- a/docs/doxyxml/interfaceroboy_1_1io_1_1_input_device.xml +++ b/docs/doxyxml/interfaceroboy_1_1io_1_1_input_device.xml @@ -1,5 +1,5 @@ - + roboy::io::InputDevice roboy.io.BingInput @@ -27,7 +27,7 @@ - + @@ -35,48 +35,48 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + roboy::io::InputDevicelisten diff --git a/docs/doxyxml/interfaceroboy_1_1io_1_1_output_device.xml b/docs/doxyxml/interfaceroboy_1_1io_1_1_output_device.xml index 514d9f80..32f2b8e0 100644 --- a/docs/doxyxml/interfaceroboy_1_1io_1_1_output_device.xml +++ b/docs/doxyxml/interfaceroboy_1_1io_1_1_output_device.xml @@ -1,5 +1,5 @@ - + roboy::io::OutputDevice roboy.io.BingOutput @@ -32,7 +32,7 @@ - + @@ -40,54 +40,54 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + roboy::io::OutputDeviceact diff --git a/docs/doxyxml/interfaceroboy_1_1linguistics_1_1phonetics_1_1_phonetic_encoder.xml b/docs/doxyxml/interfaceroboy_1_1linguistics_1_1phonetics_1_1_phonetic_encoder.xml index b498a6e3..b95344b6 100644 --- a/docs/doxyxml/interfaceroboy_1_1linguistics_1_1phonetics_1_1_phonetic_encoder.xml +++ b/docs/doxyxml/interfaceroboy_1_1linguistics_1_1phonetics_1_1_phonetic_encoder.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics::PhoneticEncoder roboy.linguistics.phonetics.DoubleMetaphoneEncoder @@ -24,7 +24,7 @@ - + @@ -32,30 +32,30 @@ This is intended to be used to correct terms that Roboy misunderstood, but currently is not is use. - + - + - + - + - + - + - + - + roboy::linguistics::phonetics::PhoneticEncoderencode diff --git a/docs/doxyxml/interfaceroboy_1_1linguistics_1_1sentenceanalysis_1_1_analyzer.xml b/docs/doxyxml/interfaceroboy_1_1linguistics_1_1sentenceanalysis_1_1_analyzer.xml index 7fec4813..71b6f9f8 100644 --- a/docs/doxyxml/interfaceroboy_1_1linguistics_1_1sentenceanalysis_1_1_analyzer.xml +++ b/docs/doxyxml/interfaceroboy_1_1linguistics_1_1sentenceanalysis_1_1_analyzer.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis::Analyzer roboy.linguistics.sentenceanalysis.AnswerAnalyzer @@ -38,7 +38,7 @@ - + @@ -46,72 +46,72 @@ An analyzer always takes an existing interpretation of a sentence and returns one including its own analysis results (usually an enriched version of the input interpretation). - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + roboy::linguistics::sentenceanalysis::Analyzeranalyze diff --git a/docs/doxyxml/interfaceroboy_1_1logic_1_1_intention.xml b/docs/doxyxml/interfaceroboy_1_1logic_1_1_intention.xml index feb533bc..d6ad1358 100644 --- a/docs/doxyxml/interfaceroboy_1_1logic_1_1_intention.xml +++ b/docs/doxyxml/interfaceroboy_1_1logic_1_1_intention.xml @@ -1,12 +1,12 @@ - + roboy::logic::Intention - + diff --git a/docs/doxyxml/interfaceroboy_1_1memory_1_1_memory.xml b/docs/doxyxml/interfaceroboy_1_1memory_1_1_memory.xml index cf480176..04d95012 100644 --- a/docs/doxyxml/interfaceroboy_1_1memory_1_1_memory.xml +++ b/docs/doxyxml/interfaceroboy_1_1memory_1_1_memory.xml @@ -1,5 +1,5 @@ - + roboy::memory::Memory @@ -48,7 +48,7 @@ - + List< T > @@ -90,7 +90,7 @@ - + @@ -105,7 +105,7 @@ - + roboy::memory::Memoryretrieve roboy::memory::Memorysave diff --git a/docs/doxyxml/linguistics_2_concept_8java.xml b/docs/doxyxml/linguistics_2_concept_8java.xml index c15f3c1b..c24ee639 100644 --- a/docs/doxyxml/linguistics_2_concept_8java.xml +++ b/docs/doxyxml/linguistics_2_concept_8java.xml @@ -1,5 +1,5 @@ - + Concept.java roboy::linguistics::Concept @@ -16,6 +16,6 @@ Stringid; } - + diff --git a/docs/doxyxml/namespaceedu_1_1cmu_1_1sphinx_1_1api.xml b/docs/doxyxml/namespaceedu_1_1cmu_1_1sphinx_1_1api.xml index a2e72e0a..67a1d82f 100644 --- a/docs/doxyxml/namespaceedu_1_1cmu_1_1sphinx_1_1api.xml +++ b/docs/doxyxml/namespaceedu_1_1cmu_1_1sphinx_1_1api.xml @@ -1,11 +1,11 @@ - + edu::cmu::sphinx::api - + diff --git a/docs/doxyxml/namespacejava_1_1io.xml b/docs/doxyxml/namespacejava_1_1io.xml index 2e191ea0..88edbdd8 100644 --- a/docs/doxyxml/namespacejava_1_1io.xml +++ b/docs/doxyxml/namespacejava_1_1io.xml @@ -1,11 +1,11 @@ - + java::io - + diff --git a/docs/doxyxml/namespacejava_1_1net.xml b/docs/doxyxml/namespacejava_1_1net.xml index 2969612d..c520977b 100644 --- a/docs/doxyxml/namespacejava_1_1net.xml +++ b/docs/doxyxml/namespacejava_1_1net.xml @@ -1,11 +1,11 @@ - + java::net - + diff --git a/docs/doxyxml/namespacejava_1_1util.xml b/docs/doxyxml/namespacejava_1_1util.xml index 9807e112..0f07a81d 100644 --- a/docs/doxyxml/namespacejava_1_1util.xml +++ b/docs/doxyxml/namespacejava_1_1util.xml @@ -1,11 +1,11 @@ - + java::util - + diff --git a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1query.xml b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1query.xml index acfae15a..79be4e7b 100644 --- a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1query.xml +++ b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1query.xml @@ -1,11 +1,11 @@ - + org::apache::jena::query - + diff --git a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1rdf_1_1model.xml b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1rdf_1_1model.xml index e7071914..04ec82b3 100644 --- a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1rdf_1_1model.xml +++ b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1rdf_1_1model.xml @@ -1,11 +1,11 @@ - + org::apache::jena::rdf::model - + diff --git a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1sparql.xml b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1sparql.xml index 607978b7..8b702d41 100644 --- a/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1sparql.xml +++ b/docs/doxyxml/namespaceorg_1_1apache_1_1jena_1_1sparql.xml @@ -1,11 +1,11 @@ - + org::apache::jena::sparql - + diff --git a/docs/doxyxml/namespaceorg_1_1junit_1_1_assert.xml b/docs/doxyxml/namespaceorg_1_1junit_1_1_assert.xml index 465a1d6b..2cae107f 100644 --- a/docs/doxyxml/namespaceorg_1_1junit_1_1_assert.xml +++ b/docs/doxyxml/namespaceorg_1_1junit_1_1_assert.xml @@ -1,11 +1,11 @@ - + org::junit::Assert - + diff --git a/docs/doxyxml/namespaceorg_1_1ros_1_1node.xml b/docs/doxyxml/namespaceorg_1_1ros_1_1node.xml index ba70a040..c8e94efa 100644 --- a/docs/doxyxml/namespaceorg_1_1ros_1_1node.xml +++ b/docs/doxyxml/namespaceorg_1_1ros_1_1node.xml @@ -1,11 +1,11 @@ - + org::ros::node - + diff --git a/docs/doxyxml/namespaceroboy.xml b/docs/doxyxml/namespaceroboy.xml index 9acca789..b408277b 100644 --- a/docs/doxyxml/namespaceroboy.xml +++ b/docs/doxyxml/namespaceroboy.xml @@ -1,5 +1,5 @@ - + roboy roboy::dialog diff --git a/docs/doxyxml/namespaceroboy_1_1dialog.xml b/docs/doxyxml/namespaceroboy_1_1dialog.xml index 8432874d..6f6fb739 100644 --- a/docs/doxyxml/namespaceroboy_1_1dialog.xml +++ b/docs/doxyxml/namespaceroboy_1_1dialog.xml @@ -1,5 +1,5 @@ - + roboy::dialog roboy::dialog::Config diff --git a/docs/doxyxml/namespaceroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml b/docs/doxyxml/namespaceroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml index 314241de..90523348 100644 --- a/docs/doxyxml/namespaceroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml +++ b/docs/doxyxml/namespaceroboy_1_1dialog_1_1_config_1_1_configuration_profile.xml @@ -1,11 +1,11 @@ - + roboy::dialog::Config::ConfigurationProfile - + diff --git a/docs/doxyxml/namespaceroboy_1_1dialog_1_1action.xml b/docs/doxyxml/namespaceroboy_1_1dialog_1_1action.xml index ca2d5fed..cb295991 100644 --- a/docs/doxyxml/namespaceroboy_1_1dialog_1_1action.xml +++ b/docs/doxyxml/namespaceroboy_1_1dialog_1_1action.xml @@ -1,5 +1,5 @@ - + roboy::dialog::action roboy::dialog::action::Action @@ -10,6 +10,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality.xml b/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality.xml index ff1cfac9..98acbdb0 100644 --- a/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality.xml +++ b/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality roboy::dialog::personality::CuriousPersonality @@ -12,6 +12,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality_1_1states.xml b/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality_1_1states.xml index 50df9f4a..7b3c4e54 100644 --- a/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality_1_1states.xml +++ b/docs/doxyxml/namespaceroboy_1_1dialog_1_1personality_1_1states.xml @@ -1,5 +1,5 @@ - + roboy::dialog::personality::states roboy::dialog::personality::states::AbstractBooleanState @@ -27,6 +27,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1io.xml b/docs/doxyxml/namespaceroboy_1_1io.xml index c99e8780..a8c6cee7 100644 --- a/docs/doxyxml/namespaceroboy_1_1io.xml +++ b/docs/doxyxml/namespaceroboy_1_1io.xml @@ -1,5 +1,5 @@ - + roboy::io roboy::io::BingInput @@ -25,6 +25,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1linguistics.xml b/docs/doxyxml/namespaceroboy_1_1linguistics.xml index 6f6f916f..cfb0dd63 100644 --- a/docs/doxyxml/namespaceroboy_1_1linguistics.xml +++ b/docs/doxyxml/namespaceroboy_1_1linguistics.xml @@ -1,5 +1,5 @@ - + roboy::linguistics roboy::linguistics::Concept @@ -14,6 +14,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1linguistics_1_1phonetics.xml b/docs/doxyxml/namespaceroboy_1_1linguistics_1_1phonetics.xml index 581404de..d57931e8 100644 --- a/docs/doxyxml/namespaceroboy_1_1linguistics_1_1phonetics.xml +++ b/docs/doxyxml/namespaceroboy_1_1linguistics_1_1phonetics.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::phonetics roboy::linguistics::phonetics::DoubleMetaphoneEncoder @@ -11,6 +11,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1linguistics_1_1sentenceanalysis.xml b/docs/doxyxml/namespaceroboy_1_1linguistics_1_1sentenceanalysis.xml index 142e7827..dd3744a3 100644 --- a/docs/doxyxml/namespaceroboy_1_1linguistics_1_1sentenceanalysis.xml +++ b/docs/doxyxml/namespaceroboy_1_1linguistics_1_1sentenceanalysis.xml @@ -1,5 +1,5 @@ - + roboy::linguistics::sentenceanalysis roboy::linguistics::sentenceanalysis::Analyzer @@ -21,6 +21,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1logic.xml b/docs/doxyxml/namespaceroboy_1_1logic.xml index 57d0b35c..c40a4e53 100644 --- a/docs/doxyxml/namespaceroboy_1_1logic.xml +++ b/docs/doxyxml/namespaceroboy_1_1logic.xml @@ -1,5 +1,5 @@ - + roboy::logic roboy::logic::Intention @@ -11,6 +11,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1memory.xml b/docs/doxyxml/namespaceroboy_1_1memory.xml index ac0396ad..eb4a1146 100644 --- a/docs/doxyxml/namespaceroboy_1_1memory.xml +++ b/docs/doxyxml/namespaceroboy_1_1memory.xml @@ -1,5 +1,5 @@ - + roboy::memory roboy::memory::DBpediaMemory @@ -8,7 +8,7 @@ roboy::memory::LexiconPredicate roboy::memory::Memory roboy::memory::Neo4jMemory - roboy::memory::Neo4jRelations + roboy::memory::Neo4jRelationships roboy::memory::PersistentKnowledge roboy::memory::RoboyMind roboy::memory::Util @@ -18,6 +18,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1memory_1_1_neo4j_relationships.xml b/docs/doxyxml/namespaceroboy_1_1memory_1_1_neo4j_relationships.xml new file mode 100644 index 00000000..58f84897 --- /dev/null +++ b/docs/doxyxml/namespaceroboy_1_1memory_1_1_neo4j_relationships.xml @@ -0,0 +1,11 @@ + + + + roboy::memory::Neo4jRelationships + + + + + + + diff --git a/docs/doxyxml/namespaceroboy_1_1memory_1_1nodes.xml b/docs/doxyxml/namespaceroboy_1_1memory_1_1nodes.xml index f00e74a3..0f55ff70 100644 --- a/docs/doxyxml/namespaceroboy_1_1memory_1_1nodes.xml +++ b/docs/doxyxml/namespaceroboy_1_1memory_1_1nodes.xml @@ -1,5 +1,5 @@ - + roboy::memory::nodes roboy::memory::nodes::Interlocutor @@ -8,6 +8,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1ros.xml b/docs/doxyxml/namespaceroboy_1_1ros.xml index 4d2794d1..ad1e1794 100644 --- a/docs/doxyxml/namespaceroboy_1_1ros.xml +++ b/docs/doxyxml/namespaceroboy_1_1ros.xml @@ -1,16 +1,15 @@ - + roboy::ros roboy::ros::Ros roboy::ros::RosClients roboy::ros::RosMainNode roboy::ros::RosManager - roboy::ros::RosNode - + diff --git a/docs/doxyxml/namespaceroboy_1_1talk.xml b/docs/doxyxml/namespaceroboy_1_1talk.xml index aa660ab8..ab2a9600 100644 --- a/docs/doxyxml/namespaceroboy_1_1talk.xml +++ b/docs/doxyxml/namespaceroboy_1_1talk.xml @@ -1,5 +1,5 @@ - + roboy::talk roboy::talk::StatementBuilder @@ -9,6 +9,6 @@ - + diff --git a/docs/doxyxml/namespaceroboy_1_1util.xml b/docs/doxyxml/namespaceroboy_1_1util.xml index dec96096..0aa13a99 100644 --- a/docs/doxyxml/namespaceroboy_1_1util.xml +++ b/docs/doxyxml/namespaceroboy_1_1util.xml @@ -1,5 +1,5 @@ - + roboy::util roboy::util::Concept @@ -8,11 +8,10 @@ roboy::util::Lists roboy::util::Maps roboy::util::Relation - roboy::util::ros - + diff --git a/docs/doxyxml/namespaceroboy__communication__cognition.xml b/docs/doxyxml/namespaceroboy__communication__cognition.xml index 08bac8cc..7605d99a 100644 --- a/docs/doxyxml/namespaceroboy__communication__cognition.xml +++ b/docs/doxyxml/namespaceroboy__communication__cognition.xml @@ -1,11 +1,11 @@ - + roboy_communication_cognition - + diff --git a/docs/doxyxml/namespaceroboy__communication__control.xml b/docs/doxyxml/namespaceroboy__communication__control.xml index a64f457a..d6a01b86 100644 --- a/docs/doxyxml/namespaceroboy__communication__control.xml +++ b/docs/doxyxml/namespaceroboy__communication__control.xml @@ -1,11 +1,11 @@ - + roboy_communication_control - + diff --git a/docs/doxyxml/util_2_concept_8java.xml b/docs/doxyxml/util_2_concept_8java.xml index 509a5c67..0222c05d 100644 --- a/docs/doxyxml/util_2_concept_8java.xml +++ b/docs/doxyxml/util_2_concept_8java.xml @@ -1,5 +1,5 @@ - + Concept.java roboy::util::Concept @@ -144,6 +144,6 @@ } - + diff --git a/docs/html/graph_legend.html b/docs/html/graph_legend.html index e02a047f..5b5e9979 100644 --- a/docs/html/graph_legend.html +++ b/docs/html/graph_legend.html @@ -90,7 +90,7 @@
  • A box with a gray border denotes an undocumented struct or class.
  • -A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.
  • +A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relationships are shown. A graph is truncated if it does not fit within the specified boundaries.

    The arrows have the following meaning: