Class MaxEntScorerFeaturePipe

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      cc.mallet.types.Instance pipe​(cc.mallet.types.Instance carrier)
      the main function of a pipe used to acutally build the features
      void setFeatures​(String textGeneMention, String synhitSynonm, String featurePrefix, Map<String,​Double> featureMap, int normConstant)  
      • 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
    • Field Detail

      • featureCreationTime

        public static long featureCreationTime
    • Constructor Detail

      • MaxEntScorerFeaturePipe

        public MaxEntScorerFeaturePipe()
      • MaxEntScorerFeaturePipe

        public MaxEntScorerFeaturePipe​(cc.mallet.types.Alphabet dataAlphabet)
    • Method Detail

      • pipe

        public cc.mallet.types.Instance pipe​(cc.mallet.types.Instance carrier)
        the main function of a pipe used to acutally build the features
        Overrides:
        pipe in class cc.mallet.pipe.Pipe
      • setFeatures

        public void setFeatures​(String textGeneMention,
                                String synhitSynonm,
                                String featurePrefix,
                                Map<String,​Double> featureMap,
                                int normConstant)