diff --git a/jarvis/main.py b/jarvis/main.py index db3fbda..8df9118 100644 --- a/jarvis/main.py +++ b/jarvis/main.py @@ -25,7 +25,7 @@ def process_request(): if __name__ == '__main__': # Load lingua franca in the memory # Supported : English French German Hungarian Italian Portuguese Swedish - lingua_franca.load_language(lang=languages_utils.get_language().split("-")[0]) + lingua_franca.load_language(lang=languages_utils.get_language_only_country()) # Tests WikipediaSkill().register() @@ -34,9 +34,7 @@ if __name__ == '__main__': intent_manager.load_all_skills() - intent_manager.recognise("cherche sur wikipédia Elon Musk") # TO CHECK - intent_manager.recognise("c'est qui Elon Musk") # TO CHECK - intent_manager.recognise("cherche Elon Musk sur wikipédia") # TO CHECK + # intent_manager.recognise("cherche Elon Musk sur wikipédia") # TO CHECK # intent_manager.recognise("raconte moi une blague") # WORKING # intent_manager.recognise("joue le morceau crazy crazy nights de KISS sur spotify") # WORKING # intent_manager.recognise("coupe la musique") # WORKING