code: def _escape(value: str) -> str:
      return (
          value.replace("\t", "\\t")
          .replace("\n", "\\n")
          .replace("|", "__PIPE__")
      )
  
file_path: ParlAI/parlai/tasks/blended_skill_talk/build.py
imports: import json
  import os
  from parlai.core import build_data
  from parlai.utils.io import PathManager
label_desc: Use image node_id 4 for calling a global function with example usage: _escape(value) and returns: value