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

Java interface for processors #755

Open
MihaiSurdeanu opened this issue Sep 18, 2023 · 5 comments
Open

Java interface for processors #755

MihaiSurdeanu opened this issue Sep 18, 2023 · 5 comments
Assignees

Comments

@MihaiSurdeanu
Copy link
Contributor

I think the adoption of this library will be higher through Java.

We do have an example here:
https://github.com/clulab/processors/blob/master/corenlp/src/main/java/org/clulab/processors/ProcessorsJavaExample.java

We should check/improve two things:

  1. Does this code run with the new ONNX models?
  2. Is there a simpler (what is simplest) Java interface for these processors? I think we can focus on simply supporting the mkDocument and annotate methods in Java.
@MihaiSurdeanu
Copy link
Contributor Author

This is not urgent.

@BeckySharp
Copy link
Contributor

can you make sure to support custom annotation (e.g., when we tag, lemmatize, etc but don't do the more expensive bits?), and also choosing which processor (in case some are still GPL)

@kwalcock
Copy link
Member

mkDocument and annotate still work.

OdinStarter runs on Java 8, 11, 17, 18, and 21, including grounding that reads a kryo file.

@kwalcock
Copy link
Member

One can still use the FastNLPProcessor or CoreNLPProcessor.

@MihaiSurdeanu
Copy link
Contributor Author

Nice!!

The new deberta model is still training. ETA tomorrow.

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

3 participants