quyuan hace 1 año
padre
commit
7560e1288b
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      tests/test_cli/lib/calculate_score.py

+ 2 - 0
tests/test_cli/lib/calculate_score.py

@@ -7,6 +7,8 @@ import json
 from lib import scoring
 from nltk.translate.bleu_score import sentence_bleu, SmoothingFunction
 from nltk.tokenize import word_tokenize
+import nltk
+nltk.download('punkt')
 from Levenshtein import distance
 
 class Scoring: