Parser of Referenzkorpus Althochdeutsch exports
Installation
$ pip install althochdeutsch
License
License of the software: MIT License
License of the data: CC BY-NC-SA 3.0
The Referenzkorpus Altdeutsch project is at the origin of annotations of the data.
Code usage
import os
from altdeutsch.reader import read_export
from altdeutsch import PACKDIR
hildebrandslied = read_export(os.path.join(PACKDIR, "tests", "data", "hildebrandslied.txt"))
print(hildebrandslied["tok"])
You have now the Hildebrandslied text!