Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stanford CoreNLP error: edu.stanford.nlp.time.TimeExpressionExtractorImpl #5

Open
gabrer opened this issue Feb 23, 2021 · 1 comment

Comments

@gabrer
Copy link

gabrer commented Feb 23, 2021

As anyone would expect after more than a year, the requirements have changed.
In particular, for the Stanford CoreNLP it is not possible to use the 3.9.1 release, as this would rise an error in the odee_preprocess.py: edu.stanford.nlp.time.TimeExpressionExtractorImpl

Before Java 11, adding --add-modules java.se.ee to the java command would have fixed the issue. Since Java 9, they stopped including by default some modules, so you need to tell it to use the java.se.ee stuff.
However, the java.se.ee module is no longer available in Java 11.

After Java 11, the issue has been resolved using the CoreNLP's 3.9.2 release.

@Glaciohound
Copy link

Emmm... I am using java 8, and the original scripts on CoreNLP 3.9.1 run just fine on my machine.
Wondering why >_<. Maybe some configurations on my machine are not what they appeared to me and therefore bypassed the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants