Now I am parsing the Arabic text using the following command:
java -mx1500m edu.stanford.nlp.parser.lexparser.LexicalizedParser \
-cp "$scriptdir/*:" -sentences newline -outputFormat "penn,wordsAndTags" \
edu/stanford/nlp/models/lexparser/arabicFactored.ser.gz $FILE
This displays tokens, tags, and parsing trees, as well as a global overview of processing speed similar to this output:
Parsed 280 words in 10 sentences (1.95 wds/sec; 0.07 sents/sec).
Is there an option or command line switch to start the output of processing time at the level of each sentence? Or should I add this to the code itself?
We did not find such an option either in the FAQ or on the Stanford NLP website, so I would appreciate it if anyone could clarify this problem.
source
share