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

Integrate Pepper as loader #1

Closed
chiarcos opened this issue Dec 30, 2021 · 5 comments
Closed

Integrate Pepper as loader #1

chiarcos opened this issue Dec 30, 2021 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@chiarcos
Copy link
Collaborator

chiarcos commented Dec 30, 2021

https://corpus-tools.org/pepper/knownModules.html

Ideally, this should be done via SALT XML, but cf. korpling/salt#140.
As an alternative, include Pepper via a Docker container.

@chiarcos chiarcos added the enhancement New feature or request label Dec 30, 2021
@chiarcos
Copy link
Collaborator Author

In preparation, I created a non-interactive CLI for Pepper: https://github.com/acoli-repo/pepper-wrapper.
This can be used to produce PAULA data. A prototype for a PAULA reader is under https://github.com/acoli-repo/powla/tree/main/experimental/paula.

@chiarcos chiarcos changed the title Integrate Pepper as loader and writer Integrate Pepper as loader Jan 27, 2022
@chiarcos
Copy link
Collaborator Author

These two components are now bundled in a single Docker container (not Teanga-compliant): https://github.com/acoli-repo/powla/blob/main/experimental/salt/Dockerfile. This uses the bind protocol to access the file system directly, and writes its output to stdout, see sample call in https://github.com/acoli-repo/powla/blob/main/experimental/salt/.

Implementation recommendation: Develop a protocol for integrating Docker containers as Loaders and Writers into Fintan.

@chiarcos
Copy link
Collaborator Author

chiarcos commented Feb 3, 2022

OpenAPI-compliant Docker now under https://github.com/acoli-repo/powla/tree/main/experimental/salt/swagger/python-server, Java client as prototype for integration with Fintan/CoNLL-RDF under https://github.com/acoli-repo/powla/blob/main/experimental/salt/swagger/java-client/Client.java. At the moment, this works for producing POWLA data, not CoNLL, yet. But POWLA can be seamlessly processed within Fintan.

@chiarcos
Copy link
Collaborator Author

chiarcos commented Feb 3, 2022

@cfaeth : now would be a good point in time to take over ;)

chiarcos pushed a commit that referenced this issue Jun 26, 2022
@chiarcos
Copy link
Collaborator Author

working & presented at LREC ;)

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

No branches or pull requests

2 participants