quyuan hai 1 ano
pai
achega
7560e1288b
Modificáronse 1 ficheiros con 2 adicións e 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: