code: def apply_plan(text, plan):
      """
      Deprecated copy of `ftfy.apply_plan()`.
      """
      warnings.warn(
          "`apply_plan()` has moved to the main module of ftfy.",
          DeprecationWarning,
      )
      return ftfy.apply_plan(text, plan)
  
imports: import codecs
  import html
  import re
  import warnings
  import ftfy
  from ftfy.chardata import ALTERED_UTF8_RE, C1_CONTROL_RE, CONTROL_CHARS, DOUBLE_QUOTE_RE, HTML_ENTITIES, HTML_ENTITY_RE, LIGATURES, LOSSY_UTF8_RE, SINGLE_QUOTE_RE, UTF8_DETECTOR_RE, WIDTH_MAP
  from ftfy.badness import is_bad
label_desc: Use image node_id 3 for calling a global function with example usage: apply_plan(text, plan) and returns: ftfy