java.io.Serializable
, CapabilitiesHandler
, CapabilitiesIgnorer
, CommandlineRunnable
, OptionHandler
, RevisionHandler
public class TweetToInputLexiconFeatureVector extends TweetToFeatureVector
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
LEXICON_FOLDER_NAME |
Default path to where lexicons are stored.
|
static java.lang.String |
NRC_AFFECT_INTENSITY_FILE_NAME |
The path of the MPQA lexicon
|
Constructor | Description |
---|---|
TweetToInputLexiconFeatureVector() |
Modifier and Type | Method | Description |
---|---|---|
ArffLexiconEvaluator[] |
getLexiconEval() |
|
java.lang.String |
globalInfo() |
Returns a string describing this filter.
|
static void |
main(java.lang.String[] args) |
Main method for testing this class.
|
void |
setLexiconEval(ArffLexiconEvaluator[] lexiconEval) |
batchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getOutputFormat, getRevision, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapper
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
batchFinished, input
setInputFormat
allowAccessToFullInputFormat, getCapabilities, getOptions, getStemmer, getStopwordsHandler, getTextIndex, getTokenizer, isReduceRepeatedLetters, isStandarizeUrlsUsers, isToLowerCase, listOptions, setOptions, setReduceRepeatedLetters, setStandarizeUrlsUsers, setStemmer, setStopwordsHandler, setTextIndex, setTokenizer, setToLowerCase
public static java.lang.String LEXICON_FOLDER_NAME
public static java.lang.String NRC_AFFECT_INTENSITY_FILE_NAME
public java.lang.String globalInfo()
globalInfo
in class SimpleFilter
@OptionMetadata(displayName="ArffLexiconEvaluator", description="The specification of a lexicon evaluator. This option can be used multiple times.", commandLineParamName="lexicon_evaluator", commandLineParamSynopsis="-lexicon_evaluator <string>", displayOrder=6) public ArffLexiconEvaluator[] getLexiconEval()
public void setLexiconEval(ArffLexiconEvaluator[] lexiconEval)
public static void main(java.lang.String[] args)
args
- should contain arguments to the filter: use -h for help