Class TokenNGramPipe

  • All Implemented Interfaces:
    cc.mallet.types.AlphabetCarrying, java.io.Serializable

    public class TokenNGramPipe
    extends cc.mallet.pipe.Pipe
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TokenNGramPipe​(int[] ngramSizes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      cc.mallet.types.Instance pipe​(cc.mallet.types.Instance carrier)  
      • 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

      • TokenNGramPipe

        public TokenNGramPipe​(int[] ngramSizes)
    • Method Detail

      • pipe

        public cc.mallet.types.Instance pipe​(cc.mallet.types.Instance carrier)
        Overrides:
        pipe in class cc.mallet.pipe.Pipe