Skip to content

Commit 4673ae1

Browse files
fineguyThe TensorFlow Datasets Authors
authored andcommitted
Fix nltk version for c4 dataset.
PiperOrigin-RevId: 662489882
1 parent 77f2b14 commit 4673ae1

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

setup.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,14 @@
155155
'aflw2k3d': ['scipy'],
156156
'beir': ['apache-beam'],
157157
'ble_wind_field': ['gcsfs', 'zarr'],
158-
'c4': ['apache-beam', 'gcld3', 'langdetect', 'nltk', 'tldextract'],
158+
'c4': [
159+
'apache-beam',
160+
'gcld3',
161+
'langdetect',
162+
# nltk==3.8.2 is broken: https://github.com/nltk/nltk/issues/3293
163+
'nltk==3.8.1',
164+
'tldextract',
165+
],
159166
'c4_wsrs': ['apache-beam'],
160167
'cats_vs_dogs': ['matplotlib'],
161168
'colorectal_histology': ['Pillow'],

0 commit comments

Comments
 (0)