Class LastWordPipe

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

    public class LastWordPipe
    extends cc.mallet.pipe.Pipe
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFeaturesForGeneMention​(cc.mallet.types.Token t, de.julielab.geneexpbase.genemodel.GeneDocument d, de.julielab.geneexpbase.genemodel.GeneMention gm, edu.ucdenver.ccp.nlp.biolemmatizer.BioLemmatizer bioLemmatizer)  
      cc.mallet.types.Instance pipe​(cc.mallet.types.Instance inst)  
      • 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

      • LastWordPipe

        public LastWordPipe​(String prefix,
                            boolean useGeneset)
      • LastWordPipe

        public LastWordPipe​(String prefix)
    • Method Detail

      • pipe

        public cc.mallet.types.Instance pipe​(cc.mallet.types.Instance inst)
        Overrides:
        pipe in class cc.mallet.pipe.Pipe
      • addFeaturesForGeneMention

        public void addFeaturesForGeneMention​(cc.mallet.types.Token t,
                                              de.julielab.geneexpbase.genemodel.GeneDocument d,
                                              de.julielab.geneexpbase.genemodel.GeneMention gm,
                                              edu.ucdenver.ccp.nlp.biolemmatizer.BioLemmatizer bioLemmatizer)