cc.mallet.pipe
Class StringAddNewLineDelimiter

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

public class StringAddNewLineDelimiter
extends Pipe
implements java.io.Serializable

Pipe that can adds special text between lines to explicitly represent line breaks.

See Also:
Serialized Form

Constructor Summary
StringAddNewLineDelimiter(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

StringAddNewLineDelimiter

public StringAddNewLineDelimiter(java.lang.String delim)
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