class_docstr: Transforms an input by Reverse gender or place names in sentences.
class_docstr_tok: ["Transforms","an","input","by","Reverse","gender","or","place","names","in","sentences","."]
code: def get_word(path, prejudice_tendency):
      res = {}
      # Get the personal pronouns that need to be replaced
      flag = 1 if prejudice_tendency == "man" else 0
      for line in plain_lines_loader(path):
          line = line.split(" ")
          res[line[flag]] = line[1 - flag]
          res[line[flag].upper()] = line[1 - flag].upper()
          res[line[flag].title()] = line[1 - flag].title()
      return res
  
file_path: textflint/textflint/generation/transformation/UT/prejudice.py
imports: import random
  from ..transformation import Transformation
  from ....common.utils.file_io import read_json
  from ....common.utils.list_op import descartes
  from ....common.utils.load import plain_lines_loader
  from ....common.utils.install import download_if_needed
  from ....common.settings import PREJUDICE_PATH, PREJUDICE_WORD_PATH, PREJUDICE_LOC_PATH, PREJUDICE_LOC2IDX
label_desc: Use image node_id 5 for calling the Prejudice obj's underlying member method code with example usage: obj.get_word(path, prejudice_tendency) and returns: res