|
__init__(self,
rank_name=' rank ' )
Collection of convenience functions for transforming parallel
sentences with many ranks into pairwise mode and vice versa. |
source code
|
|
|
get_multiclass_from_pairwise_set(self,
parallelsentences,
allow_ties=False) |
source code
|
|
|
get_pairwise_from_multiclass_sentence(self,
parallelsentence,
judgement_id,
allow_ties=False,
exponential=True,
rename_rank=True)
Converts a the ranked system translations of one sentence into many
sentences containing one translation pair each, so that system output
can be compared in a pairwise manner. |
source code
|
|
|
get_pairwise_from_multiclass_set(self,
parallelsentences,
allow_ties=False,
exponential=True,
rename_rank=True) |
source code
|
|
|
merge_overlapping_pairwise_set(self,
parallelsentences) |
source code
|
|
|
|
|
_normalize_rank(self,
system_a,
system_b)
Receives two rank scores for the two respective system outputs,
compares them and returns a universal comparison value, namely -1 if
the first system is better, +1 if the second system output is better,
and 0 if they are equally good. |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|