- class nltk.test.unit.test_disagreement.TestDisagreement¶
Class containing unit tests for nltk.metrics.agreement.Disagreement.
Simple test, based on https://github.com/foolswood/krippendorffs_alpha/raw/master/krippendorff.pdf.
Same simple test with 1 rating removed. Removal of that rating should not matter: K-Apha ignores items with only 1 rating.
More advanced test, based on http://www.agreestat.com/research_papers/onkrippendorffalpha.pdf
Same more advanced example, but with 1 rating removed. Again, removal of that 1 rating should not matter.