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

Feature/add mg parser #85

Open
wants to merge 8 commits into
base: feature/parser-api-calls
Choose a base branch
from

Conversation

XanderVertegaal
Copy link
Contributor

@XanderVertegaal XanderVertegaal commented Nov 27, 2024

This PR adds the MG Parser to ParsePort's Docker compose network.

In order to test/review this, you will need to:

  • Clone the https://github.com/CentreForDigitalHumanities/mg-parser-server repo and put it in the same folder as the parseport project folder. (Make sure parseport and mg-parser-server are siblings.)
  • Checkout out the feature/basic-api branch in mg-parser-server.
  • Run the following command in the main parseport directory to build a network with dev containers:
docker compose --profile dev up --build -d

(The Angular container pp-ng may take a while - check its logs to see its progress.) After everything is booted up, go to http://localhost:5000,visit the parser at Minimalist Parser > Parse sentence and wait a few seconds.

If you see the following:

image

It means the MG Parser server has responded with a {"status": "ok"}, meaning that it is ready to receive requests!

Enter an English sentence, hit 'Submit' and check the pp-mg-parser container logs. If you see a message similar to the one below, your input was successfully parsed.

image

@XanderVertegaal XanderVertegaal added the minimalist parser Part of the Minimalist Parser demo project (NLP) label Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minimalist parser Part of the Minimalist Parser demo project (NLP)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant