quyuan 1 anno fa
parent
commit
7560e1288b
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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: