class_docstr: Transforms an input by replacing its words by Glove.
  Offline Vocabulary contains top 17433 common words and its top 20 synonym.
class_docstr_tok: ["Transforms","an","input","by","replacing","its","words","by","Glove",".","Offline","Vocabulary","contains","top","17433","common","words","and","its","top","20","synonym","."]
code: def __init__(
      self,
      trans_min=1,
      trans_max=10,
      trans_p=0.1,
      stop_words=None,
      islist=False,
      **kwargs,
  ):
      super().__init__(
          trans_min=trans_min,
          trans_max=trans_max,
          trans_p=trans_p,
          stop_words=stop_words,
      )
      self.get_pos = True
      self.islist = islist
      self.sim_dic = json_lines_loader(
          download_if_needed(CN_EMBEDDING_PATH)
      )[0]
  
file_path: textflint/textflint/generation/transformation/UTCN/cn_wordEmbedding.py
imports: from ...transformation import CnWordSubstitute
  from ....common.settings import CN_EMBEDDING_PATH
  from ....common.utils.load import json_lines_loader
  from ....common.utils.install import download_if_needed
label_desc: Use image node_id 1 to create a new CnSwapSynWordEmbedding object from inherited base classes: CnWordSubstitute with example: obj = CnSwapSynWordEmbedding(trans_min, trans_max, trans_p, stop_words, islist)