From d216760ceceb1a82c3d44486713844dd599f72da Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Thu, 29 Jul 2021 23:29:02 +0200 Subject: [PATCH] Fixed grammar and debug lines --- jarvis/skills/intent_manager.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jarvis/skills/intent_manager.py b/jarvis/skills/intent_manager.py index a9b0a5c..0ebec99 100644 --- a/jarvis/skills/intent_manager.py +++ b/jarvis/skills/intent_manager.py @@ -75,6 +75,7 @@ def recognise(sentence): if len(intents_handlers_padatious) > 0: result = padatious_intents_container.calc_intent(sentence) # print(result) # DEBUG + # print(padatious_intents_container.calc_intents(sentence)) # DEBUG if result.conf >= 0.2: data = dict() @@ -86,4 +87,4 @@ def recognise(sentence): data.update(result.matches) # adding the matches from padatious to the data handle(result.name, data) else: - print("No match... (Padatious") + print("No match... (Padatious)")