Restricted JOS translation in pipeline to MSDs due to classla changes

master
Cyprian Laskowski 7 months ago
parent cc82cc28e1
commit 603b53b863

@ -1,4 +1,4 @@
lxml>=4.9
classla>=2.1
conversion-utils @ git+https://gitea.cjvt.si/generic/conversion_utils@89be60310380339f97ccd2feee65d5d69859e7f9
conversion-utils @ git+https://gitea.cjvt.si/generic/conversion_utils@f28b5a3a01e18830d4ce478843f292666205db1f
cordex @ git+https://github.com/clarinsi/cordex@65c8fee54a63b485dbe8ef62e4586dd7fdd89f5f

@ -9,7 +9,7 @@ setup(name='structure_assignment',
packages=['structure_assignment'],
install_requires=['lxml>=4.9',
'classla>=2.1',
'conversion_utils @ git+https://gitea.cjvt.si/generic/conversion_utils@89be60310380339f97ccd2feee65d5d69859e7f9',
'conversion_utils @ git+https://gitea.cjvt.si/generic/conversion_utils@f28b5a3a01e18830d4ce478843f292666205db1f',
'cordex @ git+https://github.com/clarinsi/cordex.git@65c8fee54a63b485dbe8ef62e4586dd7fdd89f5f',
],
zip_safe=True)

@ -189,8 +189,9 @@ class Pipeline:
def do_translate_jos(self):
print('Translating JOS ...')
input_file_name = self.file_map['classla-parsed']
scope = 'msd'
output_file_name = self.file_map['classla-translated']
translate_jos(input_file_name, output_file_name)
translate_jos(input_file_name, scope, output_file_name)
def do_conllu_to_tei(self):
print('Converting to TEI ...')

Loading…
Cancel
Save