code: def _build_width_map():
      """
      Build a translate mapping that replaces halfwidth and fullwidth forms
      with their standard-width forms.
      """
      # Though it's not listed as a fullwidth character, we'll want to convert
      # U+3000 IDEOGRAPHIC SPACE to U+20 SPACE on the same principle, so start
      # with that in the dictionary.
      width_map = {0x3000: " "}
      for i in range(0xFF01, 0xFFF0):
          char = chr(i)
          alternate = unicodedata.normalize("NFKC", char)
          if alternate != char:
              width_map[i] = alternate
      return width_map
  
file_path: python-ftfy/ftfy/chardata.py
imports: from __future__ import annotations
  import html
  import itertools
  import re
  import unicodedata
label_desc: Use image node_id 5 for calling a global function with example usage: _build_width_map() and returns: width_map