NLP, Python, Spacy.
compare_labels(training[1024]) # fileid training/1158 :: expected = ['ipi'] // estimated = ('cpi', 0.39067542552948) compare_labels(training[2678]) # fileid training/2080 :: expected = ['acq'] // estimated = ('acq', 0.9778384566307068) compare_labels(testing[1024]) # fileid test/16630 :: expected =