mirror of https://github.com/explosion/spaCy.git
Add success message
This commit is contained in:
parent
42eb381ec6
commit
e33d2b1bea
|
@ -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