cc.mallet.pipe.tsf
Class FeaturesOfFirstMention
java.lang.Object
cc.mallet.pipe.Pipe
cc.mallet.pipe.tsf.FeaturesOfFirstMention
- All Implemented Interfaces:
- AlphabetCarrying, java.io.Serializable
public class FeaturesOfFirstMention
- extends Pipe
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
FeaturesOfFirstMention(java.lang.String namePrefix)
|
FeaturesOfFirstMention(java.lang.String namePrefix,
java.util.regex.Pattern featureRegex)
|
FeaturesOfFirstMention(java.lang.String namePrefix,
java.util.regex.Pattern featureRegex,
java.util.regex.Pattern featureFilterRegex,
boolean includeFiltered)
|
FeaturesOfFirstMention(java.lang.String namePrefix,
java.lang.String firstMentionName,
java.util.regex.Pattern featureRegex)
|
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 |
FeaturesOfFirstMention
public FeaturesOfFirstMention(java.lang.String namePrefix,
java.lang.String firstMentionName,
java.util.regex.Pattern featureRegex)
FeaturesOfFirstMention
public FeaturesOfFirstMention(java.lang.String namePrefix,
java.util.regex.Pattern featureRegex,
java.util.regex.Pattern featureFilterRegex,
boolean includeFiltered)
FeaturesOfFirstMention
public FeaturesOfFirstMention(java.lang.String namePrefix,
java.util.regex.Pattern featureRegex)
FeaturesOfFirstMention
public FeaturesOfFirstMention(java.lang.String namePrefix)
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