class_docstr: Base class for BLEU & NIST, providing tokenization and some basic n-gram matching
  functions.
docstr: Create the scoring object.
  @param max_ngram: the n-gram level to compute the score for
  @param case_sensitive: use case-sensitive matching?
docstr_tok: ["Create","the","scoring","object",".","@","param","max_ngram",":","the","n-gram","level","to","compute","the","score","for","@","param","case_sensitive",":","use","case-sensitive","matching","?"]
code: def __init__(self, max_ngram, case_sensitive):
      """Create the scoring object.
      @param max_ngram: the n-gram level to compute the score for
      @param case_sensitive: use case-sensitive matching?
      """
      self.max_ngram = max_ngram
      self.case_sensitive = case_sensitive
  
imports: from __future__ import unicode_literals
  from __future__ import division
  from builtins import zip
  from builtins import range
  from past.utils import old_div
  from builtins import object
  from collections import defaultdict
  import math
  import re
label_desc: Use image node_id 1 to create a new NGramScore object from inherited base classes: object with example: obj = NGramScore(max_ngram, case_sensitive)