nltk.tbl.erroranalysis module

nltk.tbl.erroranalysis.error_list(train_sents, test_sents)[source]

Returns a list of human-readable strings indicating the errors in the given tagging of the corpus.

Parameters:
  • train_sents (list(tuple)) – The correct tagging of the corpus

  • test_sents (list(tuple)) – The tagged corpus