class_docstr: Transforms input by add punctuation at the end of sentence.
docstr: Get indices of punctuations at the end of tokens
  
  :param list tokens: word list
  :return list indices: indices list
docstr_tok: ["Get","indices","of","punctuations","at","the","end","of","tokens",":","param","list","tokens",":","word","list",":","return","list","indices",":","indices","list"]
code: def _get_punctuation_scope(tokens):
      r"""
      Get indices of punctuations at the end of tokens
  
      :param list tokens: word list
      :return list indices: indices list
  
      """
      indices = []
      for i in range(len(tokens) - 1, -1, -1):
          if tokens[i] in ["。", "，", "！", "？"]:
              indices.append(i)
          else:
              break
  
      indices.reverse()
  
      return indices
  
file_path: textflint/textflint/generation/transformation/UTCN/cn_punctuation.py
imports: from ..transformation import Transformation
label_desc: Use image node_id 4 for calling the CnPunctuation obj's underlying member method code with example usage: obj._get_punctuation_scope(tokens) and returns: indices