mirror of https://github.com/explosion/spaCy.git
Merge branch 'feature/project-cli' of https://github.com/explosion/spaCy into feature/project-cli
This commit is contained in:
commit
8e3baebdce
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue