From f1d1f78636059abcbd680cd283d643c11310df30 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sun, 4 Oct 2020 22:44:21 +0200 Subject: [PATCH] Make warning debug log [ci skip] --- spacy/tokens/doc.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/tokens/doc.pyx b/spacy/tokens/doc.pyx index 3404274ce..0499dc4a7 100644 --- a/spacy/tokens/doc.pyx +++ b/spacy/tokens/doc.pyx @@ -1528,7 +1528,7 @@ cdef int set_children_from_heads(TokenC* tokens, int start, int end) except -1: while not heads_within_sents: heads_within_sents = _set_lr_kids_and_edges(tokens, start, end, loop_count) if loop_count > 10: - warnings.warn(Warnings.W026) + util.logger.debug(Warnings.W026) break loop_count += 1 # Set sentence starts