datapreparation.filter
Class Filter
java.lang.Object
control.Operation
datapreparation.TextOperation
datapreparation.filter.Filter
public class Filter
- extends TextOperation
Class representing a filtering operation. This operation allows for the
user to filter the extracted terms by weight or by order, specifying a maximum
number of terms to keep, and wether to keep the terms read and more and terms
with digits.
- Author:
- Kjell-Inge Skogstad and Trond Řivind Eriksen
Method Summary |
java.util.ArrayList |
getProperties()
Method returning the properties of this operation. |
void |
performOperation(DataSet dataSet)
Method for performing the operation. |
void |
setProperties(java.util.ArrayList properties)
Method for setting the properties of this operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Filter
public Filter()
performOperation
public void performOperation(DataSet dataSet)
- Method for performing the operation.
- Specified by:
performOperation
in class Operation
- Parameters:
dataSet
- The dataset
getProperties
public java.util.ArrayList getProperties()
- Method returning the properties of this operation.
- Specified by:
getProperties
in class Operation
- Returns:
- List of properties
setProperties
public void setProperties(java.util.ArrayList properties)
- Method for setting the properties of this operation.
- Specified by:
setProperties
in class Operation
- Parameters:
properties
- List of properties