nilsreiter / iaa

command line stuff to calculate inter annotator agreement

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inter-Annotator-Agreement

This repository contains code to calculate inter-annotator-agreement (Fleiss' Kappa at the moment) on the command line using awk.

Fleiss' Kappa

Calculates Fleiss' kappa

$ awk -f kappa.awk FILENAME

Testing

$ awk -f kappa.awk test.csv
0.209931

test.csv contains the same data as on the Wikipedia page as an example.

Accuracy

$ awk -f accuracy.awk FILENAME

Testing

$ awk -f accuracy.awk test-accuracy.tsv
0.528571

About

command line stuff to calculate inter annotator agreement


Languages

Language:Awk 56.1%Language:Perl 43.9%