Package cc.mallet.share.upenn.ner
Class LongRegexMatches
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.share.upenn.ner.LongRegexMatches
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class LongRegexMatches extends Pipe implements java.io.Serializable
Matches a regular expression which spans several tokens.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LongRegexMatches(java.lang.String featureName, java.util.regex.Pattern regex, int min, int max)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-