From c53d57a54e2e9ec2c366c87ffbe757fd0ddc1839 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner <5107405+pmbaumgartner@users.noreply.github.com> Date: Thu, 1 Dec 2022 14:01:10 -0500 Subject: [PATCH] fix reference dataset for dev data --- spacy/cli/debug_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/cli/debug_data.py b/spacy/cli/debug_data.py index 8bbce603a..d02b3ac0d 100644 --- a/spacy/cli/debug_data.py +++ b/spacy/cli/debug_data.py @@ -698,7 +698,7 @@ def debug_data( else: msg.good("All training docs meet lemma uniqueness requirements.") - if gold_train_data["n_low_cardinality_lemmas"] > 0: + if gold_dev_data["n_low_cardinality_lemmas"] > 0: msg.warn( f"{gold_dev_data['n_low_cardinality_lemmas']} docs with 1 or 0 unique lemmas." )