Trees | Indices | Help |
|
---|
|
object --+ | featuregenerator.FeatureGenerator --+ | AttributeRankGenerator
It produces a new ranking of the translated sentences, based on another value. This "clean" ranking starts from zero and has a maximum ranking difference of 1
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
@param critical_attribute The name of the attribute whose value will guide the ranking @type critical_attribute String @param new_attribute_name If the attributes needs to be renamed, the new name must be entered here. If not entered, then the attribute name is created based on the critical attribute, with the addition of the ending "-rank" @type new_attribute_name String @param reverse Set True if you need it to be sorted on the reverse order @type boolean
|
Augments the provided ParallelSentence with features of the current feature generator. It fires feature generation functions over the included simplesentences it is composed of. @param parallelsentence: The ParalleSentence whose contents will be augmented @type parallelsentence: sentence.parallelsentence.ParalleSentence @rtype: sentence.parallelsentence.ParalleSentence @return: The given ParalleSentence augmented with features generated from the current featuregenerator
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Jul 18 11:46:12 2014 | http://epydoc.sourceforge.net |