mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-28 04:43:42 +03:00
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()}
|
data = {re.sub(r"[\s/]", "_", k.lower()): v for k, v in results.items()}
|
||||||
if output_path is not None:
|
if output_path is not None:
|
||||||
srsly.write_json(output_path, data)
|
srsly.write_json(output_path, data)
|
||||||
|
msg.good(f"Saved results to {output_path}")
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user