From ca9199497590dc0e8672101b9978e0bd265e3e7c Mon Sep 17 00:00:00 2001 From: Mathieu B Date: Tue, 27 Jul 2021 16:28:28 +0200 Subject: [PATCH] removed test print --- ia/nltk_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ia/nltk_utils.py b/ia/nltk_utils.py index ecfa341..cf344db 100644 --- a/ia/nltk_utils.py +++ b/ia/nltk_utils.py @@ -2,7 +2,7 @@ import nltk import numpy as np from nltk.stem.porter import PorterStemmer -from utils import config_utils, languages_utils +from utils import languages_utils stemmer = PorterStemmer() @@ -17,7 +17,6 @@ def tokenize(sentence): # English, Danish, Estonian, French, Greek, Norwegian, Portuguese, Spanish, Turkish, # Czech, Dutch, Finnish, German, Italian, Polish, Slovene, and Swedish - print(languages_utils.get_language_full_name()) return nltk.word_tokenize(sentence, language=languages_utils.get_language_full_name())