class_docstr: Replace word with reduplication such as AABB or ABAB.
  
  Example::
  
      朦胧的月色 -> 朦朦胧胧的月色
docstr: Reduplication change function.
  
  :param list words: chinese sentence words
  :return list: three list include the pos which changed the word which
      changed and the label which changed
code: def _get_transformations(self, words):
      r"""
      Reduplication change function.
  
      :param list words: chinese sentence words
      :return list: three list include the pos which changed the word which
          changed and the label which changed
  
      """
  
      change_pos = []
      change_sentence = []
      change_label = []
      start = 0
  
      for word in words:
          # get every the word
          # find the word in AABB dictionary
          if len(word) == 2:
              if word in self.AABB_list:
                  # pos_tag[start:start + 2] == ['v', 'v']
                  change_pos.append([start, start + 2])
                  change_sentence.append(
                      word[0] + word[0] + word[1] + word[1]
                  )
                  change_label.append(["B", "M", "M", "E"])
              # find ABAB word
              elif word in self.ABAB_list:
                  # pos_tag[start:start + 2] == ['v', 'v']
                  change_pos.append([start, start + 2])
                  change_sentence.append(word + word)
                  change_label.append(["B", "M", "M", "E"])
          start += len(word)
  
      return change_pos, change_sentence, change_label
  
file_path: textflint/textflint/generation/transformation/CWS/reduplication.py
imports: from ..transformation import Transformation
  from ....common.settings import AABB_PATH, ABAB_PATH
  from ....common.utils.load import plain_lines_loader
  from ....common.utils.install import download_if_needed
label_desc: Use image node_id 4 for calling the Reduplication obj's underlying member method code with example usage: obj._get_transformations(words) and returns: change_pos,  change_sentence,  change_label