AtlasHale / capstone_parsing

1 stars 0 forks source link

Wrapper class for Java coreNLP. #7

Open AtlasHale opened 4 years ago

AtlasHale commented 4 years ago

There has been existing work done on this topic which can be seen here https://discourse.julialang.org/t/corenlp-base-name-conflict/4714. The first step would be testing the implementation shown in this thread, and checking out the package. If it works, good, if not, can we fix it to work. Other places to look are the JavaCall package for information. http://juliainterop.github.io/JavaCall.jl/faq.html

AtlasHale commented 4 years ago

Currently the package JavaCoreNLP is being updated by us at https://github.com/AtlasHale/JavaCoreNLP.jl. There were some modernizing errors that had to be fixed including updating from REQUIRE to Project.toml among others. The current issue is that some of the java classes called are giving JavaCall.JavaCallError("Error calling Java: java.lang.ClassNotFoundException: edu.stanford.nlp.ling.CoreAnnotations.SentencesAnnotation") when building.

AtlasHale commented 4 years ago

Tried updating the pom.xml to use more recent version of CoreNLP jar, and built the jar using maven. Issue still persists with SentenceAnnotation class.