From 0bd7c095e332f155faa8779bad6ea66979d0c985 Mon Sep 17 00:00:00 2001 From: Peter Baumgartner <5107405+pmbaumgartner@users.noreply.github.com> Date: Wed, 31 Aug 2022 14:06:13 -0400 Subject: [PATCH] rm ipython embeds --- spacy/cli/debug_data.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/spacy/cli/debug_data.py b/spacy/cli/debug_data.py index 0817d88a7..a1ffa232d 100644 --- a/spacy/cli/debug_data.py +++ b/spacy/cli/debug_data.py @@ -684,9 +684,6 @@ def debug_data( # values in the component. model_labels = _get_labels_from_trainable_lemmatizer(nlp) - # from IPython import embed - - # embed() msg.info( f"{len(label_list)} label(s) in train data (created from trees.add and trees.tree_to_str)" ) @@ -1019,10 +1016,6 @@ def _get_labels_from_trainable_lemmatizer(nlp: Language) -> Set[str]: pipe = nlp.get_pipe(pipe_name) for tree_id in range(len(pipe.trees)): labels.add(pipe.trees.tree_to_str(tree_id)) - print("Component Len", len(pipe.trees)) - # from IPython import embed - - # embed() return labels