code: def _get_punct_translation_table():
      return dict.fromkeys(
          (
              i
              for i in range(sys.maxunicode)
              if unicodedata.category(chr(i)).startswith("P")
          ),
          " ",
      )
  
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 1 for calling a global function with example usage: _get_punct_translation_table() and returns: dict