class_docstr: Transformation that simulate typos error to transform sentence.
  
  https://arxiv.org/pdf/1711.02173.pdf
class_docstr_tok: ["Transformation","that","simulate","typos","error","to","transform","sentence",".","https",":","\/\/arxiv.org\/pdf\/1711.02173.pdf"]
code: def _get_typo_method(self):
      if self._mode == "replace":
          return replace
      elif self._mode == "swap":
          return swap
      elif self._mode == "insert":
          return insert
      elif self._mode == "delete":
          return delete
      else:
          return random.choice([replace, swap, insert, delete])
  
file_path: textflint/textflint/generation/transformation/UT/typos.py
imports: from ...transformation import WordSubstitute
  from ....common.utils.word_op import *
label_desc: Use image node_id 7 for calling the Typos obj's underlying member method code with example usage: obj._get_typo_method() and returns: replace, swap, insert, delete, random