KRNNT is a tagger for Polish based on neural networks.
593
The repository stores an image of the KRNNT tagger + all its dependencies.
The source of the Docker image is available at: https://github.com/apohllo/dockerfiles/blob/master/tagger/Dockerfile
The source code of the tagger is available at: https://github.com/kwrobel-nlp/krnnt
The tagger is available as a server running on port 9200, accepting POST requests. The server responds with the input text tagged in plain format.
To download and start the server:
docker run -it -p 9200:9200 apohllo/krnnt:0.1 python3 /home/krnnt/krnnt/krnnt_serve.py /home/krnnt/krnnt/data
To tag a text using curl:
curl -XPOST localhost:9200 -d "Ala ma kota."
You should get the following result:
Ala none
Ala subst:sg:nom:f disamb
ma space
mieć fin:sg:ter:imperf disamb
kota space
kot subst:sg:acc:m2 disamb
. none
. interp disamb
Content type
Image
Digest
Size
619.8 MB
Last updated
over 8 years ago
docker pull apohllo/krnnt:0.1