Program to read and evaluate TEI files. written in Python