class_docstr: BLEU scorer class.
docstr: Initialize necessary options for sentencepiece.
docstr_tok: ["Initialize","necessary","options","for","sentencepiece","."]
code: def __init__(self, opts):
      """Initialize necessary options for sentencepiece."""
      super().__init__(opts)
  
imports: from .scorer import Scorer
  from onmt.scorers import register_scorer
  from sacrebleu import corpus_bleu
label_desc: Use image node_id 1 to create a new BleuScorer object from inherited base classes: Scorer with example: obj = BleuScorer(opts)