class_docstr: Transforms an input by replacing its numbers.
docstr: Returns a list containing all possible words .
  
  :param str word: token word to transform.
  :param str pos: pos tag
  :param int n: max number of candidates
  :return list candidates: candidates list
docstr_tok: ["Returns","a","list","containing","all","possible","words",".",":","param","str","word",":","token","word","to","transform",".",":","param","str","pos",":","pos","tag",":","param","int","n",":","max","number","of","candidates",":","return","list","candidates",":","candidates","list"]
code: def _get_candidates(self, word, pos=None, n=1):
      r"""
      Returns a list containing all possible words .
  
      :param str word: token word to transform.
      :param str pos: pos tag
      :param int n: max number of candidates
      :return list candidates: candidates list
  
      """
      n = max(n, 1)
      candidates = []
  
      if word.isdigit() and int(word) >= 0 and int(word) <= 9999:
          number = int(word)
          candidates.append(self.num_to_char(number))
  
      return candidates
  
file_path: textflint/textflint/generation/transformation/UTCN/cn_digit2char.py
imports: from ...transformation import CnWordSubstitute
label_desc: Use image node_id 3 for calling the CnDigit2Char obj's underlying member method code with example usage: obj._get_candidates(word, pos, n) and returns: candidates