removed global variable entirely

This commit is contained in:
christian
2021-12-02 01:41:06 +01:00
parent 583324e4ca
commit 30bf0d059f
4 changed files with 2 additions and 17 deletions
@@ -80,14 +80,11 @@ public class DiscordHandler {
//variables until the tests pass
public static void main(String[] args) throws IOException, SQLException {
Datahandler datahandler = new Datahandler();
datahandler.updateStringCache();
System.out.println("post updateStringCache");
PipelineJMWESingleton.getINSTANCE();
StanfordCoreNLP stanfordCoreNLP = datahandler.pipeLineSetUp();
StanfordCoreNLP stanfordCoreNLPSentiment = datahandler.shiftReduceParserInitiate();
System.out.println("FINISHED ALL ANNOTATIONS");
datahandler.updateStringCache();
System.out.println("updatedstring cache");
String token = new settings().getDiscordToken();
final DiscordClient client = DiscordClient.create(token);