code: def _bigpatent_remove_referenecs(text):
      """Remove references from description text."""
      text = _FIG_EXP1.sub(r"FIG\2 ", text)
      text = _FIG_EXP2.sub(r"FIG\2 ", text)
      text = _FIG_EXP3.sub(r"FIG\2 ", text)
      return text
  
imports: import json
  import os
  import re
  from etils import epath
  import tensorflow_datasets.public_api
label_desc: Use image node_id 4 for calling a global function with example usage: _bigpatent_remove_referenecs(text) and returns: text