Modified error signal + Fixed no_stat

This commit is contained in:
Luka 2020-10-09 20:13:37 +02:00
parent 06435aa3a2
commit 09c4277ebe
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ def file_sentence_generator(et, skip_id_check, do_msd_translate, pc_tag):
if lfrom in words:
if not skip_id_check and is_root_id(lfrom):
logging.error("NOO: {}".format(lfrom))
logging.error("Id {} is not fine, you might want to try with tag --skip-id-check".format(lfrom))
sys.exit(1)
if dest in words:

View File

@ -106,7 +106,7 @@ class SyntacticStructure:
def build_structures(args):
filename = args.structures
no_stats = args.out is None or args.stats is None
no_stats = args.out is None and args.stats is None
max_num_components = -1
with open(filename, 'r') as fp: