code: def __getattr__(name: str) -> Any:
      if name == "PUNCT_TRANSLATION_TABLE":
          return _get_punct_translation_table()
      else:
          raise AttributeError(
              f"module {__name__!r} has no attribute {name!r}"
          )
  
file_path: textacy/src/textacy/preprocessing/resources.py
imports: import functools
  import html.parser
  import re
  import sys
  import unicodedata
  from typing import Any, Pattern
label_desc: Use image node_id 2 for calling a global function with example usage: __getattr__(name) and returns: _get_punct_translation_table