Added rudimentary module documentation and made a couple of basic fixes

This commit is contained in:
2023-10-26 17:13:54 +02:00
parent f28b5a3a01
commit 03ce9f8ac7
7 changed files with 43 additions and 12 deletions

View File

@@ -1,3 +1,13 @@
"""Parse source TEI specifications and save as a pickle.
You can use this script to create a new pickle file to replace the one stored at
../conversion_utils/resources/jos_specifications.pickle. The input file is expected to be a version
of https://github.com/clarinsi/mte-msd/blob/master/xml/msd-sl.spc.xml. However, the specifications
are not expected to change, and if they do, the package pickle there should be updated upstream, so
you probably should not have to use this script.
"""
import pickle
import argparse
from conversion_utils.jos_msds_and_properties import SpecificationsParser