Class ListMember

  extended by cc.mallet.pipe.Pipe
      extended by cc.mallet.share.upenn.ner.ListMember
All Implemented Interfaces:

public class ListMember
extends Pipe

Checks membership in a lexicon in a text file. Multi-token items are supported, but only if the tokens are uniformly separated or not separated by spaces: that is, U.S.A. is acceptable, as is San Francisco, but not St. Petersburg.

See Also:
Serialized Form

Constructor Summary
ListMember(java.lang.String featureName, lexFile, boolean ignoreCase)
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


public ListMember(java.lang.String featureName,
                  boolean ignoreCase)
Method Detail


public Instance pipe(Instance carrier)
Description copied from class: Pipe
Really this should be 'protected', but isn't for historical reasons.

pipe in class Pipe