Redmine #1461: switched from luscenje_struktur to cordex
This commit is contained in:
@@ -3,7 +3,6 @@ import argparse
|
||||
from structure_assignment.pipeline import Runner
|
||||
|
||||
classla_directory = '../resources/classla'
|
||||
wani_file_name = '../resources/wani.py' # TODO: remove once luscenje_struktur incorporates wani in package
|
||||
|
||||
if (__name__ == '__main__'):
|
||||
|
||||
@@ -22,7 +21,7 @@ if (__name__ == '__main__'):
|
||||
output_structure_file_name = arguments.outstructs
|
||||
|
||||
nlp_needed = mode in {'strings_to_parse', 'strings_to_dictionary', 'all'}
|
||||
runner = Runner(nlp_needed, classla_directory, wani_file_name)
|
||||
runner = Runner(nlp_needed, classla_directory)
|
||||
if (mode == 'strings_to_parse'):
|
||||
runner.strings_to_parse(input_file_name, output_file_name)
|
||||
elif (mode == 'strings_to_dictionary'):
|
||||
|
||||
Reference in New Issue
Block a user