Spaces:
Running
Running
shounakpaul95
commited on
Commit
•
74b3358
1
Parent(s):
afc5436
Update eval_utils.py
Browse files- eval_utils.py +1 -0
eval_utils.py
CHANGED
@@ -423,6 +423,7 @@ def get_evaluation_scores(gold_data, submission_data):
|
|
423 |
gold_data[task], submission_data[task]
|
424 |
)
|
425 |
elif task == "cjpe":
|
|
|
426 |
evaluation_results.update(
|
427 |
evaluate_cjpe(gold_data[task], submission_data[task])
|
428 |
)
|
|
|
423 |
gold_data[task], submission_data[task]
|
424 |
)
|
425 |
elif task == "cjpe":
|
426 |
+
nltk.download('punkt')
|
427 |
evaluation_results.update(
|
428 |
evaluate_cjpe(gold_data[task], submission_data[task])
|
429 |
)
|