phucdev commited on
Commit
cf8a80d
1 Parent(s): c1d20c8

Add nltk punkt_tab download

Browse files
Files changed (1) hide show
  1. blanc_score.py +4 -0
blanc_score.py CHANGED
@@ -103,6 +103,10 @@ class BLANC(evaluate.Metric):
103
  ],
104
  )
105
 
 
 
 
 
106
  def _compute(
107
  self,
108
  documents,
 
103
  ],
104
  )
105
 
106
+ def _download_and_prepare(self, dl_manager):
107
+ import nltk
108
+ nltk.download("punkt_tab")
109
+
110
  def _compute(
111
  self,
112
  documents,