alaa
alaa

Reputation: 1

Stanford CoreNLP example on Arabic Language

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

Answers (1)

StanfordNLPHelp
StanfordNLPHelp

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

Related Questions