Package cc.mallet.share.casutton.ner
Class ConllNer2003Sentence2TokenSequence
- java.lang.Object
-
- cc.mallet.pipe.Pipe
-
- cc.mallet.share.casutton.ner.ConllNer2003Sentence2TokenSequence
-
- All Implemented Interfaces:
AlphabetCarrying
,java.io.Serializable
public class ConllNer2003Sentence2TokenSequence extends Pipe
Reads a data file in CoNLL 2003 format, and makes some simple transformations. Unlike the version in mccallum.ner, does not expect fields in the data file for tags and phrasos if those features are off. Does not look for target field if isTargetProcessing() is false.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConllNer2003Sentence2TokenSequence()
ConllNer2003Sentence2TokenSequence(boolean useTags, boolean usePhrases)
-
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
-
-