code: def demo():
      string_distance_examples = [
          ("rain", "shine"),
          ("abcdef", "acbdef"),
          ("language", "lnaguaeg"),
          ("language", "lnaugage"),
          ("language", "lngauage"),
      ]
      for s1, s2 in string_distance_examples:
          print(
              f"Edit distance btwn '{s1}' and '{s2}':",
              edit_distance(s1, s2),
          )
          print(
              f"Edit dist with transpositions btwn '{s1}' and '{s2}':",
              edit_distance(s1, s2, transpositions=True),
          )
          print(
              f"Jaro similarity btwn '{s1}' and '{s2}':",
              jaro_similarity(s1, s2),
          )
          print(
              f"Jaro-Winkler similarity btwn '{s1}' and '{s2}':",
              jaro_winkler_similarity(s1, s2),
          )
          print(
              f"Jaro-Winkler distance btwn '{s1}' and '{s2}':",
              1 - jaro_winkler_similarity(s1, s2),
          )
      s1 = {1, 2, 3, 4}
      s2 = {3, 4, 5}
      print("s1:", s1)
      print("s2:", s2)
      print("Binary distance:", binary_distance(s1, s2))
      print("Jaccard distance:", jaccard_distance(s1, s2))
      print("MASI distance:", masi_distance(s1, s2))
  
file_path: nltk/nltk/metrics/distance.py
imports: import operator
  import warnings
label_desc: Use image node_id 16 for calling a global function with example usage: demo() without return types