cc.mallet.pipe.tsf
Class CountMatches

java.lang.Object
  extended by cc.mallet.pipe.Pipe
      extended by cc.mallet.pipe.tsf.CountMatches
All Implemented Interfaces:
AlphabetCarrying, java.io.Serializable

public class CountMatches
extends Pipe

See Also:
Serialized Form

Field Summary
static int BINARY_COUNT
           
static int INTEGER_COUNT
           
static int NORMALIZED_COUNT
           
static int OVER_MAX
           
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

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