diff --git a/ArtificialAutism/.idea/.gitignore b/ArtificialAutism/.idea/.gitignore new file mode 100644 index 00000000..e2143632 --- /dev/null +++ b/ArtificialAutism/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Datasource local storage ignored files +/../../../../../:\stationær backup filer\Projects\ArtificialAutism_intellij\.idea/dataSources/ +/dataSources.local.xml +# Editor-based HTTP Client requests +/httpRequests/ diff --git a/ArtificialAutism/.idea/.name b/ArtificialAutism/.idea/.name new file mode 100644 index 00000000..dfd2c322 --- /dev/null +++ b/ArtificialAutism/.idea/.name @@ -0,0 +1 @@ +ArtificialAutism \ No newline at end of file diff --git a/ArtificialAutism/.idea/checkstyle-idea.xml b/ArtificialAutism/.idea/checkstyle-idea.xml new file mode 100644 index 00000000..c603aaa1 --- /dev/null +++ b/ArtificialAutism/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/compiler.xml b/ArtificialAutism/.idea/compiler.xml new file mode 100644 index 00000000..73ef3279 --- /dev/null +++ b/ArtificialAutism/.idea/compiler.xml @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/encodings.xml b/ArtificialAutism/.idea/encodings.xml new file mode 100644 index 00000000..a156f529 --- /dev/null +++ b/ArtificialAutism/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/jarRepositories.xml b/ArtificialAutism/.idea/jarRepositories.xml new file mode 100644 index 00000000..a468a999 --- /dev/null +++ b/ArtificialAutism/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/kotlinc.xml b/ArtificialAutism/.idea/kotlinc.xml new file mode 100644 index 00000000..d1efd731 --- /dev/null +++ b/ArtificialAutism/.idea/kotlinc.xml @@ -0,0 +1,9 @@ + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__CoreNLP_CoreNLP_1_0.xml b/ArtificialAutism/.idea/libraries/Maven__CoreNLP_CoreNLP_1_0.xml new file mode 100644 index 00000000..52b1e243 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__CoreNLP_CoreNLP_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__StanfordParserModel_StanfordParserModel_1_0.xml b/ArtificialAutism/.idea/libraries/Maven__StanfordParserModel_StanfordParserModel_1_0.xml new file mode 100644 index 00000000..2185c3ca --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__StanfordParserModel_StanfordParserModel_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__StanfordParser_StanfordParser_1_0.xml b/ArtificialAutism/.idea/libraries/Maven__StanfordParser_StanfordParser_1_0.xml new file mode 100644 index 00000000..cff8ed80 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__StanfordParser_StanfordParser_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_austinv11_servicer_Servicer_1_0_3.xml b/ArtificialAutism/.idea/libraries/Maven__com_austinv11_servicer_Servicer_1_0_3.xml new file mode 100644 index 00000000..26224dd8 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_austinv11_servicer_Servicer_1_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_common_3_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_common_3_1_1.xml new file mode 100644 index 00000000..c948bd11 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_common_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_core_3_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_core_3_1_1.xml new file mode 100644 index 00000000..f1cdea9f --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_core_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_gateway_3_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_gateway_3_1_1.xml new file mode 100644 index 00000000..e970389e --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_gateway_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_rest_3_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_rest_3_1_1.xml new file mode 100644 index 00000000..ce32a660 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_rest_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_voice_3_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_voice_3_1_1.xml new file mode 100644 index 00000000..285f7c87 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord4j_voice_3_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_1_5_4.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_1_5_4.xml new file mode 100644 index 00000000..4899cc38 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_1_5_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_api_1_5_4.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_api_1_5_4.xml new file mode 100644 index 00000000..2240b3e3 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_discord_json_api_1_5_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_simple_fsm_1_0_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_simple_fsm_1_0_1.xml new file mode 100644 index 00000000..284e66b5 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_simple_fsm_1_0_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_api_3_1_4.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_api_3_1_4.xml new file mode 100644 index 00000000..1867b221 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_api_3_1_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_jdk_3_1_4.xml b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_jdk_3_1_4.xml new file mode 100644 index 00000000..78e17857 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_discord4j_stores_jdk_3_1_4.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml new file mode 100644 index 00000000..6e052264 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_11_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml new file mode 100644 index 00000000..d4a87e4a --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_11_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml new file mode 100644 index 00000000..63754807 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_11_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_2.xml b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_2.xml new file mode 100644 index 00000000..5544e987 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_11_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_github_mpkorstanje_simmetrics_core_4_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_github_mpkorstanje_simmetrics_core_4_1_1.xml new file mode 100644 index 00000000..b684ebd3 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_github_mpkorstanje_simmetrics_core_4_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_2.xml b/ArtificialAutism/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_2.xml new file mode 100644 index 00000000..05bc1745 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_google_code_findbugs_jsr305_3_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml b/ArtificialAutism/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml new file mode 100644 index 00000000..d9efcb46 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_google_errorprone_error_prone_annotations_2_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_google_guava_guava_26_0_jre.xml b/ArtificialAutism/.idea/libraries/Maven__com_google_guava_guava_26_0_jre.xml new file mode 100644 index 00000000..d53c05ec --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_google_guava_guava_26_0_jre.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml new file mode 100644 index 00000000..cb484177 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_google_j2objc_j2objc_annotations_1_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__com_google_protobuf_protobuf_java_3_6_1.xml b/ArtificialAutism/.idea/libraries/Maven__com_google_protobuf_protobuf_java_3_6_1.xml new file mode 100644 index 00000000..1937a2de --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__com_google_protobuf_protobuf_java_3_6_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml b/ArtificialAutism/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml new file mode 100644 index 00000000..ba7c206a --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__commons_codec_commons_codec_1_10.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__commons_logging_commons_logging_1_2.xml b/ArtificialAutism/.idea/libraries/Maven__commons_logging_commons_logging_1_2.xml new file mode 100644 index 00000000..d6976a73 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__commons_logging_commons_logging_1_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__edu_mit_jmwe_edu_mit_jmwe_1_0_2.xml b/ArtificialAutism/.idea/libraries/Maven__edu_mit_jmwe_edu_mit_jmwe_1_0_2.xml new file mode 100644 index 00000000..1649998d --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__edu_mit_jmwe_edu_mit_jmwe_1_0_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__ejml_ejml_0_2_3.xml b/ArtificialAutism/.idea/libraries/Maven__ejml_ejml_0_2_3.xml new file mode 100644 index 00000000..7695831d --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__ejml_ejml_0_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_buffer_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_buffer_4_1_52_Final.xml new file mode 100644 index 00000000..312e75b5 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_buffer_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_4_1_52_Final.xml new file mode 100644 index 00000000..e0087c43 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http2_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http2_4_1_52_Final.xml new file mode 100644 index 00000000..1d36ef30 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http2_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_52_Final.xml new file mode 100644 index 00000000..9c232fd7 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_http_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_52_Final.xml new file mode 100644 index 00000000..cb0e30da --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_codec_socks_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_common_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_common_4_1_52_Final.xml new file mode 100644 index 00000000..a03e3760 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_common_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_4_1_52_Final.xml new file mode 100644 index 00000000..c80b8245 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_52_Final.xml new file mode 100644 index 00000000..b0e39d4d --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_handler_proxy_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_resolver_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_resolver_4_1_52_Final.xml new file mode 100644 index 00000000..57cc3296 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_resolver_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_4_1_52_Final.xml new file mode 100644 index 00000000..2b3cb8bc --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_52_Final.xml new file mode 100644 index 00000000..ea65a245 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_52_Final.xml b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_52_Final.xml new file mode 100644 index 00000000..75c0f391 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_netty_netty_transport_native_unix_common_4_1_52_Final.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_3_4_RELEASE.xml b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_3_4_RELEASE.xml new file mode 100644 index 00000000..20cadac7 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_addons_reactor_extra_3_3_4_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_netty_reactor_netty_0_9_12_RELEASE.xml b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_netty_reactor_netty_0_9_12_RELEASE.xml new file mode 100644 index 00000000..76068cc6 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_netty_reactor_netty_0_9_12_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_10_RELEASE.xml b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_10_RELEASE.xml new file mode 100644 index 00000000..e0d54c0a --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__io_projectreactor_reactor_core_3_3_10_RELEASE.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__jmweAnno_jmweAnno_1_0.xml b/ArtificialAutism/.idea/libraries/Maven__jmweAnno_jmweAnno_1_0.xml new file mode 100644 index 00000000..47ad6a66 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__jmweAnno_jmweAnno_1_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_13.xml b/ArtificialAutism/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_13.xml new file mode 100644 index 00000000..724bac30 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__mysql_mysql_connector_java_8_0_13.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_dbcp2_2_5_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_dbcp2_2_5_0.xml new file mode 100644 index 00000000..83b0f603 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_dbcp2_2_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_pool2_2_6_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_pool2_2_6_0.xml new file mode 100644 index 00000000..1e0b84dd --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_apache_commons_commons_pool2_2_6_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_analyzers_common_7_2_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_analyzers_common_7_2_0.xml new file mode 100644 index 00000000..6bf19e0a --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_analyzers_common_7_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_core_7_2_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_core_7_2_0.xml new file mode 100644 index 00000000..2197364e --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_apache_lucene_lucene_core_7_2_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_checkerframework_checker_qual_2_5_2.xml b/ArtificialAutism/.idea/libraries/Maven__org_checkerframework_checker_qual_2_5_2.xml new file mode 100644 index 00000000..ee7bc468 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_checkerframework_checker_qual_2_5_2.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml b/ArtificialAutism/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml new file mode 100644 index 00000000..ecbe3b0e --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_codehaus_mojo_animal_sniffer_annotations_1_14.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_annotations_13_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_annotations_13_0.xml new file mode 100644 index 00000000..7296fd52 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_annotations_13_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_5_20_M1.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_5_20_M1.xml new file mode 100644 index 00000000..ce0a84f6 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_1_5_20_M1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_common_1_5_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_common_1_5_0.xml new file mode 100644 index 00000000..651d897e --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_common_1_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_5_20_M1.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_5_20_M1.xml new file mode 100644 index 00000000..ba0d533c --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk7_1_5_20_M1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk8_1_5_20_M1.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk8_1_5_20_M1.xml new file mode 100644 index 00000000..2bac45c7 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_stdlib_jdk8_1_5_20_M1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_test_1_5_20_M1.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_test_1_5_20_M1.xml new file mode 100644 index 00000000..c1336820 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlin_kotlin_test_1_5_20_M1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_5_0.xml b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_5_0.xml new file mode 100644 index 00000000..d173809d --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_jetbrains_kotlinx_kotlinx_coroutines_core_jvm_1_5_0.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml b/ArtificialAutism/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml new file mode 100644 index 00000000..8b0988b8 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__org_reactivestreams_reactive_streams_1_0_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__srParser_srParser_1.xml b/ArtificialAutism/.idea/libraries/Maven__srParser_srParser_1.xml new file mode 100644 index 00000000..719d8bcc --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__srParser_srParser_1.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/Maven__ws4j_ws4j_1_0_1.xml b/ArtificialAutism/.idea/libraries/Maven__ws4j_ws4j_1_0_1.xml new file mode 100644 index 00000000..e28af011 --- /dev/null +++ b/ArtificialAutism/.idea/libraries/Maven__ws4j_ws4j_1_0_1.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/libraries/coreNLP_1_0.xml b/ArtificialAutism/.idea/libraries/coreNLP_1_0.xml new file mode 100644 index 00000000..70bef0cf --- /dev/null +++ b/ArtificialAutism/.idea/libraries/coreNLP_1_0.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/misc.xml b/ArtificialAutism/.idea/misc.xml new file mode 100644 index 00000000..1aa975d8 --- /dev/null +++ b/ArtificialAutism/.idea/misc.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/.idea/modules.xml b/ArtificialAutism/.idea/modules.xml new file mode 100644 index 00000000..03fffdad --- /dev/null +++ b/ArtificialAutism/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/ArtificialAutism.iml b/ArtificialAutism/ArtificialAutism.iml new file mode 100644 index 00000000..c9e2eb2a --- /dev/null +++ b/ArtificialAutism/ArtificialAutism.iml @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/nbactions.xml b/ArtificialAutism/nbactions.xml deleted file mode 100644 index c82458ab..00000000 --- a/ArtificialAutism/nbactions.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - run - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:1.2.1:exec - - - -classpath %classpath PresentationLayer.DiscordHandler - java - - - - debug - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:1.2.1:exec - - - -Xdebug -Xrunjdwp:transport=dt_socket,server=n,address=${jpda.address} -classpath %classpath PresentationLayer.DiscordHandler - java - true - - - - profile - - jar - - - process-classes - org.codehaus.mojo:exec-maven-plugin:1.2.1:exec - - - -classpath %classpath PresentationLayer.DiscordHandler - java - - - diff --git a/ArtificialAutism/pom.xml b/ArtificialAutism/pom.xml index 732f301e..6177ff88 100644 --- a/ArtificialAutism/pom.xml +++ b/ArtificialAutism/pom.xml @@ -1,127 +1,189 @@ - - 4.0.0 - com.mycompany - ArtificialAutism - 1.0 - jar - - - org.apache.commons - commons-dbcp2 - 2.5.0 - jar - - - mysql - mysql-connector-java - 8.0.13 - - - com.google.guava - guava - 26.0-jre - - - com.github.mpkorstanje - simmetrics-core - 4.1.1 - - - ws4j - ws4j - 1.0.1 - - - StanfordParser - StanfordParser - 1.0 - - - StanfordParserModel - StanfordParserModel - 1.0 - - - srParser - srParser - 1 - - - ejml - ejml - 0.2.3 - jar - - - jmweAnno - jmweAnno - 1.0 - jar - - - edu.mit.jmwe - edu.mit.jmwe - 1.0.2 - jar - - - CoreNLP - CoreNLP - 1.0 - jar - - - org.apache.lucene - lucene-analyzers-common - 7.2.0 - jar - - - CorenlpModels - CorenlpModels - 1.0 - - - com.discord4j - discord4j-core - 3.1.1 - - - - UTF-8 - 1.8 - 1.8 - PresentationLayer.DiscordHandler - - - - - maven-dependency-plugin - - - install - - copy-dependencies - - - ${project.build.directory}/lib - - - - - - maven-jar-plugin - - - - true - lib/ - ${mainClass} - - - - - - - \ No newline at end of file + + 4.0.0 + com.mycompany + ArtificialAutism + 1.0 + jar + + + org.apache.commons + commons-dbcp2 + 2.5.0 + jar + + + mysql + mysql-connector-java + 8.0.13 + + + com.google.guava + guava + 26.0-jre + + + com.github.mpkorstanje + simmetrics-core + 4.1.1 + + + ws4j + ws4j + 1.0.1 + + + StanfordParser + StanfordParser + 1.0 + + + + StanfordParserModel + StanfordParserModel + 1.0 + + + + srParser + srParser + 1 + + + + ejml + ejml + 0.2.3 + jar + + + jmweAnno + jmweAnno + 1.0 + jar + + + edu.mit.jmwe + edu.mit.jmwe + 1.0.2 + jar + + + CoreNLP + CoreNLP + 1.0 + jar + + + org.apache.lucene + lucene-analyzers-common + 7.2.0 + jar + + + + com.discord4j + discord4j-core + 3.1.1 + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + ${kotlin.version} + + + org.jetbrains.kotlin + kotlin-test + ${kotlin.version} + test + + + org.jetbrains.kotlinx + kotlinx-coroutines-core-jvm + 1.5.0 + + + + + UTF-8 + 1.8 + 1.8 + PresentationLayer.DiscordHandler + 1.5.20-M1 + + + + + maven-dependency-plugin + + + install + + copy-dependencies + + + ${project.build.directory}/lib + + + + + + maven-jar-plugin + + + + true + lib/ + ${mainClass} + + + + + + org.jetbrains.kotlin + kotlin-maven-plugin + ${kotlin.version} + + + compile + compile + + compile + + + + test-compile + test-compile + + test-compile + + + + + 1.8 + + + + org.apache.maven.plugins + maven-compiler-plugin + + + compile + compile + + compile + + + + testCompile + test-compile + + testCompile + + + + + + + + \ No newline at end of file diff --git a/ArtificialAutism/src/main/java/DataLayer/DBCPDataSourceAutismo.java b/ArtificialAutism/src/main/java/DataLayer/DBCPDataSourceAutismo.java deleted file mode 100644 index df599f68..00000000 --- a/ArtificialAutism/src/main/java/DataLayer/DBCPDataSourceAutismo.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package DataLayer; - -import java.sql.Connection; -import java.sql.SQLException; -import java.util.logging.Level; -import java.util.logging.Logger; -import org.apache.commons.dbcp2.BasicDataSource; -import DataLayer.settings; - -/** - * - * @author install1 - */ -public class DBCPDataSourceAutismo { - private static BasicDataSource ds = new BasicDataSource(); - static { - try { - ds.setDriver(new com.mysql.cj.jdbc.Driver()); - ds.setUrl(settings.autismo_url); - ds.setUsername(settings.autismo_username); - ds.setPassword(settings.autismo_password); - ds.setMaxTotal(-1); - ds.setMinIdle(5); - ds.setMaxIdle(-1); - ds.setMaxOpenPreparedStatements(100); - } catch (SQLException ex) { - Logger.getLogger(DBCPDataSourceAutismo.class.getName()).log(Level.SEVERE, null, ex); - } - } - - public static Connection getConnection() throws SQLException { - return ds.getConnection(); - } - - private DBCPDataSourceAutismo() { - } -} diff --git a/ArtificialAutism/src/main/java/DataLayer/DataMapper.java b/ArtificialAutism/src/main/java/DataLayer/DataMapper.java index 4a8f9109..43710e29 100644 --- a/ArtificialAutism/src/main/java/DataLayer/DataMapper.java +++ b/ArtificialAutism/src/main/java/DataLayer/DataMapper.java @@ -88,22 +88,6 @@ public class DataMapper { } } - public static ConcurrentMap getHLstatsMessages() { - ConcurrentMap hlStatsMessages = new MapMaker().concurrencyLevel(2).makeMap(); - try (Connection l_cCon = DBCPDataSourceHLstats.getConnection()) { - String l_sSQL = "SELECT message FROM `hlstats_Events_Chat`"; - try (PreparedStatement l_pStatement = l_cCon.prepareStatement(l_sSQL)) { - try (ResultSet l_rsSearch = l_pStatement.executeQuery()) { - while (l_rsSearch.next()) { - hlStatsMessages.put(hlStatsMessages.size() + 1, l_rsSearch.getString(1)); - } - } - } - } catch (SQLException ex) { - Logger.getLogger(DataMapper.class.getName()).log(Level.SEVERE, null, ex); - } - return hlStatsMessages; - } public static void CloseConnections(PreparedStatement ps, ResultSet rs, Connection con) { if (rs != null) { diff --git a/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.java b/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.java deleted file mode 100644 index 4a2c0ed5..00000000 --- a/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.java +++ /dev/null @@ -1,823 +0,0 @@ -/* - * To change this license header, choose License Headers in Project Properties. - * To change this template file, choose Tools | Templates - * and open the template in the editor. - */ -package FunctionLayer; - -import DataLayer.DataMapper; -import FunctionLayer.StanfordParser.SentimentAnalyzerTest; -import FunctionLayer.StanfordParser.SentimentValueCache; -import com.google.common.base.Stopwatch; -import com.google.common.collect.MapMaker; -import edu.stanford.nlp.ie.AbstractSequenceClassifier; -import edu.stanford.nlp.ie.crf.CRFClassifier; -import edu.stanford.nlp.ling.CoreLabel; -import edu.stanford.nlp.parser.lexparser.LexicalizedParser; -import edu.stanford.nlp.pipeline.Annotation; -import edu.stanford.nlp.pipeline.CoreDocument; -import edu.stanford.nlp.pipeline.StanfordCoreNLP; -import edu.stanford.nlp.tagger.maxent.MaxentTagger; -import edu.stanford.nlp.trees.GrammaticalStructureFactory; -import edu.stanford.nlp.trees.TreebankLanguagePack; -import java.io.IOException; -import java.io.UnsupportedEncodingException; -import static java.lang.Math.random; -import java.net.DatagramPacket; -import java.net.DatagramSocket; -import java.net.InetAddress; -import java.net.SocketException; -import java.sql.SQLException; -import java.util.AbstractMap; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; -import java.util.LinkedHashMap; -import java.util.List; -import java.util.ListIterator; -import java.util.Map; -import java.util.Map.Entry; -import java.util.Properties; -import java.util.Set; -import java.util.concurrent.Callable; -import java.util.concurrent.CompletionService; -import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.CountDownLatch; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorCompletionService; -import java.util.concurrent.ExecutorService; -import java.util.concurrent.Executors; -import java.util.concurrent.ForkJoinPool; -import java.util.concurrent.ForkJoinTask; -import java.util.concurrent.Future; -import java.util.concurrent.ThreadLocalRandom; -import java.util.concurrent.TimeUnit; -import java.util.concurrent.TimeoutException; -import java.util.function.Consumer; -import java.util.logging.Level; -import java.util.logging.Logger; -import java.util.stream.Collectors; -import java.util.stream.Stream; - -/** - * - * @author install1 - */ -public class Datahandler { - - public static final long EXPIRE_TIME_IN_SECONDS = TimeUnit.SECONDS.convert(10, TimeUnit.MINUTES); - public static final long EXPIRE_TIME_IN_SECONDS1 = TimeUnit.SECONDS.convert(10, TimeUnit.HOURS); - public static Datahandler instance = new Datahandler(); - private static Annotation strAnno; - private static Annotation strAnnoSentiment; - private static Annotation strAnnoJMWE; - private static CoreDocument coreDoc; - private static final ConcurrentMap stringCache = new MapMaker().concurrencyLevel(6).makeMap(); - private static ConcurrentMap pipelineAnnotationCache; - private static ConcurrentMap pipelineSentimentAnnotationCache; - private static ConcurrentMap jmweAnnotationCache; - private static ConcurrentMap coreDocumentAnnotationCache; - private static ConcurrentMap sentimentCachingMap = new MapMaker().concurrencyLevel(6).makeMap(); - private LinkedHashMap> lHMSMX = new LinkedHashMap(); - private final Stopwatch stopwatch; - private static String similar = ""; - private static String shiftReduceParserPath = "edu/stanford/nlp/models/srparser/englishSR.ser.gz"; - private static String sentimentModel = "edu/stanford/nlp/models/sentiment/sentiment.ser.gz"; - private static String lexParserEnglishRNN = "edu/stanford/nlp/models/lexparser/englishRNN.ser.gz"; - private static String taggerPath = "edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger"; - private static String nerModel = "edu/stanford/nlp/models/ner/english.all.3class.caseless.distsim.crf.ser.gz"; - private static String nerModel2 = "edu/stanford/nlp/models/ner/english.conll.4class.caseless.distsim.crf.ser.gz"; - private static String nerModel3 = "edu/stanford/nlp/models/ner/english.muc.7class.caseless.distsim.crf.ser.gz"; - private static final String customStopWordList = "start,starts,period,periods,a,an,and,are,as,at,be,but,by,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with"; - private static MaxentTagger tagger; - private static String[] options = {"-maxLength", "100"}; - private static Properties props = new Properties(); - private static Properties propsSentiment = new Properties(); - private static GrammaticalStructureFactory gsf; - private static LexicalizedParser lp; - private static TreebankLanguagePack tlp; - private static AbstractSequenceClassifier classifier; - // set up Stanford CoreNLP pipeline - private static final StanfordCoreNLP pipeline = getPipeLineSetUp(); - private static StanfordCoreNLP pipelineSentiment; - - public Datahandler() { - this.stopwatch = Stopwatch.createUnstarted(); - this.jmweAnnotationCache = new MapMaker().concurrencyLevel(3).makeMap(); - this.pipelineAnnotationCache = new MapMaker().concurrencyLevel(4).makeMap(); - this.pipelineSentimentAnnotationCache = new MapMaker().concurrencyLevel(4).makeMap(); - this.coreDocumentAnnotationCache = new MapMaker().concurrencyLevel(5).makeMap(); - } - - public static StanfordCoreNLP getPipeline() { - return pipeline; - } - - private static StanfordCoreNLP getPipeLineSetUp() { - props.setProperty("annotators", "tokenize,ssplit,pos,lemma,ner,parse"); - props.setProperty("parse.model", shiftReduceParserPath); - props.setProperty("parse.maxlen", "90"); - props.setProperty("parse.binaryTrees", "true"); - props.setProperty("threads", "8"); - props.setProperty("pos.maxlen", "90"); - props.setProperty("tokenize.maxlen", "90"); - props.setProperty("ssplit.maxlen", "90"); - props.setProperty("lemma.maxlen", "90"); - props.setProperty("ner.model", nerModel + "," + nerModel2 + "," + nerModel3); - props.setProperty("ner.combinationMode", "HIGH_RECALL"); - props.setProperty("regexner.ignorecase", "true"); - props.setProperty("ner.fine.regexner.ignorecase", "true"); - props.setProperty("tokenize.options", "untokenizable=firstDelete"); - return new StanfordCoreNLP(props); - } - - public void shiftReduceParserInitiate() { - //got 8 cores - CountDownLatch cdl = new CountDownLatch(2); - new Thread(() -> { - try { - classifier = CRFClassifier.getClassifierNoExceptions(nerModel); - } catch (ClassCastException ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - cdl.countDown(); - }).start(); - new Thread(() -> { - propsSentiment.setProperty("parse.model", lexParserEnglishRNN); - propsSentiment.setProperty("sentiment.model", sentimentModel); - propsSentiment.setProperty("parse.maxlen", "90"); - propsSentiment.setProperty("threads", "8"); - propsSentiment.setProperty("pos.maxlen", "90"); - propsSentiment.setProperty("tokenize.maxlen", "90"); - propsSentiment.setProperty("ssplit.maxlen", "90"); - propsSentiment.setProperty("annotators", "tokenize,ssplit,pos,parse,sentiment,lemma,stopword"); //coref too expensive memorywise - propsSentiment.setProperty("customAnnotatorClass.stopword", "FunctionLayer.StopwordAnnotator"); - propsSentiment.setProperty(StopwordAnnotator.STOPWORDS_LIST, customStopWordList); - propsSentiment.setProperty("tokenize.options", "untokenizable=firstDelete"); - pipelineSentiment = new StanfordCoreNLP(propsSentiment); - tagger = new MaxentTagger(taggerPath); - cdl.countDown(); - }).start(); - lp = LexicalizedParser.loadModel(lexParserEnglishRNN, options); - tlp = lp.getOp().langpack(); - gsf = tlp.grammaticalStructureFactory(); - try { - cdl.await(); - } catch (InterruptedException ex) { - //System.out.println("cdl await interrupted: " + ex.getLocalizedMessage() + "\n"); - } - System.out.println("finished shiftReduceParserInitiate\n"); - } - - public static AbstractSequenceClassifier getClassifier() { - return classifier; - } - - public static void setClassifier(AbstractSequenceClassifier classifier) { - Datahandler.classifier = classifier; - } - - public void updateStringCache() { - try { - checkIfUpdateStrings(); - } catch (CustomError ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - } - - public static GrammaticalStructureFactory getGsf() { - return gsf; - } - - public static MaxentTagger getTagger() { - return tagger; - } - - private Map getCache() throws SQLException, IOException, CustomError { - return DataMapper.getAllStrings(); - } - - public int getlHMSMXSize() { - return lHMSMX.size(); - } - - public int getstringCacheSize() { - return stringCache.size(); - } - - public void initiateMYSQL() throws SQLException, IOException { - try { - DataMapper.createTables(); - stringCache.putAll(getCache()); - // lHMSMX = DataMapper.getAllRelationScores(); - } catch (CustomError ex) { - Logger.getLogger(Datahandler.class - .getName()).log(Level.SEVERE, null, ex); - } - } - - public void addHLstatsMessages() { - ConcurrentMap hlStatsMessages = new MapMaker().concurrencyLevel(2).makeMap(); - ConcurrentMap strCacheLocal = stringCache; - Collection strs = DataMapper.getHLstatsMessages().values(); - for (String str : strs) { - if (hlStatsMessages.get(str) == null) { - hlStatsMessages.put(str, hlStatsMessages.size()); - } - } - int capacity = 150; - hlStatsMessages.keySet().forEach(str -> { - if (!str.startsWith("!") && MessageResponseHandler.getStr().values().size() < capacity) { - String orElse = strCacheLocal.values().parallelStream().filter(e -> e.equals(str)).findAny().orElse(null); - if (orElse == null) { - MessageResponseHandler.getMessage(str); - } - } - }); - } - - public void instantiateAnnotationMapJMWE() { - if (!stringCache.isEmpty()) { - ConcurrentMap jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(stringCache.values()); - for (Entry entries : jmweAnnotation.entrySet()) { - jmweAnnotationCache.put(entries.getKey(), entries.getValue()); - } - } - } - - public void instantiateAnnotationMap() { - if (!stringCache.isEmpty()) { - ConcurrentMap Annotationspipeline = new MapMaker().concurrencyLevel(2).makeMap(); - ConcurrentMap AnnotationspipelineSentiment = new MapMaker().concurrencyLevel(2).makeMap(); - stringCache.values().parallelStream().forEach(str -> { - Annotation strAnno = new Annotation(str); - strAnno.compact(); - Annotationspipeline.put(str, strAnno); - Annotation strAnno2 = new Annotation(str); - strAnno2.compact(); - AnnotationspipelineSentiment.put(str, strAnno2); - }); - ConcurrentMap coreDocumentpipelineMap = getMultipleCoreDocumentsWaySuggestion(stringCache.values(), pipeline); - pipeline.annotate(Annotationspipeline.values()); - pipelineSentiment.annotate(AnnotationspipelineSentiment.values()); - Annotationspipeline.entrySet().forEach(pipelineEntry -> { - //relatively experimental change - pipelineEntry.getValue().compact(); - pipelineAnnotationCache.put(pipelineEntry.getKey(), pipelineEntry.getValue()); - }); - AnnotationspipelineSentiment.entrySet().forEach(pipelineEntry -> { - pipelineEntry.getValue().compact(); - pipelineSentimentAnnotationCache.put(pipelineEntry.getKey(), pipelineEntry.getValue()); - }); - coreDocumentpipelineMap.entrySet().stream().forEach(CD -> { - coreDocumentAnnotationCache.put(CD.getKey(), CD.getValue()); - }); - } - } - - private ConcurrentMap futuresReturnOverallEvaluation(List similarityMatrixes) { - ConcurrentMap strmapreturn = new MapMaker().concurrencyLevel(6).makeMap(); - if (!similarityMatrixes.isEmpty()) { - int iterator = 0; - for (SimilarityMatrix SMX : similarityMatrixes) { - final Double scoreRelationNewMsgToRecentMsg = SMX.getDistance(); - if (scoreRelationNewMsgToRecentMsg > 0.0) { - strmapreturn = addSMXToMapReturn(strmapreturn, SMX); - } - //System.out.println("scoreRelationNewMsgToRecentMsg: " + scoreRelationNewMsgToRecentMsg + "\niterator: " + iterator); - iterator++; - } - } - return strmapreturn; - } - - private ConcurrentMap addSMXToMapReturn(ConcurrentMap strmapreturn, SimilarityMatrix SMX) { - if (!strmapreturn.containsValue(SMX.getPrimaryString())) { - strmapreturn.put(strmapreturn.size(), SMX.getPrimaryString()); - String transmittedStr = SMX.getSecondaryString(); - SentimentValueCache cacheValue1 = SMX.getCacheValue1(); - SentimentValueCache cacheValue2 = SMX.getCacheValue2(); - if (cacheValue1 != null && !sentimentCachingMap.keySet().contains(SMX.getPrimaryString())) { - sentimentCachingMap.put(SMX.getSecondaryString(), SMX.getCacheValue1()); - } - if (cacheValue2 != null && !sentimentCachingMap.keySet().contains(transmittedStr)) { - sentimentCachingMap.put(transmittedStr, SMX.getCacheValue2()); - } - } - return strmapreturn; - } - - private List StrComparringNoSentenceRelationMap( - ConcurrentMap strCacheLocal, Collection strCollection, ConcurrentMap localJMWEMap, - ConcurrentMap localPipelineAnnotation, ConcurrentMap localPipelineSentimentAnnotation, - ConcurrentMap localCoreDocumentMap) { - ExecutorService threadPool = Executors.newCachedThreadPool(); - CompletionService ecs = new ExecutorCompletionService<>(threadPool); - int index = 0; - int prefix_size = 150; - SentimentValueCache sentimentCacheStr = sentimentCachingMap.getOrDefault(strCollection, null); - List smxReturnList = new ArrayList(); - if (strCacheLocal.size() < prefix_size) - { - for (String colStr : strCollection) - { - strCacheLocal.put(strCacheLocal.size(), colStr); - } - } - - - - for (String str1 : strCollection) { - for (String str : strCollection) { - if (!str.equals(str1)) { - SimilarityMatrix SMXInit = new SimilarityMatrix(str, str1); - SentimentValueCache sentimentCacheStr1 = sentimentCachingMap.getOrDefault(str1, null); - Callable worker; - if (stringCache.size() < prefix_size) { - worker = new SentimentAnalyzerTest(str, str1, SMXInit, - localJMWEMap.get(str), localJMWEMap.get(str1), localPipelineAnnotation.get(str), - localPipelineAnnotation.get(str1), localPipelineSentimentAnnotation.get(str), - localPipelineSentimentAnnotation.get(str1), localCoreDocumentMap.get(str), localCoreDocumentMap.get(str1), sentimentCacheStr, sentimentCacheStr1); - } else { - worker = new SentimentAnalyzerTest(str, str1, SMXInit, - localJMWEMap.get(str), jmweAnnotationCache.get(str1), localPipelineAnnotation.get(str), - pipelineAnnotationCache.get(str1), localPipelineSentimentAnnotation.get(str), - pipelineSentimentAnnotationCache.get(str1), localCoreDocumentMap.get(str), coreDocumentAnnotationCache.get(str1), sentimentCacheStr, sentimentCacheStr1); - } - ecs.submit(worker); - index++; - if (index % 1000 == 0 && index > 0) { - for (int i = 0; i < index; i++) { - try { - Future take = ecs.take(); - SimilarityMatrix smx = take.get(); - if (smx != null) { - smxReturnList.add(smx); - } - } catch (InterruptedException | ExecutionException ex) { - // - } - } - index = 0; - //System.out.println("smxReturnList size iterating ECS.take(): " + smxReturnList.size()); - } - } - } - } - for (int i = 0; i < index; i++) { - try { - Future take = ecs.take(); - SimilarityMatrix smx = take.get(); - double distance_requirement = 1500.0; - if (smx != null && smx.getDistance() > distance_requirement) { - smxReturnList.add(smx); - } - } catch (InterruptedException | ExecutionException ex) { - // - } - } - //System.out.println("smxReturnList size: " + smxReturnList.size()); - threadPool.shutdown(); - return smxReturnList; - } - - private ConcurrentMap stringIteratorComparator(ConcurrentMap strmap, - ConcurrentMap strCacheLocal, ConcurrentMap localJMWEMap, - ConcurrentMap localPipelineAnnotation, ConcurrentMap localPipelineSentimentAnnotation, - ConcurrentMap localCoreDocumentMap) { - //System.out.println("strmap siuze: " + strmap.size()); - List StrComparringNoSentenceRelationMap = StrComparringNoSentenceRelationMap(strCacheLocal, strmap.values(), - localJMWEMap, localPipelineAnnotation, localPipelineSentimentAnnotation, localCoreDocumentMap); - Collections.sort(StrComparringNoSentenceRelationMap, (e1, e2) -> e1.getPrimaryString().compareTo(e2.getPrimaryString())); - ConcurrentMap strmapreturn = futuresReturnOverallEvaluation(StrComparringNoSentenceRelationMap); - //System.out.println("strmapreturn size: " + strmapreturn.size()); - return strmapreturn; - } - - private ConcurrentMap removeNonSensicalStrings(ConcurrentMap strmap) { - final ConcurrentMap strCacheLocal = stringCache; - final ConcurrentMap localJMWEMap = getMultipleJMWEAnnotation(strmap.values()); - final ConcurrentMap localPipelineAnnotation = getMultiplePipelineAnnotation(strmap.values()); - final ConcurrentMap localPipelineSentimentAnnotation = getMultiplePipelineSentimentAnnotation(strmap.values()); - final ConcurrentMap localCoreDocumentMap = getMultipleCoreDocumentsWaySuggestion(strmap.values(), pipeline); - return stringIteratorComparator(strmap, strCacheLocal, localJMWEMap, localPipelineAnnotation, localPipelineSentimentAnnotation, localCoreDocumentMap); - } - - public synchronized void checkIfUpdateStrings() throws CustomError { - if (stopwatch.elapsed(TimeUnit.SECONDS) >= EXPIRE_TIME_IN_SECONDS || !stopwatch.isRunning()) { - ConcurrentMap str = MessageResponseHandler.getStr(); - System.out.println("str size: " + str.size()); - str = filterContent(str); - str = removeNonSensicalStrings(str); - //System.out.println("removeNonSensicalStrings str size POST: " + str.size() + "\n"); - str = annotationCacheUpdate(str); - System.out.println("annotationCacheUpdate str size POST: " + str.size() + "\n"); - ConcurrentMap strf = str; - if (!stringCache.isEmpty()) { - new Thread(() -> { - try { - DataMapper.InsertMYSQLStrings(strf); - } catch (CustomError ex) { - Logger.getLogger(Datahandler.class - .getName()).log(Level.SEVERE, null, ex); - } - MessageResponseHandler.setStr(new MapMaker().concurrencyLevel(6).makeMap()); - }).start(); - } else { - try { - DataMapper.InsertMYSQLStrings(strf); - } catch (CustomError ex) { - Logger.getLogger(Datahandler.class - .getName()).log(Level.SEVERE, null, ex); - } - MessageResponseHandler.setStr(new MapMaker().concurrencyLevel(2).makeMap()); - } - if (!stopwatch.isRunning()) { - stopwatch.start(); - } else { - stopwatch.reset(); - } - } - } - - private String trimString(String str) { - str = str.trim(); - if (str.startsWith("<@")) { - str = str.substring(str.indexOf("> ") + 2); - } - return str; - } - - private String getResponseFutures(String strF) { - List values_copy = new ArrayList(stringCache.values()); - Collections.shuffle(values_copy); - double preRelationUserCounters = -155000.0; - List concurrentRelations = new ArrayList(); - for (String str1 : values_copy) { - if (!strF.equals(str1)) { - SentimentValueCache sentimentCacheStr1 = sentimentCachingMap.getOrDefault(str1, null); - Callable worker = new SentimentAnalyzerTest(strF, str1, new SimilarityMatrix(strF, str1), - strAnnoJMWE, jmweAnnotationCache.get(str1), strAnno, - pipelineAnnotationCache.get(str1), strAnnoSentiment, - pipelineSentimentAnnotationCache.get(str1), coreDoc, coreDocumentAnnotationCache.get(str1), null, sentimentCacheStr1); - try { - SimilarityMatrix getSMX = worker.call(); - if (getSMX != null) { - Double scoreRelationLastUserMsg = getSMX.getDistance(); - if (scoreRelationLastUserMsg > preRelationUserCounters) { - preRelationUserCounters = scoreRelationLastUserMsg; - concurrentRelations.add(getSMX.getSecondaryString()); - //System.out.println("secondary: " + getSMX.getSecondaryString() + "\nDistance: " + getSMX.getDistance() + "\n"); - //System.out.println("SUCESS concurrentRelationsMap size: " + concurrentRelations.size() + "\n"); - } - } - } catch (Exception ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - } - } - - StringBuilder SB = new StringBuilder(); - double randomLenghtPermit = strF.length() * ((Math.random() * Math.random() * Math.random()) * 5); - Collections.reverse(concurrentRelations); - if (concurrentRelations.isEmpty()) { - return "failure, preventing stuckness"; - } - String firstRelation = concurrentRelations.get(0); - for (String secondaryRelation : concurrentRelations) { - if (SB.toString().length() > randomLenghtPermit && !SB.toString().isEmpty()) { - break; - } - boolean append = appendToString(firstRelation, secondaryRelation); - if (append) { - SB.append(secondaryRelation).append(" "); - } - } - return SB.toString(); - } - - private boolean appendToString(String firstRelation, String secondaryRelation) { - if (firstRelation.equals(secondaryRelation)) { - return true; - } - Double scoreRelationStrF = getScoreRelationStrF(firstRelation, secondaryRelation); - if (scoreRelationStrF > 1900) { - return true; - } - return false; - } - - public String getResponseMsg(String str) throws CustomError { - String strF = trimString(str); - getSingularAnnotation(strF); - return getResponseFutures(strF); - } - - public void getSingularAnnotation(String str) { - strAnno = new Annotation(str); - strAnno.compact(); - pipeline.annotate(strAnno); - strAnnoSentiment = new Annotation(str); - strAnnoSentiment.compact(); - pipelineSentiment.annotate(strAnnoSentiment); - List notactualList = new ArrayList(); - notactualList.add(str); - ConcurrentMap jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(notactualList); - strAnnoJMWE = jmweAnnotation.values().iterator().next(); - strAnnoJMWE.compact(); - CoreDocument coreDocument = new CoreDocument(str); - pipeline.annotate(coreDocument); - coreDoc = coreDocument; - } - - private static ConcurrentMap getMultipleJMWEAnnotation(Collection str) { - ConcurrentMap jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(str); - return jmweAnnotation; - } - - private static ConcurrentMap getMultiplePipelineAnnotation(Collection str) { - ConcurrentMap pipelineAnnotationMap = new MapMaker().concurrencyLevel(2).makeMap(); - for (String str1 : str) { - Annotation strAnno1 = new Annotation(str1); - pipelineAnnotationMap.put(str1, strAnno1); - } - pipeline.annotate(pipelineAnnotationMap.values()); - return pipelineAnnotationMap; - } - - private static ConcurrentMap getMultiplePipelineSentimentAnnotation(Collection str) { - ConcurrentMap pipelineAnnotationMap = new MapMaker().concurrencyLevel(2).makeMap(); - for (String str1 : str) { - Annotation strAnno1 = new Annotation(str1); - pipelineAnnotationMap.put(str1, strAnno1); - } - pipelineSentiment.annotate(pipelineAnnotationMap.values()); - return pipelineAnnotationMap; - } - - private Double getScoreRelationNewMsgToRecentMsg(String str, String mostRecentMsg) { - SimilarityMatrix SMX = new SimilarityMatrix(str, mostRecentMsg); - SentimentValueCache cacheSentiment1 = sentimentCachingMap.getOrDefault(str, null); - SentimentValueCache cacheSentiment2 = sentimentCachingMap.getOrDefault(mostRecentMsg, null); - Callable worker = new SentimentAnalyzerTest(str, mostRecentMsg, SMX, - jmweAnnotationCache.get(str), jmweAnnotationCache.get(mostRecentMsg), pipelineAnnotationCache.get(str), - pipelineAnnotationCache.get(mostRecentMsg), pipelineSentimentAnnotationCache.get(str), - pipelineSentimentAnnotationCache.get(mostRecentMsg), coreDocumentAnnotationCache.get(str), - coreDocumentAnnotationCache.get(mostRecentMsg), cacheSentiment1, cacheSentiment2); - SimilarityMatrix callSMX = null; - try { - callSMX = worker.call(); - } catch (Exception ex) { - Logger.getLogger(Datahandler.class - .getName()).log(Level.SEVERE, null, ex); - } - if (callSMX != null) { - double smxDistance = callSMX.getDistance(); - return smxDistance; - } - return 0.0; - } - - private Double getScoreRelationStrF(String str, String mostRecentMsg) { - SimilarityMatrix SMX = new SimilarityMatrix(str, mostRecentMsg); - SentimentValueCache cacheSentiment1 = sentimentCachingMap.getOrDefault(str, null); - SentimentValueCache cacheSentiment2 = sentimentCachingMap.getOrDefault(mostRecentMsg, null); - Callable worker = new SentimentAnalyzerTest(str, mostRecentMsg, SMX, - strAnnoJMWE, jmweAnnotationCache.get(mostRecentMsg), strAnno, - pipelineAnnotationCache.get(mostRecentMsg), strAnnoSentiment, - pipelineSentimentAnnotationCache.get(mostRecentMsg), coreDoc, coreDocumentAnnotationCache.get(mostRecentMsg), cacheSentiment1, cacheSentiment2); - SimilarityMatrix callSMX = null; - try { - callSMX = worker.call(); - } catch (Exception ex) { - Logger.getLogger(Datahandler.class - .getName()).log(Level.SEVERE, null, ex); - } - if (callSMX != null) { - double smxDistance = callSMX.getDistance(); - return smxDistance; - } - return 0.0; - } - - public static ConcurrentMap filterContent(ConcurrentMap str) { - ConcurrentMap strlistreturn = new MapMaker().concurrencyLevel(2).makeMap(); - str.values().forEach(str1 -> { - if (!str1.isEmpty() && str1.length() > 3) { - str1 = str1.trim(); - if (str1.contains("PM*")) { - str1 = str1.substring(str1.indexOf("PM*") + 3); - } - if (str1.contains("AM*")) { - str1 = str1.substring(str1.indexOf("AM*") + 3); - } - if (str1.contains("?") || str1.contains("°")) - { - if (!str1.contains("http")) - { - str1 = str1.replace("?", " <:wlenny:514861023002624001> "); - str1 = str1.replace("°", " <:wlenny:514861023002624001> "); - } - } - - if (str1.contains("(Counter-Terrorist)")) { - str1 = str1.replace("(Counter-Terrorist)", " "); - } - if (str1.contains("(Terrorist)")) { - str1 = str1.replace("(Terrorist)", " "); - } - if (str1.contains("(Spectator)")) { - str1 = str1.replace("(Spectator)", " "); - } - if (str1.contains("*DEAD*")) { - str1 = str1.replace("*DEAD*", " "); - } - if (str1.contains("{red}")) { - str1 = str1.replace("{red}", " "); - } - if (str1.contains("{orange}")) { - str1 = str1.replace("{orange}", " "); - } - if (str1.contains("{yellow}")) { - str1 = str1.replace("{yellow}", " "); - } - if (str1.contains("{green}")) { - str1 = str1.replace("{green}", " "); - } - if (str1.contains("{lightblue}")) { - str1 = str1.replace("{lightblue}", " "); - } - if (str1.contains("{blue}")) { - str1 = str1.replace("{blue}", " "); - } - if (str1.contains("{purple}")) { - str1 = str1.replace("{purple}", " "); - } - if (str1.contains("{white}")) { - str1 = str1.replace("{white}", " "); - } - if (str1.contains("{fullblue}")) { - str1 = str1.replace("{fullblue}", " "); - } - if (str1.contains("{cyan}")) { - str1 = str1.replace("{cyan}", " "); - } - if (str1.contains("{lime}")) { - str1 = str1.replace("{lime}", " "); - } - if (str1.contains("{deeppink}")) { - str1 = str1.replace("{deeppink}", " "); - } - if (str1.contains("{slategray}")) { - str1 = str1.replace("{slategray}", " "); - } - if (str1.contains("{dodgerblue}")) { - str1 = str1.replace("{dodgerblue}", " "); - } - if (str1.contains("{black}")) { - str1 = str1.replace("{black}", " "); - } - if (str1.contains("{orangered}")) { - str1 = str1.replace("{orangered}", " "); - } - if (str1.contains("{darkorchid}")) { - str1 = str1.replace("{darkorchid}", " "); - } - if (str1.contains("{pink}")) { - str1 = str1.replace("{pink}", " "); - } - if (str1.contains("{lightyellow}")) { - str1 = str1.replace("{lightyellow}", " "); - } - if (str1.contains("{chocolate}")) { - str1 = str1.replace("{chocolate}", " "); - } - if (str1.contains("{beige}")) { - str1 = str1.replace("{beige}", " "); - } - if (str1.contains("{azure}")) { - str1 = str1.replace("{azure}", " "); - } - if (str1.contains("{yellowgreen}")) { - str1 = str1.replace("{yellowgreen}", " "); - } - str1 = str1.trim(); - if (str1.length() > 2 && (!str1.startsWith("!"))) { - strlistreturn.put(strlistreturn.size(), str1); - } - } - }); - return strlistreturn; - } - - private ConcurrentMap annotationCacheUpdate(ConcurrentMap strmap) { - ConcurrentMap jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(strmap.values()); - for (Entry jmweitr : jmweAnnotation.entrySet()) { - jmweAnnotationCache.put(jmweitr.getKey(), jmweitr.getValue()); - } - ConcurrentMap Annotationspipeline = new MapMaker().concurrencyLevel(4).makeMap(); - ConcurrentMap AnnotationspipelineSentiment = new MapMaker().concurrencyLevel(4).makeMap(); - ConcurrentMap coreDocumentpipelineMap = getMultipleCoreDocumentsWaySuggestion(strmap.values(), pipeline); - strmap.values().forEach(str -> { - Annotation strAnno1 = new Annotation(str); - Annotationspipeline.put(str, strAnno1); - Annotation strAnno2 = new Annotation(str); - AnnotationspipelineSentiment.put(str, strAnno2); - stringCache.put(stringCache.size() + 1, str); - }); - pipeline.annotate(Annotationspipeline.values()); - pipelineSentiment.annotate(AnnotationspipelineSentiment.values()); - Annotationspipeline.entrySet().forEach(pipelineEntry -> { - if (pipelineEntry != null) { - pipelineAnnotationCache.put(pipelineEntry.getKey(), pipelineEntry.getValue()); - } - }); - AnnotationspipelineSentiment.entrySet().forEach(pipelineEntry -> { - if (pipelineEntry != null) { - pipelineSentimentAnnotationCache.put(pipelineEntry.getKey(), pipelineEntry.getValue()); - } - }); - coreDocumentpipelineMap.entrySet().forEach(coreDocumentEntry -> { - coreDocumentAnnotationCache.put(coreDocumentEntry.getKey(), coreDocumentEntry.getValue()); - }); - return strmap; - } - - public int getMessageOverHead() { - return stringCache.values().size() - (stringCache.values().size() / 10); - } - - public void update_autismo_socket_msg() { - try { - try (DatagramSocket serverSocket = new DatagramSocket(48477)) { - try (DatagramSocket serverSocket1 = new DatagramSocket(48478)) { - byte[] receiveData = new byte[4096]; - InetAddress IPAddress = InetAddress.getByName("144.76.218.19"); - DatagramPacket receivePacket = new DatagramPacket(receiveData, receiveData.length); - while (true) { - serverSocket.receive(receivePacket); - String sentence = new String(receivePacket.getData(), 0, receivePacket.getLength()); - sentence = sentence.replace("clientmessage:", ""); - String getResponseMsg = getResponseMsg(sentence); - byte[] sendData = getResponseMsg.getBytes("UTF-8"); - DatagramPacket sendPacket = new DatagramPacket(sendData, sendData.length, IPAddress, 48477); - serverSocket.send(sendPacket); - - receivePacket = new DatagramPacket(receiveData, receiveData.length); - serverSocket1.receive(receivePacket); - sentence = new String(receivePacket.getData(), 0, receivePacket.getLength()); - sentence = sentence.replace("clientmessage:", ""); - getResponseMsg = getResponseMsg(sentence); - sendData = getResponseMsg.getBytes("UTF-8"); - sendPacket = new DatagramPacket(sendData, sendData.length, IPAddress, 48478); - serverSocket1.send(sendPacket); - } - } - } catch (CustomError ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - } catch (SocketException ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } catch (UnsupportedEncodingException ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } catch (IOException ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - } - - private static class AnnotationCollector implements Consumer { - - private static int i = 0; - private List annotationsT = new ArrayList(); - - @Override - public void accept(T ann) { - //System.out.println("adding ann: " + ann.toString()); - annotationsT.add(ann); - } - } - - public static ConcurrentMap getMultipleCoreDocumentsWaySuggestion(Collection str, StanfordCoreNLP localNLP) { - AnnotationCollector annCollector = new AnnotationCollector(); - for (String exampleString : str) { - localNLP.annotate(new Annotation(exampleString), annCollector); - annCollector.i++; - //System.out.println("iterator: " + annCollector.i + "\nstr size: " + str.size() + "\n"); - } - try { - Thread.sleep(8000); - } catch (InterruptedException ex) { - Logger.getLogger(Datahandler.class.getName()).log(Level.SEVERE, null, ex); - } - ConcurrentMap annotationreturnMap = new MapMaker().concurrencyLevel(6).makeMap(); - for (Annotation ann : annCollector.annotationsT) { - if (ann != null) { - ann.compact(); - CoreDocument CD = new CoreDocument(ann); - annotationreturnMap.put(CD.text(), CD); - //System.out.println("CD text:" + CD.text() + "\niterator: " + iterator + "\nsize: " + annCollector.annotationsT.size()); - } - } - return annotationreturnMap; - } -} diff --git a/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.kt b/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.kt new file mode 100644 index 00000000..60e047e5 --- /dev/null +++ b/ArtificialAutism/src/main/java/FunctionLayer/Datahandler.kt @@ -0,0 +1,804 @@ +/* + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package FunctionLayer + +import DataLayer.DataMapper +import FunctionLayer.StanfordParser.SentimentAnalyzerTest +import FunctionLayer.StanfordParser.SentimentValueCache +import com.google.common.base.Stopwatch +import com.google.common.collect.MapMaker +import edu.stanford.nlp.ie.AbstractSequenceClassifier +import edu.stanford.nlp.ie.crf.CRFClassifier +import edu.stanford.nlp.ling.CoreLabel +import edu.stanford.nlp.parser.lexparser.LexicalizedParser +import edu.stanford.nlp.pipeline.Annotation +import edu.stanford.nlp.pipeline.CoreDocument +import edu.stanford.nlp.pipeline.StanfordCoreNLP +import edu.stanford.nlp.tagger.maxent.MaxentTagger +import edu.stanford.nlp.trees.GrammaticalStructureFactory +import edu.stanford.nlp.trees.TreebankLanguagePack +import kotlinx.coroutines.* +import java.io.IOException +import java.io.UnsupportedEncodingException +import java.lang.Runnable +import java.net.DatagramPacket +import java.net.DatagramSocket +import java.net.InetAddress +import java.net.SocketException +import java.sql.SQLException +import java.util.* +import java.util.concurrent.* +import java.util.function.Consumer +import java.util.logging.Level +import java.util.logging.Logger +import kotlin.collections.ArrayList + +/** + * + * @author install1 + */ +class Datahandler { + private val lHMSMX: LinkedHashMap = LinkedHashMap() + private val stopwatch: Stopwatch + fun shiftReduceParserInitiate() { + val cdl = CountDownLatch(2) + Thread(Runnable { + try { + classifier = CRFClassifier.getClassifierNoExceptions(nerModel) + } catch (ex: ClassCastException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + cdl.countDown() + }).start() + Thread(Runnable { + propsSentiment.setProperty("parse.model", lexParserEnglishRNN) + propsSentiment.setProperty("sentiment.model", sentimentModel) + propsSentiment.setProperty("parse.maxlen", "90") + propsSentiment.setProperty("threads", "5") + propsSentiment.setProperty("pos.maxlen", "90") + propsSentiment.setProperty("tokenize.maxlen", "90") + propsSentiment.setProperty("ssplit.maxlen", "90") + propsSentiment.setProperty("annotators", "tokenize,ssplit,pos,parse,sentiment,lemma,stopword") //coref too expensive memorywise + propsSentiment.setProperty("customAnnotatorClass.stopword", "FunctionLayer.StopwordAnnotator") + propsSentiment.setProperty(StopwordAnnotator.STOPWORDS_LIST, customStopWordList) + propsSentiment.setProperty("tokenize.options", "untokenizable=firstKeep") + pipelineSentiment = StanfordCoreNLP(propsSentiment) + tagger = MaxentTagger(taggerPath) + cdl.countDown() + }).start() + lp = LexicalizedParser.loadModel(lexParserEnglishRNN, *options) + + tlp = lp.getOp().langpack() + gsf = tlp.grammaticalStructureFactory() + try { + cdl.await() + } catch (ex: InterruptedException) { + //System.out.println("cdl await interrupted: " + ex.getLocalizedMessage() + "\n"); + } + println("finished shiftReduceParserInitiate\n") + } + + fun updateStringCache() { + try { + checkIfUpdateStrings() + } catch (ex: CustomError) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + } + + @get:Throws(SQLException::class, IOException::class, CustomError::class) + private val cache: Map + private get() = DataMapper.getAllStrings() + + @Throws(SQLException::class, IOException::class) + fun initiateMYSQL() { + try { + DataMapper.createTables() + stringCache.putAll(cache) + // lHMSMX = DataMapper.getAllRelationScores(); + } catch (ex: CustomError) { + Logger.getLogger(Datahandler::class.java + .name).log(Level.SEVERE, null, ex) + } + } + + fun instantiateAnnotationMapJMWE() { + if (!stringCache.isEmpty()) { + val jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(stringCache.values) + for ((key, value) in jmweAnnotation) { + jmweAnnotationCache[key] = value + } + } + } + + fun instantiateAnnotationMap() { + if (!stringCache.isEmpty()) { + val Annotationspipeline = MapMaker().concurrencyLevel(4).makeMap() + val AnnotationspipelineSentiment = MapMaker().concurrencyLevel(4).makeMap() + runBlocking { + val job = launch(Dispatchers.Default) { + for (str in stringCache.values) { + val strAnno = Annotation(str) + strAnno.compact() + Annotationspipeline[str] = strAnno + val strAnno2 = Annotation(str) + strAnno2.compact() + AnnotationspipelineSentiment[str] = strAnno2 + } + yield() + } + job.join(); + } + val coreDocumentpipelineMap = getMultipleCoreDocumentsWaySuggestion(stringCache.values, pipeline) + pipeline.annotate(Annotationspipeline.values) + pipelineSentiment!!.annotate(AnnotationspipelineSentiment.values) + runBlocking { + val job = launch(Dispatchers.Default) { + for (i in Annotationspipeline.entries) { + i.value.compact() + pipelineAnnotationCache[i.key] = i.value + } + yield() + } + job.join() + } + runBlocking { + val job = launch(Dispatchers.Default) { + for (i in AnnotationspipelineSentiment.entries) { + i.value.compact() + pipelineSentimentAnnotationCache[i.key] = i.value + } + yield() + } + job.join() + } + runBlocking { + val job = launch(Dispatchers.Default) { + for (i in coreDocumentpipelineMap.entries) { + coreDocumentAnnotationCache[i.key] = i.value + } + yield() + } + job.join() + } + } + } + + private fun futuresReturnOverallEvaluation(similarityMatrixes: List): ConcurrentMap { + var strmapreturn = MapMaker().concurrencyLevel(6).makeMap() + if (!similarityMatrixes.isEmpty()) { + var iterator = 0 + for (SMX in similarityMatrixes) { + val scoreRelationNewMsgToRecentMsg = SMX!!.distance + if (scoreRelationNewMsgToRecentMsg > 0.0) { + strmapreturn = addSMXToMapReturn(strmapreturn, SMX) + } + //System.out.println("scoreRelationNewMsgToRecentMsg: " + scoreRelationNewMsgToRecentMsg + "\niterator: " + iterator); + iterator++ + } + } + return strmapreturn + } + + private fun addSMXToMapReturn(strmapreturn: ConcurrentMap, SMX: SimilarityMatrix?): ConcurrentMap { + if (!strmapreturn.containsValue(SMX!!.primaryString)) { + strmapreturn[strmapreturn.size] = SMX.primaryString + val transmittedStr = SMX.secondaryString + val cacheValue1 = SMX.cacheValue1 + val cacheValue2 = SMX.cacheValue2 + if (cacheValue1 != null && !sentimentCachingMap.keys.contains(SMX.primaryString)) { + sentimentCachingMap[SMX.secondaryString] = SMX.cacheValue1 + } + if (cacheValue2 != null && !sentimentCachingMap.keys.contains(transmittedStr)) { + sentimentCachingMap[transmittedStr] = SMX.cacheValue2 + } + } + return strmapreturn + } + + + private fun StrComparringNoSentenceRelationMap(strCacheLocal: ConcurrentMap, strCollection: Collection, localJMWEMap: ConcurrentMap, + localPipelineAnnotation: ConcurrentMap, localPipelineSentimentAnnotation: ConcurrentMap, + localCoreDocumentMap: ConcurrentMap): List { + + //TODO here + val distance_requirement = 15500.0 + val prefix_size = 150 + val smxReturnList: ArrayList = ArrayList() + runBlocking { + val job = launch(Dispatchers.Default) { + for (j in strCollection) { + for (i in strCollection) { + if (j != i) { + val SMXInit = SimilarityMatrix(j, i) + val sentimentCacheStr1 = sentimentCachingMap.getOrDefault(i, null) + val sentimentCacheStr = sentimentCachingMap.getOrDefault(j, null) + var sentimentAnalyzerTest: SentimentAnalyzerTest? = null + if (stringCache.size < prefix_size) { + sentimentAnalyzerTest = SentimentAnalyzerTest(j, i, SMXInit, + localJMWEMap[j], localJMWEMap[i], localPipelineAnnotation[j], + localPipelineAnnotation[i], localPipelineSentimentAnnotation[j], + localPipelineSentimentAnnotation[i], localCoreDocumentMap[j], localCoreDocumentMap[i], + sentimentCacheStr, sentimentCacheStr1) + } else { + sentimentAnalyzerTest = SentimentAnalyzerTest(j, i, SMXInit, + localJMWEMap[j], jmweAnnotationCache[i], localPipelineAnnotation[j], + pipelineAnnotationCache[i], localPipelineSentimentAnnotation[j], + pipelineSentimentAnnotationCache[i], localCoreDocumentMap[j], + coreDocumentAnnotationCache[i], sentimentCacheStr, sentimentCacheStr1) + } + val call = sentimentAnalyzerTest.call(); + if (call != null && call.distance > distance_requirement) { + smxReturnList.add(call) + } + } + } + } + yield() + } + job.join() + } + + return smxReturnList + } + + private fun stringIteratorComparator(strmap: ConcurrentMap, + strCacheLocal: ConcurrentMap, localJMWEMap: ConcurrentMap, + localPipelineAnnotation: ConcurrentMap, localPipelineSentimentAnnotation: ConcurrentMap, + localCoreDocumentMap: ConcurrentMap): ConcurrentMap { + //System.out.println("strmap siuze: " + strmap.size()); + val ComparringNoSentenceRelationMap: List = StrComparringNoSentenceRelationMap(strCacheLocal, strmap.values, + localJMWEMap, localPipelineAnnotation, localPipelineSentimentAnnotation, localCoreDocumentMap) as List + Collections.sort(ComparringNoSentenceRelationMap, Comparator { e1: SimilarityMatrix, e2: SimilarityMatrix -> e1.primaryString.compareTo(e2.primaryString) }) + //System.out.println("strmapreturn size: " + strmapreturn.size()); + return futuresReturnOverallEvaluation(ComparringNoSentenceRelationMap) + } + + private fun removeNonSensicalStrings(strmap: ConcurrentMap): ConcurrentMap { + val strCacheLocal = stringCache + val localJMWEMap = getMultipleJMWEAnnotation(strmap.values) + val localPipelineAnnotation = getMultiplePipelineAnnotation(strmap.values) + val localPipelineSentimentAnnotation = getMultiplePipelineSentimentAnnotation(strmap.values) + val localCoreDocumentMap = getMultipleCoreDocumentsWaySuggestion(strmap.values, pipeline) + return stringIteratorComparator(strmap, strCacheLocal, localJMWEMap, localPipelineAnnotation, localPipelineSentimentAnnotation, localCoreDocumentMap) + } + + @Synchronized + @Throws(CustomError::class) + fun checkIfUpdateStrings() { + if (stopwatch.elapsed(TimeUnit.SECONDS) >= EXPIRE_TIME_IN_SECONDS || !stopwatch.isRunning) { + var str = MessageResponseHandler.getStr() + println("str size: " + str.size) + str = filterContent(str) + str = removeNonSensicalStrings(str) + //System.out.println("removeNonSensicalStrings str size POST: " + str.size() + "\n"); + str = annotationCacheUpdate(str) + println(""" + annotationCacheUpdate str size POST: ${str.size} + + """.trimIndent()) + val strf = str + if (!stringCache.isEmpty()) { + Thread(Runnable { + try { + DataMapper.InsertMYSQLStrings(strf) + } catch (ex: CustomError) { + Logger.getLogger(Datahandler::class.java + .name).log(Level.SEVERE, null, ex) + } + MessageResponseHandler.setStr(MapMaker().concurrencyLevel(6).makeMap()) + }).start() + } else { + try { + DataMapper.InsertMYSQLStrings(strf) + } catch (ex: CustomError) { + Logger.getLogger(Datahandler::class.java + .name).log(Level.SEVERE, null, ex) + } + MessageResponseHandler.setStr(MapMaker().concurrencyLevel(6).makeMap()) + } + if (!stopwatch.isRunning) { + stopwatch.start() + } else { + stopwatch.reset() + } + } + } + + private fun trimString(str: String): String { + var str = str + str = str.trim { it <= ' ' } + if (str.startsWith("<@")) { + str = str.substring(str.indexOf("> ") + 2) + } + return str + } + + private fun getResponseFutures(strF: String): String { + val values_copy: List = ArrayList(stringCache.values) + Collections.shuffle(values_copy) + var preRelationUserCounters = -155000.0 + val concurrentRelations: MutableList = arrayListOf() + runBlocking { + val job = launch(Dispatchers.Default) { + for (str1 in values_copy) { + if (strF != str1) { + val sentimentCacheStr1 = sentimentCachingMap.getOrDefault(str1, null) + val worker: Callable = SentimentAnalyzerTest(strF, str1, SimilarityMatrix(strF, str1), + strAnnoJMWE, jmweAnnotationCache[str1], strAnno, + pipelineAnnotationCache[str1], strAnnoSentiment, + pipelineSentimentAnnotationCache[str1], coreDoc, coreDocumentAnnotationCache[str1], + null, sentimentCacheStr1) + try { + val getSMX = worker.call() + if (getSMX != null) { + val scoreRelationLastUserMsg = getSMX.distance + if (scoreRelationLastUserMsg > preRelationUserCounters) { + preRelationUserCounters = scoreRelationLastUserMsg + concurrentRelations.add(getSMX.secondaryString) + } + } + } catch (ex: Exception) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + } + } + yield() + } + job.join() + } + + val SB = StringBuilder() + val randomLenghtPermit = strF.length * (Math.random() * Math.random() * Math.random() * 5) + Collections.reverse(concurrentRelations) + if (concurrentRelations.isEmpty()) { + return "failure, preventing stuckness" + } + + val firstRelation = concurrentRelations[0] + runBlocking { + val job = launch(Dispatchers.Default) { + for (secondaryRelation in concurrentRelations) { + if (SB.toString().length > randomLenghtPermit && !SB.toString().isEmpty()) { + break + } + val append = appendToString(firstRelation, secondaryRelation) + if (append) { + SB.append(secondaryRelation).append(" ") + } + } + yield() + } + job.join() + } + return SB.toString() + } + + private fun appendToString(firstRelation: String?, secondaryRelation: String?): Boolean { + if (firstRelation == secondaryRelation) { + return true + } + val scoreRelationStrF = getScoreRelationStrF(firstRelation, secondaryRelation) + return if (scoreRelationStrF > 1900) { + true + } else false + } + + @Throws(CustomError::class) + fun getResponseMsg(str: String): String { + val strF = trimString(str) + getSingularAnnotation(strF) + return getResponseFutures(strF) + } + + fun getSingularAnnotation(str: String?) { + strAnno = Annotation(str) + strAnno!!.compact() + pipeline.annotate(strAnno) + strAnnoSentiment = Annotation(str) + strAnnoSentiment!!.compact() + pipelineSentiment!!.annotate(strAnnoSentiment) + val notactualList: MutableList = arrayListOf() + notactualList.add(str) + val jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(notactualList) + strAnnoJMWE = jmweAnnotation.values.iterator().next() + strAnnoJMWE.compact() + val coreDocument = CoreDocument(str) + pipeline.annotate(coreDocument) + coreDoc = coreDocument + } + + private fun getScoreRelationStrF(str: String?, mostRecentMsg: String?): Double { + val SMX = SimilarityMatrix(str, mostRecentMsg) + val cacheSentiment1 = sentimentCachingMap.getOrDefault(str, null) + val cacheSentiment2 = sentimentCachingMap.getOrDefault(mostRecentMsg, null) + val worker: Callable = SentimentAnalyzerTest(str, mostRecentMsg, SMX, + strAnnoJMWE, jmweAnnotationCache[mostRecentMsg], strAnno, + pipelineAnnotationCache[mostRecentMsg], strAnnoSentiment, + pipelineSentimentAnnotationCache[mostRecentMsg], coreDoc, coreDocumentAnnotationCache[mostRecentMsg], cacheSentiment1, cacheSentiment2) + var callSMX: SimilarityMatrix? = null + try { + callSMX = worker.call() + } catch (ex: Exception) { + Logger.getLogger(Datahandler::class.java + .name).log(Level.SEVERE, null, ex) + } + return callSMX?.distance ?: 0.0 + } + + private fun annotationCacheUpdate(strmap: ConcurrentMap): ConcurrentMap { + val jmweAnnotation = PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(strmap.values) + for ((key, value) in jmweAnnotation) { + jmweAnnotationCache[key] = value + } + val Annotationspipeline = MapMaker().concurrencyLevel(6).makeMap() + val AnnotationspipelineSentiment = MapMaker().concurrencyLevel(6).makeMap() + val coreDocumentpipelineMap = getMultipleCoreDocumentsWaySuggestion(strmap.values, pipeline) + runBlocking { + val job = launch(Dispatchers.Default) { + for (str in strmap.values) { + val strAnno1 = Annotation(str) + Annotationspipeline[str] = strAnno1 + val strAnno2 = Annotation(str) + AnnotationspipelineSentiment[str] = strAnno2 + stringCache[stringCache.size + 1] = str + } + yield() + } + job.join() + } + pipeline.annotate(Annotationspipeline.values) + pipelineSentiment!!.annotate(AnnotationspipelineSentiment.values) + runBlocking { + val job = launch(Dispatchers.Default) { + for (pipelineEntry in Annotationspipeline.entries) { + if (pipelineEntry != null) { + pipelineAnnotationCache[pipelineEntry.key] = pipelineEntry.value + } + } + yield() + } + job.join() + } + runBlocking { + val job = launch(Dispatchers.Default) { + for (pipelineEntry in AnnotationspipelineSentiment.entries) { + if (pipelineEntry != null) { + pipelineSentimentAnnotationCache[pipelineEntry.key] = pipelineEntry.value + } + } + yield() + } + job.join() + } + runBlocking { + val job = launch(Dispatchers.Default) { + for (coreDocumentEntry in coreDocumentpipelineMap.entries) { + coreDocumentAnnotationCache[coreDocumentEntry.key] = coreDocumentEntry.value + } + yield() + } + job.join() + } + return strmap + } + + val messageOverHead: Int + get() = stringCache.values.size - stringCache.values.size / 10 + + fun update_autismo_socket_msg() { + try { + try { + DatagramSocket(48480).use { serverSocket -> + DatagramSocket(48471).use { serverSocket1 -> + val receiveData = ByteArray(4096) + val IPAddress = InetAddress.getByName("135.125.188.157") //later moving autism bot 1 and 3 to OVH from SYS + var receivePacket = DatagramPacket(receiveData, receiveData.size) + while (true) { + serverSocket.receive(receivePacket) + var sentence = String(receivePacket.data, 0, receivePacket.length) + sentence = sentence.replace("clientmessage:", "") + var getResponseMsg = getResponseMsg(sentence) + var sendData = getResponseMsg.toByteArray(charset("UTF-8")) + var sendPacket = DatagramPacket(sendData, sendData.size, IPAddress, 48479) + serverSocket.send(sendPacket) + receivePacket = DatagramPacket(receiveData, receiveData.size) + serverSocket1.receive(receivePacket) + sentence = String(receivePacket.data, 0, receivePacket.length) + sentence = sentence.replace("clientmessage:", "") + getResponseMsg = getResponseMsg(sentence) + sendData = getResponseMsg.toByteArray(charset("UTF-8")) + sendPacket = DatagramPacket(sendData, sendData.size, IPAddress, 48476) + serverSocket1.send(sendPacket) + } + } + } + } catch (ex: CustomError) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + } catch (ex: SocketException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } catch (ex: UnsupportedEncodingException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } catch (ex: IOException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + } + + private class AnnotationCollector : Consumer { + val annotationsT: MutableList = arrayListOf() + override fun accept(ann: T) { + //System.out.println("adding ann: " + ann.toString()); + annotationsT.add(ann) + } + + companion object { + var i = 0 + } + } + + companion object { + val EXPIRE_TIME_IN_SECONDS = TimeUnit.SECONDS.convert(10, TimeUnit.MINUTES) + val EXPIRE_TIME_IN_SECONDS1 = TimeUnit.SECONDS.convert(10, TimeUnit.HOURS) + + @JvmField + var instance = Datahandler() + private var strAnno: Annotation? = null + private var strAnnoSentiment: Annotation? = null + private lateinit var strAnnoJMWE: Annotation + private var coreDoc: CoreDocument? = null + private val stringCache = MapMaker().concurrencyLevel(6).makeMap() + private lateinit var pipelineAnnotationCache: ConcurrentMap + private lateinit var pipelineSentimentAnnotationCache: ConcurrentMap + private lateinit var jmweAnnotationCache: ConcurrentMap + private lateinit var coreDocumentAnnotationCache: ConcurrentMap + private val sentimentCachingMap = MapMaker().concurrencyLevel(6).makeMap() + private const val similar = "" + private const val shiftReduceParserPath = "edu/stanford/nlp/models/srparser/englishSR.ser.gz" + private const val sentimentModel = "edu/stanford/nlp/models/sentiment/sentiment.ser.gz" + private const val lexParserEnglishRNN = "edu/stanford/nlp/models/lexparser/englishRNN.ser.gz" + private const val taggerPath = "edu/stanford/nlp/models/pos-tagger/english-left3words/english-left3words-distsim.tagger" + private const val nerModel = "edu/stanford/nlp/models/ner/english.all.3class.caseless.distsim.crf.ser.gz" + private const val nerModel2 = "edu/stanford/nlp/models/ner/english.conll.4class.caseless.distsim.crf.ser.gz" + private const val nerModel3 = "edu/stanford/nlp/models/ner/english.muc.7class.caseless.distsim.crf.ser.gz" + private const val customStopWordList = "start,starts,period,periods,a,an,and,are,as,at,be,but,by,for,if,in,into,is,it,no,not,of,on,or,such,that,the,their,then,there,these,they,this,to,was,will,with" + + @JvmStatic + var tagger: MaxentTagger? = null + private set + private val options = arrayOf("-maxLength", "100") + private val props = Properties() + private val propsSentiment = Properties() + + @JvmStatic + var gsf: GrammaticalStructureFactory? = null + private set + private lateinit var lp: LexicalizedParser + private lateinit var tlp: TreebankLanguagePack + private lateinit var classifier: AbstractSequenceClassifier + + public fun getPipeLine(): StanfordCoreNLP { + return pipeline + } + + // set up Stanford CoreNLP pipeline + @JvmStatic + val pipeline = pipeLineSetUp + private var pipelineSentiment: StanfordCoreNLP? = null + + private val pipeLineSetUp: StanfordCoreNLP + private get() { + props.setProperty("annotators", "tokenize,ssplit,pos,lemma,ner,parse") + props.setProperty("parse.model", shiftReduceParserPath) + props.setProperty("parse.maxlen", "90") + props.setProperty("parse.binaryTrees", "true") + props.setProperty("threads", "5") + props.setProperty("pos.maxlen", "90") + props.setProperty("tokenize.maxlen", "90") + props.setProperty("ssplit.maxlen", "90") + props.setProperty("lemma.maxlen", "90") + props.setProperty("ner.model", "$nerModel,$nerModel2,$nerModel3") + props.setProperty("ner.combinationMode", "HIGH_RECALL") + props.setProperty("regexner.ignorecase", "true") + props.setProperty("ner.fine.regexner.ignorecase", "true") + props.setProperty("tokenize.options", "untokenizable=firstDelete") + return StanfordCoreNLP(props) + } + + @JvmStatic + fun getClassifier(): AbstractSequenceClassifier? { + return classifier + } + + fun setClassifier(classifier: AbstractSequenceClassifier?) { + if (classifier != null) { + Companion.classifier = classifier + } + } + + private fun getMultipleJMWEAnnotation(str: Collection): ConcurrentMap { + return PipelineJMWESingleton.INSTANCE.getJMWEAnnotation(str) + } + + private fun getMultiplePipelineAnnotation(str: Collection): ConcurrentMap { + val pipelineAnnotationMap = MapMaker().concurrencyLevel(2).makeMap() + for (str1 in str) { + val strAnno1 = Annotation(str1) + pipelineAnnotationMap[str1] = strAnno1 + } + pipeline.annotate(pipelineAnnotationMap.values) + return pipelineAnnotationMap + } + + private fun getMultiplePipelineSentimentAnnotation(str: Collection): ConcurrentMap { + val pipelineAnnotationMap = MapMaker().concurrencyLevel(2).makeMap() + for (str1 in str) { + val strAnno1 = Annotation(str1) + pipelineAnnotationMap[str1] = strAnno1 + } + pipelineSentiment!!.annotate(pipelineAnnotationMap.values) + return pipelineAnnotationMap + } + + fun filterContent(str: ConcurrentMap): ConcurrentMap { + val strlistreturn = MapMaker().concurrencyLevel(2).makeMap() + str.values.forEach(Consumer { + var str1: String = "" + if (!str1.isEmpty() && str1.length > 3) { + str1 = str1.trim { it <= ' ' } + if (str1.contains("PM*")) { + str1 = str1.substring(str1.indexOf("PM*") + 3) + } + if (str1.contains("AM*")) { + str1 = str1.substring(str1.indexOf("AM*") + 3) + } + /* + if (str1.contains("?") || str1.contains("°")) + { + if (!str1.contains("http")) + { + str1 = str1.replace("?", " <:wlenny:514861023002624001> "); + str1 = str1.replace("°", " <:wlenny:514861023002624001> "); + } + } + */if (str1.contains("(Counter-Terrorist)")) { + str1 = str1.replace("(Counter-Terrorist)", " ") + } + if (str1.contains("(Terrorist)")) { + str1 = str1.replace("(Terrorist)", " ") + } + if (str1.contains("(Spectator)")) { + str1 = str1.replace("(Spectator)", " ") + } + if (str1.contains("*DEAD*")) { + str1 = str1.replace("*DEAD*", " ") + } + if (str1.contains("{red}")) { + str1 = str1.replace("{red}", " ") + } + if (str1.contains("{orange}")) { + str1 = str1.replace("{orange}", " ") + } + if (str1.contains("{yellow}")) { + str1 = str1.replace("{yellow}", " ") + } + if (str1.contains("{green}")) { + str1 = str1.replace("{green}", " ") + } + if (str1.contains("{lightblue}")) { + str1 = str1.replace("{lightblue}", " ") + } + if (str1.contains("{blue}")) { + str1 = str1.replace("{blue}", " ") + } + if (str1.contains("{purple}")) { + str1 = str1.replace("{purple}", " ") + } + if (str1.contains("{white}")) { + str1 = str1.replace("{white}", " ") + } + if (str1.contains("{fullblue}")) { + str1 = str1.replace("{fullblue}", " ") + } + if (str1.contains("{cyan}")) { + str1 = str1.replace("{cyan}", " ") + } + if (str1.contains("{lime}")) { + str1 = str1.replace("{lime}", " ") + } + if (str1.contains("{deeppink}")) { + str1 = str1.replace("{deeppink}", " ") + } + if (str1.contains("{slategray}")) { + str1 = str1.replace("{slategray}", " ") + } + if (str1.contains("{dodgerblue}")) { + str1 = str1.replace("{dodgerblue}", " ") + } + if (str1.contains("{black}")) { + str1 = str1.replace("{black}", " ") + } + if (str1.contains("{orangered}")) { + str1 = str1.replace("{orangered}", " ") + } + if (str1.contains("{darkorchid}")) { + str1 = str1.replace("{darkorchid}", " ") + } + if (str1.contains("{pink}")) { + str1 = str1.replace("{pink}", " ") + } + if (str1.contains("{lightyellow}")) { + str1 = str1.replace("{lightyellow}", " ") + } + if (str1.contains("{chocolate}")) { + str1 = str1.replace("{chocolate}", " ") + } + if (str1.contains("{beige}")) { + str1 = str1.replace("{beige}", " ") + } + if (str1.contains("{azure}")) { + str1 = str1.replace("{azure}", " ") + } + if (str1.contains("{yellowgreen}")) { + str1 = str1.replace("{yellowgreen}", " ") + } + str1 = str1.trim { it <= ' ' } + if (str1.length > 2 && !str1.startsWith("!")) { + strlistreturn[strlistreturn.size] = str1 + } + } + }) + return strlistreturn + } + + fun getMultipleCoreDocumentsWaySuggestion(str: Collection, localNLP: StanfordCoreNLP): ConcurrentMap { + val annCollector: AnnotationCollector = AnnotationCollector() + val annotationreturnMap = MapMaker().concurrencyLevel(6).makeMap() + runBlocking { + val job = launch(Dispatchers.Default) { + for (exampleString in str) { + localNLP.annotate(Annotation(exampleString), annCollector) + AnnotationCollector.i++ + } + yield() + } + job.join() + } + try { + Thread.sleep(1500) + } catch (ex: InterruptedException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + runBlocking { + val job1 = launch(Dispatchers.Default) { + for (ann in annCollector.annotationsT) { + if (ann != null) { + ann.compact() + val CD = CoreDocument(ann) + annotationreturnMap[CD.text()] = CD + } + } + yield() + } + job1.join() + } + try { + Thread.sleep(1500) + } catch (ex: InterruptedException) { + Logger.getLogger(Datahandler::class.java.name).log(Level.SEVERE, null, ex) + } + return annotationreturnMap + } + } + + init { + stopwatch = Stopwatch.createUnstarted() + jmweAnnotationCache = MapMaker().concurrencyLevel(4).makeMap() + pipelineAnnotationCache = MapMaker().concurrencyLevel(4).makeMap() + pipelineSentimentAnnotationCache = MapMaker().concurrencyLevel(4).makeMap() + coreDocumentAnnotationCache = MapMaker().concurrencyLevel(5).makeMap() + } +} \ No newline at end of file diff --git a/ArtificialAutism/src/main/java/FunctionLayer/MessageResponseHandler.java b/ArtificialAutism/src/main/java/FunctionLayer/MessageResponseHandler.java index 413651ae..8a387f66 100644 --- a/ArtificialAutism/src/main/java/FunctionLayer/MessageResponseHandler.java +++ b/ArtificialAutism/src/main/java/FunctionLayer/MessageResponseHandler.java @@ -44,16 +44,8 @@ public class MessageResponseHandler { } public static String selectReponseMessage(String toString, String personName) throws CustomError { - ConcurrentMap str1 = new MapMaker().concurrencyLevel(6).makeMap(); - str1.put(str1.size() + 1, toString); - String strreturn = ""; - for (String str : str1.values()) { - if (!str.isEmpty()) { - strreturn = str; - } - } - String getResponseMsg = Datahandler.instance.getResponseMsg(strreturn); - getResponseMsg = checkPersonPresentInSentence(personName, getResponseMsg, strreturn); + String getResponseMsg = Datahandler.instance.getResponseMsg(toString); + getResponseMsg = checkPersonPresentInSentence(personName, getResponseMsg, toString); return getResponseMsg; } @@ -66,6 +58,8 @@ public class MessageResponseHandler { CoreDocument pipelineCoreDcoumentLastMsg = new CoreDocument(userLastMessage); Datahandler.getPipeline().annotate(pipelineCoreDcoument); Datahandler.getPipeline().annotate(pipelineCoreDcoumentLastMsg); + //Datahandler.pipeline.annotate(pipelineCoreDcoument); + //Datahandler.pipeline.annotate(pipelineCoreDcoumentLastMsg); String regex = "(.*?\\d){10,}"; for (CoreEntityMention em : pipelineCoreDcoument.entityMentions()) { String entityType = em.entityType(); diff --git a/ArtificialAutism/src/main/java/FunctionLayer/PipelineJMWESingleton.java b/ArtificialAutism/src/main/java/FunctionLayer/PipelineJMWESingleton.java index 32f2d4b6..991c640c 100644 --- a/ArtificialAutism/src/main/java/FunctionLayer/PipelineJMWESingleton.java +++ b/ArtificialAutism/src/main/java/FunctionLayer/PipelineJMWESingleton.java @@ -54,7 +54,7 @@ public class PipelineJMWESingleton { public final ConcurrentMap getJMWEAnnotation(Collection strvalues) { boolean verbose = false; IMWEIndex index; - String jmweIndexData = "/home/debian/autism_bot/lib/mweindex_wordnet3.0_semcor1.6.data"; // ./lib/mweindex_wordnet3.0_semcor1.6.data + String jmweIndexData = "/home/gameservers/autism_bot/lib/mweindex_wordnet3.0_semcor1.6.data"; // ./lib/mweindex_wordnet3.0_semcor1.6.data String jmweIndexDataLocalTest = "E:/java8/Projects/mweindex_wordnet3.0_semcor1.6.data"; File indexFile = new File((String) jmweIndexData); index = new MWEIndex(indexFile); diff --git a/ArtificialAutism/src/main/java/META-INF/MANIFEST.MF b/ArtificialAutism/src/main/java/META-INF/MANIFEST.MF new file mode 100644 index 00000000..3de0fd0a --- /dev/null +++ b/ArtificialAutism/src/main/java/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: PresentationLayer.DiscordHandler + diff --git a/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java b/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java index 23d87a64..e3cd3b55 100644 --- a/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java +++ b/ArtificialAutism/src/main/java/PresentationLayer/DiscordHandler.java @@ -37,7 +37,6 @@ import java.math.BigInteger; */ public class DiscordHandler { public static void main(String[] args) { - System.setProperty("java.util.concurrent.ForkJoinPool.common.parallelism", "15"); try { Datahandler.instance.initiateMYSQL(); //nohup screen -d -m -S nonroot java -Xmx6900M -jar /home/javatests/ArtificialAutism-1.0.jar @@ -51,7 +50,6 @@ public class DiscordHandler { Datahandler.instance.shiftReduceParserInitiate(); Datahandler.instance.instantiateAnnotationMap(); System.out.println("FINISHED ALL ANNOTATIONS"); - Datahandler.instance.addHLstatsMessages(); Datahandler.instance.updateStringCache(); //String token = "NTI5NzAxNTk5NjAyMjc4NDAx.Dw0vDg.7-aMjVWdQMYPl8qVNyvTCPS5F_A"; String token = new settings().getDiscordToken(); diff --git a/ArtificialAutism/target/ArtificialAutism-1.0.jar b/ArtificialAutism/target/ArtificialAutism-1.0.jar index 7ab6f19c..f9b796bd 100644 Binary files a/ArtificialAutism/target/ArtificialAutism-1.0.jar and b/ArtificialAutism/target/ArtificialAutism-1.0.jar differ diff --git a/ArtificialAutism/target/classes/.netbeans_automatic_build b/ArtificialAutism/target/classes/.netbeans_automatic_build deleted file mode 100644 index e69de29b..00000000 diff --git a/ArtificialAutism/target/classes/DataLayer/DBCPDataSource.class b/ArtificialAutism/target/classes/DataLayer/DBCPDataSource.class deleted file mode 100644 index 688bce0f..00000000 Binary files a/ArtificialAutism/target/classes/DataLayer/DBCPDataSource.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/DataLayer/DBCPDataSourceHLstats.class b/ArtificialAutism/target/classes/DataLayer/DBCPDataSourceHLstats.class deleted file mode 100644 index e6efe6cd..00000000 Binary files a/ArtificialAutism/target/classes/DataLayer/DBCPDataSourceHLstats.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/DataLayer/DataMapper.class b/ArtificialAutism/target/classes/DataLayer/DataMapper.class deleted file mode 100644 index e3b840d5..00000000 Binary files a/ArtificialAutism/target/classes/DataLayer/DataMapper.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/DataLayer/settings.class b/ArtificialAutism/target/classes/DataLayer/settings.class deleted file mode 100644 index 8367b2c1..00000000 Binary files a/ArtificialAutism/target/classes/DataLayer/settings.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/CustomError.class b/ArtificialAutism/target/classes/FunctionLayer/CustomError.class deleted file mode 100644 index 759d4630..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/CustomError.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/Datahandler$1.class b/ArtificialAutism/target/classes/FunctionLayer/Datahandler$1.class deleted file mode 100644 index 8411f9d9..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/Datahandler$1.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/Datahandler$AnnotationCollector.class b/ArtificialAutism/target/classes/FunctionLayer/Datahandler$AnnotationCollector.class deleted file mode 100644 index d1a6e514..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/Datahandler$AnnotationCollector.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/Datahandler.class b/ArtificialAutism/target/classes/FunctionLayer/Datahandler.class deleted file mode 100644 index 481fba63..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/Datahandler.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/DoStuff.class b/ArtificialAutism/target/classes/FunctionLayer/DoStuff.class deleted file mode 100644 index 7e530ca5..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/DoStuff.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/LevenshteinDistance.class b/ArtificialAutism/target/classes/FunctionLayer/LevenshteinDistance.class deleted file mode 100644 index 4dbeada9..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/LevenshteinDistance.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/MYSQLDatahandler.class b/ArtificialAutism/target/classes/FunctionLayer/MYSQLDatahandler.class deleted file mode 100644 index a71debb2..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/MYSQLDatahandler.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/MessageResponseHandler.class b/ArtificialAutism/target/classes/FunctionLayer/MessageResponseHandler.class deleted file mode 100644 index 02b28d2a..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/MessageResponseHandler.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/PipelineJMWESingleton.class b/ArtificialAutism/target/classes/FunctionLayer/PipelineJMWESingleton.class deleted file mode 100644 index 770ccf73..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/PipelineJMWESingleton.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/SimilarityMatrix.class b/ArtificialAutism/target/classes/FunctionLayer/SimilarityMatrix.class deleted file mode 100644 index 3573cf4a..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/SimilarityMatrix.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentAnalyzerTest.class b/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentAnalyzerTest.class deleted file mode 100644 index b4d5847b..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentAnalyzerTest.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentValueCache.class b/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentValueCache.class deleted file mode 100644 index 9baae2cc..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SentimentValueCache.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SimilarityMatrix.class b/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SimilarityMatrix.class deleted file mode 100644 index c6834b09..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/StanfordParser/SimilarityMatrix.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/StopwordAnnotator.class b/ArtificialAutism/target/classes/FunctionLayer/StopwordAnnotator.class deleted file mode 100644 index 05fe57dd..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/StopwordAnnotator.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentAnalyzerTest.class b/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentAnalyzerTest.class deleted file mode 100644 index bb329279..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentAnalyzerTest.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentSimilarityCacheObsolete.class b/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentSimilarityCacheObsolete.class deleted file mode 100644 index 324f1ad2..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/misc/SentimentSimilarityCacheObsolete.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityObsolete.class b/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityObsolete.class deleted file mode 100644 index ffd869cb..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityObsolete.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityTestObsolete.class b/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityTestObsolete.class deleted file mode 100644 index 33552895..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/misc/WordNetSimalarityTestObsolete.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/FunctionLayer/misc/notes.class b/ArtificialAutism/target/classes/FunctionLayer/misc/notes.class deleted file mode 100644 index cc595d17..00000000 Binary files a/ArtificialAutism/target/classes/FunctionLayer/misc/notes.class and /dev/null differ diff --git a/ArtificialAutism/target/classes/PresentationLayer/DiscordHandler.class b/ArtificialAutism/target/classes/PresentationLayer/DiscordHandler.class deleted file mode 100644 index a435dbb4..00000000 Binary files a/ArtificialAutism/target/classes/PresentationLayer/DiscordHandler.class and /dev/null differ diff --git a/ArtificialAutism/target/lib/CoreNLP-1.0.jar b/ArtificialAutism/target/lib/CoreNLP-1.0.jar deleted file mode 100644 index 5427fb93..00000000 Binary files a/ArtificialAutism/target/lib/CoreNLP-1.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/Servicer-1.0.3.jar b/ArtificialAutism/target/lib/Servicer-1.0.3.jar deleted file mode 100644 index b2d8af31..00000000 Binary files a/ArtificialAutism/target/lib/Servicer-1.0.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/StanfordParser-1.0.jar b/ArtificialAutism/target/lib/StanfordParser-1.0.jar deleted file mode 100644 index 331023cd..00000000 Binary files a/ArtificialAutism/target/lib/StanfordParser-1.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/animal-sniffer-annotations-1.14.jar b/ArtificialAutism/target/lib/animal-sniffer-annotations-1.14.jar deleted file mode 100644 index fb76acf7..00000000 Binary files a/ArtificialAutism/target/lib/animal-sniffer-annotations-1.14.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/checker-qual-2.5.2.jar b/ArtificialAutism/target/lib/checker-qual-2.5.2.jar deleted file mode 100644 index ae4e7f1f..00000000 Binary files a/ArtificialAutism/target/lib/checker-qual-2.5.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/commons-codec-1.10.jar b/ArtificialAutism/target/lib/commons-codec-1.10.jar deleted file mode 100644 index 1d7417c4..00000000 Binary files a/ArtificialAutism/target/lib/commons-codec-1.10.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/commons-dbcp2-2.5.0.jar b/ArtificialAutism/target/lib/commons-dbcp2-2.5.0.jar deleted file mode 100644 index bfe23c8a..00000000 Binary files a/ArtificialAutism/target/lib/commons-dbcp2-2.5.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/commons-logging-1.2.jar b/ArtificialAutism/target/lib/commons-logging-1.2.jar deleted file mode 100644 index 93a3b9f6..00000000 Binary files a/ArtificialAutism/target/lib/commons-logging-1.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/commons-pool2-2.6.0.jar b/ArtificialAutism/target/lib/commons-pool2-2.6.0.jar deleted file mode 100644 index 8273c7bb..00000000 Binary files a/ArtificialAutism/target/lib/commons-pool2-2.6.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord-json-1.5.4.jar b/ArtificialAutism/target/lib/discord-json-1.5.4.jar deleted file mode 100644 index 4637f2e7..00000000 Binary files a/ArtificialAutism/target/lib/discord-json-1.5.4.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord-json-api-1.5.4.jar b/ArtificialAutism/target/lib/discord-json-api-1.5.4.jar deleted file mode 100644 index f7ac69f0..00000000 Binary files a/ArtificialAutism/target/lib/discord-json-api-1.5.4.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord4j-common-3.1.1.jar b/ArtificialAutism/target/lib/discord4j-common-3.1.1.jar deleted file mode 100644 index 44af92a2..00000000 Binary files a/ArtificialAutism/target/lib/discord4j-common-3.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord4j-core-3.1.1.jar b/ArtificialAutism/target/lib/discord4j-core-3.1.1.jar deleted file mode 100644 index 977dbd70..00000000 Binary files a/ArtificialAutism/target/lib/discord4j-core-3.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord4j-gateway-3.1.1.jar b/ArtificialAutism/target/lib/discord4j-gateway-3.1.1.jar deleted file mode 100644 index edcb3788..00000000 Binary files a/ArtificialAutism/target/lib/discord4j-gateway-3.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord4j-rest-3.1.1.jar b/ArtificialAutism/target/lib/discord4j-rest-3.1.1.jar deleted file mode 100644 index 50f73903..00000000 Binary files a/ArtificialAutism/target/lib/discord4j-rest-3.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/discord4j-voice-3.1.1.jar b/ArtificialAutism/target/lib/discord4j-voice-3.1.1.jar deleted file mode 100644 index 9b1a907d..00000000 Binary files a/ArtificialAutism/target/lib/discord4j-voice-3.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/edu.mit.jmwe-1.0.2.jar b/ArtificialAutism/target/lib/edu.mit.jmwe-1.0.2.jar deleted file mode 100644 index ea8ad972..00000000 Binary files a/ArtificialAutism/target/lib/edu.mit.jmwe-1.0.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/ejml-0.2.3.jar b/ArtificialAutism/target/lib/ejml-0.2.3.jar deleted file mode 100644 index 60a37dfe..00000000 Binary files a/ArtificialAutism/target/lib/ejml-0.2.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/error_prone_annotations-2.1.3.jar b/ArtificialAutism/target/lib/error_prone_annotations-2.1.3.jar deleted file mode 100644 index ec3b1856..00000000 Binary files a/ArtificialAutism/target/lib/error_prone_annotations-2.1.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/guava-26.0-jre.jar b/ArtificialAutism/target/lib/guava-26.0-jre.jar deleted file mode 100644 index cd71a92f..00000000 Binary files a/ArtificialAutism/target/lib/guava-26.0-jre.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/j2objc-annotations-1.1.jar b/ArtificialAutism/target/lib/j2objc-annotations-1.1.jar deleted file mode 100644 index 4b6f1274..00000000 Binary files a/ArtificialAutism/target/lib/j2objc-annotations-1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-annotations-2.11.2.jar b/ArtificialAutism/target/lib/jackson-annotations-2.11.2.jar deleted file mode 100644 index 8a6f1884..00000000 Binary files a/ArtificialAutism/target/lib/jackson-annotations-2.11.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-annotations-2.9.0.jar b/ArtificialAutism/target/lib/jackson-annotations-2.9.0.jar deleted file mode 100644 index c602d75d..00000000 Binary files a/ArtificialAutism/target/lib/jackson-annotations-2.9.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-core-2.11.2.jar b/ArtificialAutism/target/lib/jackson-core-2.11.2.jar deleted file mode 100644 index b31deebf..00000000 Binary files a/ArtificialAutism/target/lib/jackson-core-2.11.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-core-2.9.3.jar b/ArtificialAutism/target/lib/jackson-core-2.9.3.jar deleted file mode 100644 index 40a04ceb..00000000 Binary files a/ArtificialAutism/target/lib/jackson-core-2.9.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-databind-2.11.2.jar b/ArtificialAutism/target/lib/jackson-databind-2.11.2.jar deleted file mode 100644 index 92e080a5..00000000 Binary files a/ArtificialAutism/target/lib/jackson-databind-2.11.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-databind-2.9.3.jar b/ArtificialAutism/target/lib/jackson-databind-2.9.3.jar deleted file mode 100644 index 4cfc7787..00000000 Binary files a/ArtificialAutism/target/lib/jackson-databind-2.9.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jackson-datatype-jdk8-2.11.2.jar b/ArtificialAutism/target/lib/jackson-datatype-jdk8-2.11.2.jar deleted file mode 100644 index 16586802..00000000 Binary files a/ArtificialAutism/target/lib/jackson-datatype-jdk8-2.11.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/javacord-3.0.1.pom b/ArtificialAutism/target/lib/javacord-3.0.1.pom deleted file mode 100644 index ca16115b..00000000 --- a/ArtificialAutism/target/lib/javacord-3.0.1.pom +++ /dev/null @@ -1,68 +0,0 @@ - - - 4.0.0 - org.javacord - javacord - 3.0.1 - pom - Javacord - An easy to use multithreaded library for creating Discord bots in Java - https://www.javacord.org - 2015 - - - Apache License, Version 2.0 - https://www.apache.org/licenses/LICENSE-2.0.txt - repo - A business-friendly OSS license - - - - - BtoBastian - Bastian Oppermann - bastianoppermann1997@gmail.com - https://github.com/BtoBastian - Europe/Berlin - - - - - Björn Kautler - Bjoern@Kautler.net - https://github.com/Vampire - Europe/Berlin - - - - scm:git:https://github.com/Javacord/Javacord.git - scm:git:git@github.com:Javacord/Javacord.git - https://github.com/Javacord/Javacord - - - GitHub - https://github.com/Javacord/Javacord/issues - - - TeamCity - https://ci.javacord.org/project.html?projectId=Javacord&guest=1 - - - https://github.com/Javacord/Javacord/releases - - - - org.javacord - javacord-api - 3.0.1 - compile - - - org.javacord - javacord-core - 3.0.1 - runtime - - - diff --git a/ArtificialAutism/target/lib/javacord-api-3.0.1.jar b/ArtificialAutism/target/lib/javacord-api-3.0.1.jar deleted file mode 100644 index f23ce619..00000000 Binary files a/ArtificialAutism/target/lib/javacord-api-3.0.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/javacord-core-3.0.1.jar b/ArtificialAutism/target/lib/javacord-core-3.0.1.jar deleted file mode 100644 index b7caf1b8..00000000 Binary files a/ArtificialAutism/target/lib/javacord-core-3.0.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jmweAnno-1.0.jar b/ArtificialAutism/target/lib/jmweAnno-1.0.jar deleted file mode 100644 index 6efcab19..00000000 Binary files a/ArtificialAutism/target/lib/jmweAnno-1.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/jsr305-3.0.2.jar b/ArtificialAutism/target/lib/jsr305-3.0.2.jar deleted file mode 100644 index 59222d9c..00000000 Binary files a/ArtificialAutism/target/lib/jsr305-3.0.2.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/log4j-api-2.11.0.jar b/ArtificialAutism/target/lib/log4j-api-2.11.0.jar deleted file mode 100644 index ac408c6f..00000000 Binary files a/ArtificialAutism/target/lib/log4j-api-2.11.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/logging-interceptor-3.9.1.jar b/ArtificialAutism/target/lib/logging-interceptor-3.9.1.jar deleted file mode 100644 index 04b4874c..00000000 Binary files a/ArtificialAutism/target/lib/logging-interceptor-3.9.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/lucene-analyzers-common-7.2.0.jar b/ArtificialAutism/target/lib/lucene-analyzers-common-7.2.0.jar deleted file mode 100644 index 26b89d96..00000000 Binary files a/ArtificialAutism/target/lib/lucene-analyzers-common-7.2.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/lucene-core-7.2.0.jar b/ArtificialAutism/target/lib/lucene-core-7.2.0.jar deleted file mode 100644 index f39c92c2..00000000 Binary files a/ArtificialAutism/target/lib/lucene-core-7.2.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/mysql-connector-java-8.0.13.jar b/ArtificialAutism/target/lib/mysql-connector-java-8.0.13.jar deleted file mode 100644 index a4efaf50..00000000 Binary files a/ArtificialAutism/target/lib/mysql-connector-java-8.0.13.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-buffer-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-buffer-4.1.52.Final.jar deleted file mode 100644 index de12a9c1..00000000 Binary files a/ArtificialAutism/target/lib/netty-buffer-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-codec-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-codec-4.1.52.Final.jar deleted file mode 100644 index ed498ac7..00000000 Binary files a/ArtificialAutism/target/lib/netty-codec-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-codec-http-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-codec-http-4.1.52.Final.jar deleted file mode 100644 index 87c54e26..00000000 Binary files a/ArtificialAutism/target/lib/netty-codec-http-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-codec-http2-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-codec-http2-4.1.52.Final.jar deleted file mode 100644 index ebcc74af..00000000 Binary files a/ArtificialAutism/target/lib/netty-codec-http2-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-codec-socks-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-codec-socks-4.1.52.Final.jar deleted file mode 100644 index 64fab9bf..00000000 Binary files a/ArtificialAutism/target/lib/netty-codec-socks-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-common-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-common-4.1.52.Final.jar deleted file mode 100644 index c991abee..00000000 Binary files a/ArtificialAutism/target/lib/netty-common-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-handler-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-handler-4.1.52.Final.jar deleted file mode 100644 index 27a84e91..00000000 Binary files a/ArtificialAutism/target/lib/netty-handler-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-handler-proxy-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-handler-proxy-4.1.52.Final.jar deleted file mode 100644 index fbd2eb3f..00000000 Binary files a/ArtificialAutism/target/lib/netty-handler-proxy-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-resolver-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-resolver-4.1.52.Final.jar deleted file mode 100644 index fa74856f..00000000 Binary files a/ArtificialAutism/target/lib/netty-resolver-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-transport-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-transport-4.1.52.Final.jar deleted file mode 100644 index d0c4ee62..00000000 Binary files a/ArtificialAutism/target/lib/netty-transport-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-transport-native-epoll-4.1.52.Final-linux-x86_64.jar b/ArtificialAutism/target/lib/netty-transport-native-epoll-4.1.52.Final-linux-x86_64.jar deleted file mode 100644 index fab71a52..00000000 Binary files a/ArtificialAutism/target/lib/netty-transport-native-epoll-4.1.52.Final-linux-x86_64.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/netty-transport-native-unix-common-4.1.52.Final.jar b/ArtificialAutism/target/lib/netty-transport-native-unix-common-4.1.52.Final.jar deleted file mode 100644 index 028cf995..00000000 Binary files a/ArtificialAutism/target/lib/netty-transport-native-unix-common-4.1.52.Final.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/nv-websocket-client-1.31.jar b/ArtificialAutism/target/lib/nv-websocket-client-1.31.jar deleted file mode 100644 index 27c31ebe..00000000 Binary files a/ArtificialAutism/target/lib/nv-websocket-client-1.31.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/okhttp-3.9.1.jar b/ArtificialAutism/target/lib/okhttp-3.9.1.jar deleted file mode 100644 index 7166f02c..00000000 Binary files a/ArtificialAutism/target/lib/okhttp-3.9.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/okio-1.13.0.jar b/ArtificialAutism/target/lib/okio-1.13.0.jar deleted file mode 100644 index 02c302f8..00000000 Binary files a/ArtificialAutism/target/lib/okio-1.13.0.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/protobuf-java-3.6.1.jar b/ArtificialAutism/target/lib/protobuf-java-3.6.1.jar deleted file mode 100644 index 8a187891..00000000 Binary files a/ArtificialAutism/target/lib/protobuf-java-3.6.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/reactive-streams-1.0.3.jar b/ArtificialAutism/target/lib/reactive-streams-1.0.3.jar deleted file mode 100644 index b9b487ca..00000000 Binary files a/ArtificialAutism/target/lib/reactive-streams-1.0.3.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/reactor-core-3.3.10.RELEASE.jar b/ArtificialAutism/target/lib/reactor-core-3.3.10.RELEASE.jar deleted file mode 100644 index b7194ff3..00000000 Binary files a/ArtificialAutism/target/lib/reactor-core-3.3.10.RELEASE.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/reactor-extra-3.3.4.RELEASE.jar b/ArtificialAutism/target/lib/reactor-extra-3.3.4.RELEASE.jar deleted file mode 100644 index 20377793..00000000 Binary files a/ArtificialAutism/target/lib/reactor-extra-3.3.4.RELEASE.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/reactor-netty-0.9.12.RELEASE.jar b/ArtificialAutism/target/lib/reactor-netty-0.9.12.RELEASE.jar deleted file mode 100644 index b7c4db95..00000000 Binary files a/ArtificialAutism/target/lib/reactor-netty-0.9.12.RELEASE.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/simmetrics-core-4.1.1.jar b/ArtificialAutism/target/lib/simmetrics-core-4.1.1.jar deleted file mode 100644 index 6963949a..00000000 Binary files a/ArtificialAutism/target/lib/simmetrics-core-4.1.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/simple-fsm-1.0.1.jar b/ArtificialAutism/target/lib/simple-fsm-1.0.1.jar deleted file mode 100644 index 04413080..00000000 Binary files a/ArtificialAutism/target/lib/simple-fsm-1.0.1.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/stores-api-3.1.4.jar b/ArtificialAutism/target/lib/stores-api-3.1.4.jar deleted file mode 100644 index 5c161e11..00000000 Binary files a/ArtificialAutism/target/lib/stores-api-3.1.4.jar and /dev/null differ diff --git a/ArtificialAutism/target/lib/stores-jdk-3.1.4.jar b/ArtificialAutism/target/lib/stores-jdk-3.1.4.jar deleted file mode 100644 index e79aad25..00000000 Binary files a/ArtificialAutism/target/lib/stores-jdk-3.1.4.jar and /dev/null differ diff --git a/ArtificialAutism/target/maven-archiver/pom.properties b/ArtificialAutism/target/maven-archiver/pom.properties deleted file mode 100644 index 6eb8ac83..00000000 --- a/ArtificialAutism/target/maven-archiver/pom.properties +++ /dev/null @@ -1,5 +0,0 @@ -#Generated by Maven -#Mon Nov 02 11:08:19 CET 2020 -version=1.0 -groupId=com.mycompany -artifactId=ArtificialAutism diff --git a/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst b/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst deleted file mode 100644 index 480a1003..00000000 --- a/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst +++ /dev/null @@ -1,17 +0,0 @@ -FunctionLayer\Datahandler.class -FunctionLayer\Datahandler$AnnotationCollector.class -FunctionLayer\SimilarityMatrix.class -FunctionLayer\StanfordParser\SentimentValueCache.class -DataLayer\DBCPDataSource.class -DataLayer\settings.class -FunctionLayer\LevenshteinDistance.class -FunctionLayer\CustomError.class -FunctionLayer\StanfordParser\SentimentAnalyzerTest.class -DataLayer\DataMapper.class -FunctionLayer\StopwordAnnotator.class -DataLayer\DBCPDataSourceHLstats.class -FunctionLayer\DoStuff.class -FunctionLayer\PipelineJMWESingleton.class -PresentationLayer\DiscordHandler.class -FunctionLayer\Datahandler$1.class -FunctionLayer\MessageResponseHandler.class diff --git a/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst b/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst deleted file mode 100644 index 99e2efed..00000000 --- a/ArtificialAutism/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst +++ /dev/null @@ -1,15 +0,0 @@ -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\DoStuff.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\PresentationLayer\DiscordHandler.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\DataLayer\DBCPDataSourceHLstats.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\DataLayer\settings.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\LevenshteinDistance.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\StopwordAnnotator.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\StanfordParser\SentimentAnalyzerTest.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\PipelineJMWESingleton.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\DataLayer\DataMapper.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\CustomError.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\SimilarityMatrix.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\DataLayer\DBCPDataSource.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\MessageResponseHandler.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\Datahandler.java -E:\stationær backup filer\Projects\ArtificialAutism\src\main\java\FunctionLayer\StanfordParser\SentimentValueCache.java diff --git a/ArtificialAutism/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst b/ArtificialAutism/target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst deleted file mode 100644 index e69de29b..00000000 diff --git a/ArtificialAutism/target/test-classes/.netbeans_automatic_build b/ArtificialAutism/target/test-classes/.netbeans_automatic_build deleted file mode 100644 index e69de29b..00000000