class_docstr: Replace word with its synonym.
  
  Example::
  
      先生过奖了 -> 先生过誉了
class_docstr_tok: ["Replace","word","with","its","synonym",".","Example",":",":","\u5148\u751f\u8fc7\u5956\u4e86","-",">","\u5148\u751f\u8fc7\u8a89\u4e86"]
docstr: read data and make dictionary
  
  :param str path: the path of data
  :return dict: the dict of data
docstr_tok: ["read","data","and","make","dictionary",":","param","str","path",":","the","path","of","data",":","return","dict",":","the","dict","of","data"]
code: def make_dict(path):
      r"""
      read data and make dictionary
  
      :param str path: the path of data
      :return dict: the dict of data
  
      """
      dic = {}
      lines = plain_lines_loader(path)
      for line in lines:
          line = line.strip().split(" ")
          if line[0] not in dic:
              dic[line[0]] = []
          for word in line[1:]:
              if word not in dic[line[0]]:
                  dic[line[0]].append(word)
      return dic
  
file_path: textflint/textflint/generation/transformation/CWS/swap_syn.py
imports: from ..transformation import Transformation
  from ....common.settings import SYNONYM_PATH
  from ....common.utils.load import plain_lines_loader
  from ....common.utils.install import download_if_needed
  from ....common.utils.list_op import descartes
  import random
label_desc: Use image node_id 3 for calling the SwapSyn obj's underlying member method code with example usage: obj.make_dict(path) and returns: dic