Merge branch 'feature/project-cli' of https://github.com/explosion/spaCy into feature/project-cli

This commit is contained in:
Matthew Honnibal 2020-06-27 21:16:18 +02:00
commit 8e3baebdce
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ def evaluate(
data = {re.sub(r"[\s/]", "_", k.lower()): v for k, v in results.items()}
if output_path is not None:
srsly.write_json(output_path, data)
msg.good(f"Saved results to {output_path}")
return data