public class SentimentAnalyzer extends Processor
Modifier and Type | Field and Description |
---|---|
boolean |
annotateGlobally |
boolean |
annotatePronouns |
boolean |
ignorePartOfSpeech |
boolean |
ignoreRelatedTerms |
boolean |
legacyAnnotations |
java.lang.String |
neTag |
boolean |
normalizeTrustLevels |
boolean |
notApplicableAnnotations |
boolean |
nounPackage |
boolean |
packageCount |
boolean |
showPackage |
boolean |
suggest |
java.lang.String |
suggestOutput |
boolean |
summarize |
Constructor and Description |
---|
SentimentAnalyzer(java.lang.String name,
java.lang.String fields) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
defaultLanguages() |
protected void |
finalize() |
SentimentSuggestion[] |
getAdjectiveSuggestions() |
static java.lang.String |
getAdjectiveTag() |
static java.lang.String |
getAdjectiveTagPrefix() |
static java.lang.String |
getDocumentTag() |
SentimentSuggestion[] |
getPpSuggestions() |
static java.lang.String |
getTagPrefix() |
SentimentSuggestion[] |
getTermSuggestions() |
static java.lang.String |
getTokenTag() |
void |
init(java.lang.String name,
java.lang.String[] fields)
Initialize the processor
|
protected void |
init(java.lang.String name,
java.lang.String[] fields,
java.lang.String neTag,
boolean annotateGlobally,
boolean annotatePronouns,
boolean ignorePartOfSpeech,
boolean ignoreRelatedTerms,
boolean legacyAnnotations,
boolean notApplicableAnnotations,
boolean normalizeTrustLevels,
boolean nounPackage,
boolean packageCount,
boolean showPackage,
boolean suggest,
boolean summarize,
java.lang.String suggestOutput) |
static int |
maxRating() |
checkResource, destroy, getName, init
public java.lang.String neTag
public boolean annotateGlobally
public boolean annotatePronouns
public boolean ignorePartOfSpeech
public boolean ignoreRelatedTerms
public boolean legacyAnnotations
public boolean notApplicableAnnotations
public boolean normalizeTrustLevels
public boolean nounPackage
public boolean packageCount
public boolean showPackage
public boolean suggest
public boolean summarize
public java.lang.String suggestOutput
public SentimentAnalyzer(java.lang.String name, java.lang.String fields)
public void init(java.lang.String name, java.lang.String[] fields)
Processor
public SentimentSuggestion[] getTermSuggestions()
public SentimentSuggestion[] getAdjectiveSuggestions()
public SentimentSuggestion[] getPpSuggestions()
protected void init(java.lang.String name, java.lang.String[] fields, java.lang.String neTag, boolean annotateGlobally, boolean annotatePronouns, boolean ignorePartOfSpeech, boolean ignoreRelatedTerms, boolean legacyAnnotations, boolean notApplicableAnnotations, boolean normalizeTrustLevels, boolean nounPackage, boolean packageCount, boolean showPackage, boolean suggest, boolean summarize, java.lang.String suggestOutput)
protected void finalize()
finalize
in class java.lang.Object
public static int maxRating()
public static java.lang.String getTagPrefix()
public static java.lang.String getAdjectiveTagPrefix()
public static java.lang.String getTokenTag()
public static java.lang.String getDocumentTag()
public static java.lang.String getAdjectiveTag()
public static java.lang.String[] defaultLanguages()
Copyright © 2013 Dassault Systèmes, All Rights Reserved.