chg: [SentimentAnalysis] clean

pull/486/head
Terrtia 2020-02-10 11:06:39 +01:00
parent 4097d95237
commit f950e700bd
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ def Analyse(message, server):
try:
sentences = tokenize.sent_tokenize(p_content)
except Exception as e:
except:
# use the NLTK Downloader to obtain the resource
download('punkt')
sentences = tokenize.sent_tokenize(p_content)