public static class Opinion.OpinionExpression extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
void |
addExternalRef(ExternalRef externalRef) |
void |
addExternalRefs(List<ExternalRef> externalRefs) |
void |
addTerm(Term term) |
void |
addTerm(Term term,
boolean isHead) |
boolean |
equals(Object object) |
ExternalRef |
getExternalRef(String resource) |
List<ExternalRef> |
getExternalRefs() |
String |
getPolarity() |
String |
getSentimentProductFeature() |
String |
getSentimentSemanticType() |
Span<Term> |
getSpan() |
String |
getStrength() |
String |
getSubjectivity() |
List<Term> |
getTerms() |
int |
hashCode() |
boolean |
hasPolarity() |
boolean |
hasSentimentProductFeature() |
boolean |
hasSentimentSemanticType() |
boolean |
hasStrength() |
boolean |
hasSubjectivity() |
void |
setPolarity(String polarity) |
void |
setSentimentProductFeature(String sentimentProductFeature) |
void |
setSentimentSemanticType(String sentimentSemanticType) |
void |
setSpan(Span<Term> span) |
void |
setStrength(String strength) |
void |
setSubjectivity(String subjectivity) |
String |
toString() |
public boolean hasPolarity()
public String getPolarity()
public void setPolarity(String polarity)
public boolean hasStrength()
public String getStrength()
public void setStrength(String strength)
public boolean hasSubjectivity()
public String getSubjectivity()
public void setSubjectivity(String subjectivity)
public boolean hasSentimentSemanticType()
public String getSentimentSemanticType()
public void setSentimentSemanticType(String sentimentSemanticType)
public boolean hasSentimentProductFeature()
public String getSentimentProductFeature()
public void setSentimentProductFeature(String sentimentProductFeature)
public void addTerm(Term term)
public void addTerm(Term term, boolean isHead)
public ExternalRef getExternalRef(String resource)
public List<ExternalRef> getExternalRefs()
public void addExternalRef(ExternalRef externalRef)
public void addExternalRefs(List<ExternalRef> externalRefs)
Copyright © 2016–2020 FBK. All rights reserved.