class_docstr: Result of an Attack run on a single (output, text_input) pair.
  
  Args:
      original_result (:class:`~textattack.goal_function_results.GoalFunctionResult`):
          Result of the goal function applied to the original text
      perturbed_result (:class:`~textattack.goal_function_results.GoalFunctionResult`):
          Result of the goal function applied to the perturbed text. May or may not have been successful.
class_docstr_tok: ["Result","of","an","Attack","run","on","a","single","(","output",",","text_input",")","pair",".","Args",":","original_result","(",":","class",":","`","~textattack.goal_function_results.GoalFunctionResult","`",")",":","Result","of","the","goal","function","applied","to","the","original","text","perturbed_result","(",":","class",":","`","~textattack.goal_function_results.GoalFunctionResult","`",")",":","Result","of","the","goal","function","applied","to","the","perturbed","text",".","May","or","may","not","have","been","successful","."]
docstr: Returns the text portion of `self.original_result`.
  
  Helper method.
docstr_tok: ["Returns","the","text","portion","of","`","self.original_result","`",".","Helper","method","."]
code: def original_text(self, color_method=None):
      """Returns the text portion of `self.original_result`.
  
      Helper method.
      """
      return self.original_result.attacked_text.printable_text(
          key_color=("bold", "underline"), key_color_method=color_method
      )
  
file_path: TextAttack/textattack/attack_results/attack_result.py
imports: from abc import ABC
  from langdetect import detect
  from textattack.goal_function_results import GoalFunctionResult
  from textattack.shared import utils
label_desc: Use image node_id 2 for calling the AttackResult obj's underlying member method code with example usage: obj.original_text(color_method) and returns: self