cc.mallet.pipe.tsf
Class LexiconMembership

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

public class LexiconMembership
extends Pipe
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
LexiconMembership(java.io.File lexiconFile)
           
LexiconMembership(java.io.File lexiconFile, boolean ignoreCase)
           
LexiconMembership(java.lang.String name, java.io.File lexiconFile, boolean ignoreCase)
           
LexiconMembership(java.lang.String name, java.io.Reader lexiconReader, 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

LexiconMembership

public LexiconMembership(java.lang.String name,
                         java.io.Reader lexiconReader,
                         boolean ignoreCase)

LexiconMembership

public LexiconMembership(java.lang.String name,
                         java.io.File lexiconFile,
                         boolean ignoreCase)
                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

LexiconMembership

public LexiconMembership(java.io.File lexiconFile,
                         boolean ignoreCase)
                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException

LexiconMembership

public LexiconMembership(java.io.File lexiconFile)
                  throws java.io.FileNotFoundException
Throws:
java.io.FileNotFoundException
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