|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcontrol.Operation
datapreparation.TextOperation
datapreparation.stemming.Stemming
public class Stemming
Class implementing the stemming operation. Given the language used in the dataset, all terms in the dataset is stemmed.
Constructor Summary | |
---|---|
Stemming()
|
Method Summary | |
---|---|
java.util.ArrayList |
getProperties()
Method for getting the properties. |
void |
performOperation(DataSet dataSet)
Method for performing the operation. |
void |
setProperties(java.util.ArrayList properties)
Method for setting the properties. |
Text |
stemWordsInText(Text text)
Method for stemming all terms in a specific text. |
Methods inherited from class control.Operation |
---|
getLogResult, setLogResult |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Stemming()
Method Detail |
---|
public void performOperation(DataSet dataSet)
performOperation
in class Operation
dataSet
- The datasetpublic Text stemWordsInText(Text text)
text
- The text
public java.util.ArrayList getProperties()
getProperties
in class Operation
public void setProperties(java.util.ArrayList properties)
setProperties
in class Operation
properties
- List of properties
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |