Spaces:
Sleeping
Sleeping
Add nltk punkt_tab download
Browse files- 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,
|