code: def demo():
      print("-" * 75)
      reference = "DET NN VB DET JJ NN NN IN DET NN".split()
      test = "DET VB VB DET NN NN NN IN DET NN".split()
      print("Reference =", reference)
      print("Test    =", test)
      print("Accuracy:", accuracy(reference, test))
  
      print("-" * 75)
      reference_set = set(reference)
      test_set = set(test)
      print("Reference =", reference_set)
      print("Test =   ", test_set)
      print("Precision:", precision(reference_set, test_set))
      print("   Recall:", recall(reference_set, test_set))
      print("F-Measure:", f_measure(reference_set, test_set))
      print("-" * 75)
  
file_path: nltk/nltk/metrics/scores.py
imports: import operator
  from functools import reduce
  from math import fabs
  from random import shuffle
  from nltk.util import LazyConcatenation, LazyMap
label_desc: Use image node_id 7 for calling a global function with example usage: demo() without return types