Reputation: 1
I am having a project on Arabic NLP,Can I have a java example on how to use (coreNLP) Stanford Arabic Modules (segmenter,POS tagger...)?
Upvotes: 0
Views: 1012
Reputation: 8739
Here is a sample command:
java -Xmx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -props StanfordCoreNLP-arabic.properties -file example.txt -outputFormat text
Make sure you include the Arabic models jar in your CLASSPATH:
https://stanfordnlp.github.io/CoreNLP/download.html
That website contains a lot of documentation on Stanford CoreNLP usage.
Upvotes: 3