Using Stanford Tregex in Python for German text

222 Views Asked by At

The accepted answer in Using Stanford Tregex in Python is almost solving my problem, but I don't know how to set the language to German. Can anybody help me?

1

There are 1 best solutions below

3
On

It should work if when you start the server you add -serverProperties StanfordCoreNLP-german.properties. Let me know if that doesn't work. Also make sure you have the German models jar on your CLASSPATH.