@Reference(author={"Janyce Wiebe","Theresa Wilson","Claire Cardie"}, title="Annotating expressions of opinions and emotions in language. ", type=Article, year="2005") public class MPQATokenList extends TokenListSentimentAnnotator<IdentityFeatureExtractor<List<String>>,MPQATokenList>
TFF.
The default model is found in:
/org/openimaj/text/sentiment/mpqa/subjclueslen1polar.tff| Constructor and Description |
|---|
MPQATokenList()
Construct the sentiment model using the default word clue TFF
|
MPQATokenList(File f)
Construct the sentiment model using the provided tff file
|
MPQATokenList(MPQATokenList mpqa) |
| Modifier and Type | Method and Description |
|---|---|
List<ScoredAnnotation<BipolarSentiment>> |
annotate(List<String> words)
Generate annotations for the given object.
|
getAnnotationsclassifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclassifypublic MPQATokenList() throws IOException
IOExceptionpublic MPQATokenList(File f) throws IOException
f - IOExceptionpublic MPQATokenList(MPQATokenList mpqa)
mpqa - used by clonepublic List<ScoredAnnotation<BipolarSentiment>> annotate(List<String> words)
Annotatorwords - the image