This repository provides API server using stanfordNLP that contains tools for robust text analytics, including tokenization, multi-word token (MWT) expansion, lemmatization, part-of-speech (POS) and morphological features tagging and dependency parsing.
Since docker image exceeds 20GB, I recommend using a API server on ainize.
docker pull gkswjdzz/ainized-stanfordnlp
docker run -p 80:80 -t gkswjdzz/ainized-stanfordnlp
api server will be running on localhost.
First, select language that you are trying to use.
then, write the sentences you want to analyze.
Wait a few seconds, the results come back.
curl -X POST "http://localhost/analyze" -H "accept: application/json" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d "model_treebank={languages_treebank} sentences={sentences}"
You can see the detail of models for human languages from here.