class_docstr: Distinct Evaluator. Now, we support metrics `'distinct'`.
      
class_docstr_tok: ["Distinct","Evaluator",".","Now",",","we","support","metrics","`","'distinct","'","`","."]
code: def __init__(self, config):
      super(DistinctEvaluator, self).__init__(config)
      self.distinct_max_ngrams = config["distinct_max_ngrams"]
      self.inter_distinct = config["inter_distinct"]
  
imports: from collections import Counter
  from .abstract_evaluator import AbstractEvaluator
label_desc: Use image node_id 1 to create a new DistinctEvaluator object from inherited base classes: AbstractEvaluator with example: obj = DistinctEvaluator(config)