Code Repositories
Find and share code repositories
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)
Super Guru
Repo Description

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

Repo Info
Github Repo URL https://github.com/tspannhw/nifi-corenlp-processor
Github account name tspannhw
Repo name nifi-corenlp-processor
599 Views
0 Kudos
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎02-02-2017 07:33 PM
Updated by:
 
Contributors
Top Kudoed Authors