cc.mallet.pipe.tsf
Class TrieLexiconMembership

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

public class TrieLexiconMembership
extends Pipe
implements java.io.Serializable

See Also:
Serialized Form

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

TrieLexiconMembership

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

TrieLexiconMembership

public TrieLexiconMembership(java.lang.String name,
                             java.io.Reader lexiconReader,
                             boolean ignoreCase,
                             boolean includeDelims,
                             java.lang.String delim)

TrieLexiconMembership

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

TrieLexiconMembership

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

TrieLexiconMembership

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

TrieLexiconMembership

public TrieLexiconMembership(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