I am using Python NLTK to create annotated corpora. After POS tagging a text with NLTK I wish to create a corpus in TEI, i.e. I would follow the practice described in the Linguistic Annotation chapter of the Guidelines. I am wondering if anyone has experience
in the transformation of NLTK output into valid TEI XML files.