class_docstr: Macronize Latin words.
  
  Macronize text by using the POS tag to find the macronized form within the
  Morpheus database.
docstr: Return macronized word.
  
  :param word: (word, tag)
  
  :return: (word, tag, macronized_form)
docstr_tok: ["Return","macronized","word",".",":","param","word",":","(","word",",","tag",")",":","return",":","(","word",",","tag",",","macronized_form",")"]
code: def _macronize_word(
      self, word: Tuple[str, str]
  ) -> Tuple[str, str, str]:
      """Return macronized word.
  
      :param word: (word, tag)
  
      :return: (word, tag, macronized_form)
      """
      head_word = word[0]
      tag = word[1]
      if tag is None:
          logger.info(
              "Tagger {} could not tag {}.".format(
                  self.tagger, head_word
              )
          )
          return head_word, tag, head_word
      elif tag == "U--------":
          return (head_word, tag.lower(), head_word)
      else:
          entries = self._retrieve_morpheus_entry(head_word)
          if entries is None:
              return head_word, tag.lower(), head_word
          matched_entry = [
              entry for entry in entries if entry[0] == tag.lower()
          ]
          if len(matched_entry) == 0:
              logger.info(
                  "No matching Morpheus entry found for {}.".format(
                      head_word
                  )
              )
              return head_word, tag.lower(), entries[0][2]
          elif len(matched_entry) == 1:
              return head_word, tag.lower(), matched_entry[0][2].lower()
          else:
              logger.info(
                  "Multiple matching entries found for {}.".format(
                      head_word
                  )
              )
              return head_word, tag.lower(), matched_entry[1][2].lower()
  
file_path: cltk/src/cltk/prosody/lat/macronizer.py
imports: import importlib.machinery
  import os
  from typing import List, Tuple
  from cltk.core.cltk_logger import logger
  from cltk.tag.pos import POSTag
  from cltk.utils import CLTK_DATA_DIR
label_desc: Use image node_id 5 for calling the Macronizer obj's underlying member method code with example usage: obj._macronize_word(word) and returns: head_word,  tag,  head_word, head_word,  tag,  head_word, head_word,  tag,  head_word, head_word,  tag,  entries, head_word,  tag,  matched_entry, head_word,  tag,  matched_entry