From 6f75239397ca459385670d4967ed5d5db920317b Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Tue, 27 Jul 2021 18:07:51 +0200 Subject: [PATCH] spacy starting warning log --- jarvis/utils/nlp_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jarvis/utils/nlp_utils.py b/jarvis/utils/nlp_utils.py index 22986b3..83c4e00 100644 --- a/jarvis/utils/nlp_utils.py +++ b/jarvis/utils/nlp_utils.py @@ -9,6 +9,7 @@ def get_spacy_nlp(): global nlp if nlp is None: + print("A Spacy model is starting, it might take a few seconds (starts only once)") nlp = spacy.load(languages_utils.get_spacy_model()) return nlp