cc.mallet.pipe.tsf
Class CountMatches
java.lang.Object
cc.mallet.pipe.Pipe
cc.mallet.pipe.tsf.CountMatches
- All Implemented Interfaces:
- AlphabetCarrying, java.io.Serializable
public class CountMatches
- extends Pipe
- See Also:
- Serialized Form
Constructor Summary |
CountMatches(java.lang.String featureName,
java.util.regex.Pattern regex)
|
CountMatches(java.lang.String featureName,
java.util.regex.Pattern regex,
int countType)
|
Method Summary |
Instance |
pipe(Instance carrier)
Really this should be 'protected', but isn't for historical reasons. |
Methods inherited from class cc.mallet.pipe.Pipe |
alphabetsMatch, getAlphabet, getAlphabets, getDataAlphabet, getInstanceId, getTargetAlphabet, instanceFrom, instancesFrom, instancesFrom, isDataAlphabetSet, isTargetProcessing, newIteratorFrom, preceedingPipeDataAlphabetNotification, preceedingPipeTargetAlphabetNotification, precondition, readResolve, setDataAlphabet, setOrCheckDataAlphabet, setOrCheckTargetAlphabet, setTargetAlphabet, setTargetProcessing |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INTEGER_COUNT
public static final int INTEGER_COUNT
- See Also:
- Constant Field Values
BINARY_COUNT
public static final int BINARY_COUNT
- See Also:
- Constant Field Values
NORMALIZED_COUNT
public static final int NORMALIZED_COUNT
- See Also:
- Constant Field Values
OVER_MAX
public static final int OVER_MAX
- See Also:
- Constant Field Values
CountMatches
public CountMatches(java.lang.String featureName,
java.util.regex.Pattern regex,
int countType)
CountMatches
public CountMatches(java.lang.String featureName,
java.util.regex.Pattern regex)
pipe
public Instance pipe(Instance carrier)
- Description copied from class:
Pipe
- Really this should be 'protected', but isn't for historical reasons.
- Overrides:
pipe
in class Pipe