Created on 02-02-2017 07:33 PM
NIFI - CoreNLP - Processor : Example Processor for doing Sentiment Analysis
Apache NiFi Custom Processor for working with Stanford CoreNLP for Sentiment Analysis in Java 8
Currently uses Stanford English Models
Example Run
[pool-1-thread-1] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize
[pool-1-thread-1] INFO edu.stanford.nlp.pipeline.TokenizerAnnotator - No tokenizer type provided. Defaulting to PTBTokenizer.
[pool-1-thread-1] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit
[pool-1-thread-1] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator parse
[pool-1-thread-1] INFO edu.stanford.nlp.parser.common.ParserGrammar - Loading parser from serialized file edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz ... done [0.4 sec].
[pool-1-thread-1] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator sentiment
FILE:Header,Header2,Header3
Value,Value2,Value3
Value4,Value5,Value6
Attribute: {"names":"NEGATIVE"}
Models: http://nlp.stanford.edu/software/stanford-english-corenlp-2016-10-31-models.jar
Created on 02-02-2017 09:10 PM
https://github.com/tspannhw/nifi-corenlp-processor/releases/tag/v1.0