removed global variable entirely
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user