danf0 commited on
Commit
f41a5ce
1 Parent(s): c3f0353

Download punkt

Browse files
Files changed (1) hide show
  1. vendiscore.py +3 -2
vendiscore.py CHANGED
@@ -93,8 +93,9 @@ class VendiScore(evaluate.Metric):
93
  )
94
 
95
  def _download_and_prepare(self, dl_manager):
96
- """Optional: download external resources useful to compute the scores"""
97
- pass
 
98
 
99
  def _compute(
100
  self,
 
93
  )
94
 
95
  def _download_and_prepare(self, dl_manager):
96
+ import nltk
97
+
98
+ nltk.download("punkt")
99
 
100
  def _compute(
101
  self,