We created a sample program for analyzing TEI/XML files with Python.

You can use it from the following Google Colab notebook:

image

We hope this serves as a useful reference for those considering the utilization of TEI data.