code: def load_hyphenator(lang: str):
      """
      Load an object that hyphenates words at valid points, as used in LaTex typesetting.
  
      Args:
          lang: Standard 2-letter language abbreviation. To get a list of valid values::
  
              >>> import pyphen; pyphen.LANGUAGES
  
      Returns:
          :class:`pyphen.Pyphen()`
      """
      LOGGER.debug("loading '%s' language hyphenator", lang)
      return pyphen.Pyphen(lang=lang)
  
file_path: textacy/src/textacy/text_stats/utils.py
imports: import functools
  import logging
  from typing import Iterable
  import pyphen
  from cachetools import cached
  from cachetools.keys import hashkey
  from spacy.tokens import Token
  from toolz import itertoolz
  from ..None import cache, types
label_desc: Use image node_id 3 for calling a global function with example usage: load_hyphenator(lang) and returns: pyphen