unique file name fix
@@ -156,7 +156,7 @@ def eval_wordstat(opt, print_parser=None):
with open(opt['dump_predictions_path'], 'w') as f:
f.writelines(['{}\n'.format(i) for i in pred_list])
if opt['compute_unique'] is True:
- with open('unique_'+opt['dump_predictions_path'], 'w') as f:
+ with open(opt['dump_predictions_path']+'_unique', 'w') as f:
f.writelines(['{}\n'.format(i) for i in unique_list])
report = world.report()
