(self)
return sum(self.output_scores) / len(self.output_scores)
Return the averaged log probability of hypothesis
Return the averaged log probability of hypothesis
Return the averaged log probability of hypothesis
def avgScore(self):
        '''Return the averaged log probability of hypothesis'''
        assert len(self.output_scores) != 0
        return sum(self.output_scores) / len(self.output_scores)
def avgScore ( self ) : assert len ( self . output_scores ) != 0 return sum ( self . output_scores ) / len ( self . output_scores )