update to using futures again for quicker processing

This commit is contained in:
jenz
2022-10-23 17:40:47 +02:00
parent 0cf47b8e6c
commit eb7ed76d2e
8 changed files with 414 additions and 239 deletions
+5 -1
View File
@@ -1,4 +1,4 @@
import FunctionLayer.DatahandlerKotlinObsolete;
/*
import FunctionLayer.PipelineJMWESingleton;
import FunctionLayer.StanfordParser.SentimentAnalyzerTest;
import edu.mit.jmwe.data.IMWE;
@@ -177,6 +177,7 @@ public class junit {
//@Test
public void testScoring() {
/*
DatahandlerKotlinObsolete datahandler = new DatahandlerKotlinObsolete();
PipelineJMWESingleton.getINSTANCE();
StanfordCoreNLP stanfordCoreNLP = datahandler.pipeLineSetUp();
@@ -681,6 +682,9 @@ public class junit {
sent2 = "ΣZΣ | jenz you see any bots on here??? 404Trucy look your new friend 1pm for me :loved: :shinogeci: :sbpl: you alive? does shino like fasz? boost the server pls";
PerformTesting = testCall(sent1, sent2, stanfordCoreNLP, stanfordCoreNLPSentiment);
Assert.assertTrue(PerformTesting < -2400.0);
}
}
*/