code: def _fmt(s: Union[int, float], word: str) -> str:
      s = int(s)
      if word in SHORTHAND_UNITS:
          return f"{s}{word}"
      if s == 1:
          return f"{s} {word}"
      return f"{s} {word}s"
  
imports: from typing import Union
label_desc: Use image node_id 1 for calling a global function with example usage: _fmt(s, word) and returns: s, str, word, str, s, word, s, str, word