Class TokenNGramPipe

  • All Implemented Interfaces:
    cc.mallet.types.AlphabetCarrying, 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
    • 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