

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_set)
    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))

dataset/ETHPy150Open nltk/nltk/nltk/metrics/scores.py demo/VarMisuse@38/88 `reference`->`reference_set`