I would like to analyze sentences (others languages to english) with Stabnford NLP.
For the moment I run the server on localhost:9000 with
java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer
And in my node server I call the api like this :
output=$(wget --post-data '+"'"+text+"' "+"'localhost:"+port+'
/?properties=
{
"props": "StanfordCoreNLP-[OTHER LANGUAGE].properties",
"annotators": "ssplit,parse",
"outputFormat": "json"
}'
-qO -) && echo $output",{ encoding: 'utf8' }
However the result is still for english language, I don't don't why ? Anyone have an idea to use others language on stanford NLP ?
Thanks