public class StanfordSentimentAnnotation
extends org.apache.uima.jcas.tcas.Annotation
Stanford CoreNLP Sentiment annotation
Updated by JCasGen Fri Jun 24 17:55:42 CEST 2016 XML source: /home/beto/git-1-8/dkpro-core/dkpro-core-api-sentiment-asl/target/jcasgen/typesystem.xmlModifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
StanfordSentimentAnnotation()
Never called.
|
|
StanfordSentimentAnnotation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator
|
|
StanfordSentimentAnnotation(org.apache.uima.jcas.JCas jcas) |
|
StanfordSentimentAnnotation(org.apache.uima.jcas.JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
double |
getNegative()
getter for negative - gets Value of negative
|
double |
getNeutral()
getter for neutral - gets Value of neutral
|
double |
getPositive()
getter for positive - gets Value of positive
|
int |
getTypeIndexID() |
double |
getVeryNegative()
getter for veryNegative - gets Value of veryNegative
|
double |
getVeryPositive()
getter for veryPositive - gets Value of veryPositive
|
void |
setNegative(double v)
setter for negative - sets Value of negative
|
void |
setNeutral(double v)
setter for neutral - sets Value of neutral
|
void |
setPositive(double v)
setter for positive - sets Value of positive
|
void |
setVeryNegative(double v)
setter for veryNegative - sets Value of veryNegative
|
void |
setVeryPositive(double v)
setter for veryPositive - sets Value of veryPositive
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
clone, getavoidcollisionTypeCode, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
protected StanfordSentimentAnnotation()
public StanfordSentimentAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic StanfordSentimentAnnotation(org.apache.uima.jcas.JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic StanfordSentimentAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class org.apache.uima.jcas.tcas.Annotation
public double getVeryNegative()
public void setVeryNegative(double v)
v
- value to set into the featurepublic double getNegative()
public void setNegative(double v)
v
- value to set into the featurepublic double getNeutral()
public void setNeutral(double v)
v
- value to set into the featurepublic double getPositive()
public void setPositive(double v)
v
- value to set into the featurepublic double getVeryPositive()
public void setVeryPositive(double v)
v
- value to set into the featureCopyright © 2007–2016 Ubiquitous Knowledge Processing (UKP) Lab, Technische Universität Darmstadt. All rights reserved.