Added analyze_type form

This commit is contained in:
Luka 2019-08-29 09:26:34 +02:00
parent b444df2d54
commit c59f96d006

View File

@ -128,7 +128,7 @@ def main():
# set filters # set filters
assert config.get('settings', 'analyze_type') in ['deprel', 'lemma', 'upos', 'upos', 'xpos'], '"analyze_type" is not set up correctly' assert config.get('settings', 'analyze_type') in ['deprel', 'lemma', 'upos', 'upos', 'xpos', 'form'], '"analyze_type" is not set up correctly'
if config.get('settings', 'analyze_type') == 'deprel': if config.get('settings', 'analyze_type') == 'deprel':
create_output_string_funct = create_output_string_deprel create_output_string_funct = create_output_string_deprel
elif config.get('settings', 'analyze_type') == 'lemma': elif config.get('settings', 'analyze_type') == 'lemma':