public final class SubjectivityLexicon extends Lexicon<SubjectivityLexicon.Lexeme>
Modifier and Type | Class and Description |
---|---|
static class |
SubjectivityLexicon.Lexeme |
static class |
SubjectivityLexicon.Polarity |
Lexicon.Token
Constructor and Description |
---|
SubjectivityLexicon(Iterable<SubjectivityLexicon.Lexeme> lexemes) |
Modifier and Type | Method and Description |
---|---|
static SubjectivityLexicon |
getInstance() |
static SubjectivityLexicon |
index(String resourceFile) |
static void |
main(String... args) |
static void |
setInstance(SubjectivityLexicon instance) |
contains, create, get, iterator, match, match, readFrom, readFrom, size, writeTo, writeTo
equals, hashCode, removeAll
add, addAll, clear, containsAll, isEmpty, remove, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArray
parallelStream, removeIf, stream
public SubjectivityLexicon(Iterable<SubjectivityLexicon.Lexeme> lexemes)
public static void setInstance(@Nullable SubjectivityLexicon instance)
public static SubjectivityLexicon getInstance()
public static SubjectivityLexicon index(String resourceFile) throws IOException
IOException
public static void main(String... args)
Copyright © 2016–2020 FBK. All rights reserved.