code: def get_sentence(words: List[str]) -> str:
      """
      Get sentence formed by a list of words with minor processing for readability
  
      Parameters
      ----------
      words:
          list of word-level tokens
  
      Returns
      ----------
      sentence:
          sentence formed by list of word-level tokens
  
      Examples
      --------
      >>> from cleanlab.internal.token_classification_utils import get_sentence
      >>> words = ["This", "is", "a", "sentence", "."]
      >>> get_sentence(words)
      'This is a sentence.'
      """
      sentence = ""
      for word in words:
          if word not in string.punctuation or word in ["-", "("]:
              word = " " + word
          sentence += word
      sentence = sentence.replace(" '", "'").replace("( ", "(").strip()
      return sentence
  
file_path: cleanlab/cleanlab/internal/token_classification_utils.py
imports: from __future__ import annotations
  import re
  import string
  import numpy
  from termcolor import colored
  from typing import List, Optional, Callable, Tuple, TypeVar, TYPE_CHECKING
label_desc: Use image node_id 1 for calling a global function with example usage: get_sentence(words) and returns: sentence