syntaxnet-api
syntaxnet-api copied to clipboard
How to run
Can you explain how to run it?
After we do: docker build . -t syntaxnet-api
I guesss we should run the container with: sudo nvidia-docker run -it -d -p 7000:7000 syntaxnet-api:latest
If I do: curl -X POST --header 'Content-Type: text/plain; charset=utf-8' --header 'Content-Language: en' -d 'Where is Paris' http://localhost:7000
I get: 405 Method Not Allowed
You should post to /v1/parsey-universal-full. E.g. curl -X POST --header 'Content-Type: text/plain; charset=utf-8' --header 'Content-Language: en' -d 'Where is Paris' http://localhost:7000/v1/parsey-universal-full