examples/research_projects/bertabs/modeling_bertabs.py/GNMTGlobalScorer/__init__
class GNMTGlobalScorer:    def __init__(self, alpha, length_penalty):
        self.alpha = alpha
        penalty_builder = PenaltyBuilder(length_penalty)
        self.length_penalty = penalty_builder.length_penalty()