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 word_in_sim_dic(self, word):
      if word in self.sim_dic:
          return self.sim_dic[word]
      else:
          return []
  
file_path: textflint/textflint/generation/transformation/UT/swap_syn_word_embedding.py
imports: from ...transformation import WordSubstitute
  from ....common.settings import EMBEDDING_PATH
  from ....common.utils.load import json_lines_loader
  from ....common.utils.install import download_if_needed
label_desc: Use image node_id 4 for calling the SwapSynWordEmbedding obj's underlying member method code with example usage: obj.word_in_sim_dic(word) and returns: self, list