java.io.Serializable
, CapabilitiesHandler
, CapabilitiesIgnorer
, CommandlineRunnable
, OptionHandler
, RevisionHandler
public class PMILexiconExpander extends TweetToFeatureVector
@inproceedings{turney2002thumbs, title={Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of reviews}, author={Turney, Peter D}, booktitle={Proceedings of the 40th Annual Meeting on Association for Computational Linguistics}, pages={417--424}, year={2002}, organization={Association for Computational Linguistics} }
Constructor | Description |
---|---|
PMILexiconExpander() |
Modifier and Type | Method | Description |
---|---|---|
Capabilities |
getCapabilities() |
|
int |
getMinFreq() |
|
java.lang.String |
getNegClassValue() |
|
java.lang.String |
getPosClassValue() |
|
TechnicalInformation |
getTechnicalInformation() |
Returns an instance of a TechnicalInformation object, containing
detailed information about the technical background of this class,
e.g., paper reference or book this class is based on.
|
java.lang.String |
globalInfo() |
|
static void |
main(java.lang.String[] args) |
Main method for testing this class.
|
void |
setMinFreq(int minFreq) |
|
void |
setNegClassValue(java.lang.String m_NegClassValue) |
|
void |
setPosClassValue(java.lang.String m_PosClassValue) |
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, getOptions, getStemmer, getStopwordsHandler, getTextIndex, getTokenizer, isReduceRepeatedLetters, isStandarizeUrlsUsers, isToLowerCase, listOptions, setOptions, setReduceRepeatedLetters, setStandarizeUrlsUsers, setStemmer, setStopwordsHandler, setTextIndex, setTokenizer, setToLowerCase
public TechnicalInformation getTechnicalInformation()
public java.lang.String globalInfo()
globalInfo
in class SimpleFilter
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class TweetToFeatureVector
@OptionMetadata(displayName="posClassValue", description="The value of the positive class.\t default positive", commandLineParamName="posClassValue", commandLineParamSynopsis="-posClassValue <String>", displayOrder=6) public java.lang.String getPosClassValue()
public void setPosClassValue(java.lang.String m_PosClassValue)
@OptionMetadata(displayName="negClassValue", description="The value of the negative class.\t default negative", commandLineParamName="negClassValue", commandLineParamSynopsis="-negClassValue <String>", displayOrder=7) public java.lang.String getNegClassValue()
public void setNegClassValue(java.lang.String m_NegClassValue)
@OptionMetadata(displayName="minFreq", description="Minimum frequency of a word to be considered.\t default 10", commandLineParamName="minFreq", commandLineParamSynopsis="-minFreq <int>", displayOrder=8) public int getMinFreq()
public void setMinFreq(int minFreq)
public static void main(java.lang.String[] args)
args
- should contain arguments to the filter: use -h for help