cc.mallet.pipe.tsf
Class CountMatchesAlignedWithOffsets

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

public class CountMatchesAlignedWithOffsets
extends Pipe

See Also:
Serialized Form

Constructor Summary
CountMatchesAlignedWithOffsets(java.lang.String featureName, java.util.regex.Pattern regex, int[] offsets)
           
CountMatchesAlignedWithOffsets(java.lang.String featureName, java.util.regex.Pattern regex, int[] offsets, boolean normalizeByMatchCount)
           
 
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
 

Constructor Detail

CountMatchesAlignedWithOffsets

public CountMatchesAlignedWithOffsets(java.lang.String featureName,
                                      java.util.regex.Pattern regex,
                                      int[] offsets,
                                      boolean normalizeByMatchCount)

CountMatchesAlignedWithOffsets

public CountMatchesAlignedWithOffsets(java.lang.String featureName,
                                      java.util.regex.Pattern regex,
                                      int[] offsets)
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