cc.mallet.pipe
Class PrintInput

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

public class PrintInput
extends Pipe
implements java.io.Serializable

Print the data field of each instance.

Author:
Andrew McCallum mccallum@cs.umass.edu
See Also:
Serialized Form

Constructor Summary
PrintInput()
           
PrintInput(java.io.PrintStream out)
           
PrintInput(java.lang.String prefix)
           
PrintInput(java.lang.String prefix, java.io.PrintStream out)
           
 
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

PrintInput

public PrintInput(java.lang.String prefix)

PrintInput

public PrintInput()

PrintInput

public PrintInput(java.io.PrintStream out)

PrintInput

public PrintInput(java.lang.String prefix,
                  java.io.PrintStream out)
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