@Reference(author={"Janyce Wiebe","Theresa Wilson","Claire Cardie"}, title="Annotating expressions of opinions and emotions in language. ", type=Article, year="2005") public class TFF extends Object implements ReadableASCII
The way to think about TFF entries are clues that a given word (or set of words) give to the sentiment and subjectivity of a given phrase. There are many clever ways to use this information highlighted in this paper:
| Modifier and Type | Class and Description |
|---|---|
static class |
TFF.Clue
A particular clue
|
static class |
TFF.Polarity
The polarity of this word in this POS
|
static class |
TFF.Pos
The Part of Speech of this clue.
|
static class |
TFF.Type
The subjectivity leve
|
| Modifier and Type | Field and Description |
|---|---|
ArrayList<TFF.Clue> |
entriesList
Every clue in this TFF
|
Map<String,List<TFF.Clue>> |
entriesMap
Every word mapped to each clue in this TFF
|
| Constructor and Description |
|---|
TFF()
instatiate the clue map and the clue list
|
| Modifier and Type | Method and Description |
|---|---|
String |
asciiHeader()
Header for ascii input.
|
TFF |
clone() |
void |
readASCII(Scanner in)
Read internal state from in.
|
public ArrayList<TFF.Clue> entriesList
public Map<String,List<TFF.Clue>> entriesMap
public TFF()
public void readASCII(Scanner in) throws IOException
ReadableASCIIreadASCII in interface ReadableASCIIin - source to read from.IOException - an error reading inputpublic String asciiHeader()
ReadableASCIIasciiHeader in interface ReadableASCII