diff --git a/conversion_utils/conllu_to_tei.py b/conversion_utils/conllu_to_tei.py index 5915a79..8a9c46c 100644 --- a/conversion_utils/conllu_to_tei.py +++ b/conversion_utils/conllu_to_tei.py @@ -265,8 +265,6 @@ def convert_file(input_file_name, output_file_name): tree.write(output_file_name, pretty_print=True, encoding='utf-8') -system = 'jos' # default (TODO: make this cleaner) - if __name__ == '__main__': import argparse from glob import glob diff --git a/conversion_utils/tei_to_dictionary.py b/conversion_utils/tei_to_dictionary.py index 89992cb..1b58447 100644 --- a/conversion_utils/tei_to_dictionary.py +++ b/conversion_utils/tei_to_dictionary.py @@ -17,7 +17,6 @@ def convert(input_file_name, output_file_name): for parsed_unit in parsed_units: entry = lxml.SubElement(output_root, 'entry') - entry.set('sid', get_xml_id(parsed_unit)) head = lxml.SubElement(entry, 'head') headword = lxml.SubElement(head, 'headword') lemma_text = get_parsed_unit_string(parsed_unit)