You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used to be able to use Graphene-core via the Java API just fine, but it now stopped working. I tried reinstalling it, and only having an "empty" main java file but as soon as I call:
Graphene graphene = new Graphene();
I get the error below.
22:19:37 main INFO |o.l.graphene.core.Graphene getCoreferenceResolver - Load Coreference-Resolver: 'org.lambda3.graphene.core.coreference.impl.stanford.StanfordCoref'
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:375)
at org.lambda3.graphene.core.Graphene.getCoreferenceResolver(Graphene.java:75)
at org.lambda3.graphene.core.Graphene.(Graphene.java:61)
at org.lambda3.graphene.core.Graphene.(Graphene.java:53)
at test.Encodability.Test.main(Test.java:15)
Caused by: java.lang.IllegalArgumentException: No annotator named mention
at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:151)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:278)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:194)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:190)
at org.lambda3.graphene.core.coreference.impl.stanford.StanfordCoref.(StanfordCoref.java:64)
... 6 more
Any idea what's causing this and how I can solve this?
Many thanks in advance!
Clement
The text was updated successfully, but these errors were encountered:
Hi,
I used to be able to use Graphene-core via the Java API just fine, but it now stopped working. I tried reinstalling it, and only having an "empty" main java file but as soon as I call:
Graphene graphene = new Graphene();
I get the error below.
22:19:37 main INFO |o.l.graphene.core.Graphene getCoreferenceResolver - Load Coreference-Resolver: 'org.lambda3.graphene.core.coreference.impl.stanford.StanfordCoref'
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:375)
at org.lambda3.graphene.core.Graphene.getCoreferenceResolver(Graphene.java:75)
at org.lambda3.graphene.core.Graphene.(Graphene.java:61)
at org.lambda3.graphene.core.Graphene.(Graphene.java:53)
at test.Encodability.Test.main(Test.java:15)
Caused by: java.lang.IllegalArgumentException: No annotator named mention
at edu.stanford.nlp.pipeline.AnnotatorPool.get(AnnotatorPool.java:151)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:278)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:194)
at edu.stanford.nlp.pipeline.StanfordCoreNLP.(StanfordCoreNLP.java:190)
at org.lambda3.graphene.core.coreference.impl.stanford.StanfordCoref.(StanfordCoref.java:64)
... 6 more
Any idea what's causing this and how I can solve this?
Many thanks in advance!
Clement
The text was updated successfully, but these errors were encountered: