如果我们可以使用棕色语料库训练UnigramTagger并在使用nltk.pos_tag标记的测试数据上评估相同的UnigramTagger,请告诉我。
如果是,我们如何解释准确性?
CODE SNIP
**data3 = []
for i in data:
data3.append(nltk.pos_tag(nltk.word_tokenize(i.lower())))
brown_tagged_sents = brown.tagged_sents(categories = ['news'])
unigram_tagger_brown = nltk.UnigramTagger(brown_tagged_sents)
accuracy_value = unigram_tagger_brown.evaluate(data3)
print("Unigram Tagger Accuracy for brown is ",accuracy_value)**