Spaces:
Runtime error
Runtime error
Update Space (evaluate main: b3f3c02c)
Browse files- meteor.py +3 -1
- requirements.txt +1 -1
meteor.py
CHANGED
@@ -120,7 +120,9 @@ class Meteor(evaluate.Metric):
|
|
120 |
import nltk
|
121 |
|
122 |
nltk.download("wordnet")
|
123 |
-
if NLTK_VERSION >= version.Version("3.
|
|
|
|
|
124 |
nltk.download("punkt")
|
125 |
if NLTK_VERSION >= version.Version("3.6.6"):
|
126 |
nltk.download("omw-1.4")
|
|
|
120 |
import nltk
|
121 |
|
122 |
nltk.download("wordnet")
|
123 |
+
if NLTK_VERSION >= version.Version("3.9.0"):
|
124 |
+
nltk.download("punkt_tab")
|
125 |
+
elif NLTK_VERSION >= version.Version("3.6.5"):
|
126 |
nltk.download("punkt")
|
127 |
if NLTK_VERSION >= version.Version("3.6.6"):
|
128 |
nltk.download("omw-1.4")
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
git+https://github.com/huggingface/evaluate@
|
2 |
nltk
|
|
|
1 |
+
git+https://github.com/huggingface/evaluate@b3f3c02ce2d972bc0e59e346b3318ca2f537e060
|
2 |
nltk
|