code: def test_get_sentence():
      actual_sentences = list(map(get_sentence, words))
      assert actual_sentences == sentences
  
      # Test with allowed special characters
      words_separated_by_hyphen = ["Heading", "-", "Title"]
      assert (
          get_sentence(words_separated_by_hyphen) == "Heading - Title"
      )
  
      words_within_parentheses = [
          "Some",
          "reason",
          "(",
          "Explanation",
          ")",
      ]
      assert (
          get_sentence(words_within_parentheses)
          == "Some reason (Explanation)"
      )
  
imports: from cleanlab.internal.token_classification_utils import get_sentence, filter_sentence, process_token, mapping, merge_probs, color_sentence, _replace_sentence
  from cleanlab.token_classification.filter import find_label_issues
  from cleanlab.token_classification.rank import get_label_quality_scores, issues_from_scores, _softmin_sentence_score
  from cleanlab.token_classification.summary import display_issues, common_label_issues, filter_by_token
  import numpy
  import pandas
  import pytest
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_sentence() without return types