public class TotalLexBuilder extends Object
Modifier and Type | Class and Description |
---|---|
class |
TotalLexBuilder.Counter
Easily incremented object for counting.
|
Constructor and Description |
---|
TotalLexBuilder(List<String> posConfirmation,
List<String> negConfirmation)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Double> |
build(List<String> corpus)
Builds a Scored Sentiment mapping of adjectives from the corpus.
|
static void |
main(String[] args)
Quick tester for class
|
public TotalLexBuilder(List<String> posConfirmation, List<String> negConfirmation)
posConfirmation
- = list of positive adjectives used to orient the
classification.negConfirmation
- = list of negative adjectives used to orient the
classification.