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

Python wrapper for UIMA-Ruta #10

Open
aggarwalpiush opened this issue Jun 18, 2021 · 1 comment
Open

Python wrapper for UIMA-Ruta #10

aggarwalpiush opened this issue Jun 18, 2021 · 1 comment

Comments

@aggarwalpiush
Copy link

IRuta needs explicit browser base development to extract the linguistic features which are needed for the downstream tasks.

Does it foreseeable to have a python wrapper on UIMA Ruta, which can be directly imported to the main codebase?

Please shed light on the show breakers if it can't be implemented.

@reckart
Copy link

reckart commented Jun 18, 2021

Currently, it is possible to mix Python and Ruta using the IRuta kernel in an SOS notebook. The SOS kernel allows to define a single notebook using multiple kernels and defines mechanisms for exchanging data between the different kernels.

A Python interface directly to Ruta faces the same question as for accessing any other Java library from Python: what is a good Java <-> Python interface? If you know one that works in your particular context, you can likely implement a Python wrapper.

You can use DKPro Cassis to read/write the UIMA CAS XMI files that Ruta can work on and run Ruta (or any UIMA analysis engine or even Java program) in a separate Java process which you can feed with these files. That is basically what happens when working with the SOS notebooks.

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