code: def get_words(lexicon: Lexicon) -> List[str]:
      """Get words from a lexicon.
      Args:
        lexicon:
          It is the return value of :func:`read_lexicon`.
      Returns:
        Return a list of unique words.
      """
      ans = set()
      for word, _ in lexicon:
          ans.add(word)
      sorted_ans = sorted(list(ans))
      return sorted_ans
  
file_path: espnet/egs2/lt_slurp_spatialized/enh1/pyscripts/k2/prepare_lang.py
imports: import argparse
  import math
  from collections import defaultdict
  from pathlib import Path
  from typing import Any, Dict, List, Tuple
  import k2
  import torch
  from icefall.lexicon import read_lexicon, write_lexicon
  from espnet2.utils.types import str2bool
label_desc: Use image node_id 4 for calling a global function with example usage: get_words(lexicon) and returns: sorted_ans