shounakpaul95 commited on
Commit
ed09eac
1 Parent(s): a741b42

Update eval_utils.py

Browse files
Files changed (1) hide show
  1. eval_utils.py +1 -0
eval_utils.py CHANGED
@@ -363,6 +363,7 @@ def main():
363
  elif task == "pcr":
364
  evaluation_results[task] = evaluate_pcr(gold_data[task], pred_data[task])
365
  elif task == "summ":
 
366
  evaluation_results[task] = evaluate_summ(gold_data[task], pred_data[task])
367
  elif task == "lmt":
368
  evaluation_results[task] = evaluate_lmt(gold_data[task], pred_data[task])
 
363
  elif task == "pcr":
364
  evaluation_results[task] = evaluate_pcr(gold_data[task], pred_data[task])
365
  elif task == "summ":
366
+ nltk.download('punkt')
367
  evaluation_results[task] = evaluate_summ(gold_data[task], pred_data[task])
368
  elif task == "lmt":
369
  evaluation_results[task] = evaluate_lmt(gold_data[task], pred_data[task])