Fix text_features typo
#1
by
albertvillanova
HF staff
- opened
- n2c2_2018_track1.py +2 -2
n2c2_2018_track1.py
CHANGED
@@ -41,7 +41,7 @@ from typing import List
|
|
41 |
import datasets
|
42 |
from lxml import etree
|
43 |
|
44 |
-
from .bigbiohub import
|
45 |
from .bigbiohub import BigBioConfig
|
46 |
from .bigbiohub import Tasks
|
47 |
|
@@ -223,7 +223,7 @@ class N2C22018CohortSelectionDataset(datasets.GeneratorBasedBuilder):
|
|
223 |
)
|
224 |
|
225 |
elif self.config.schema == BIGBIO_TEXT:
|
226 |
-
features =
|
227 |
|
228 |
return datasets.DatasetInfo(
|
229 |
description=_DESCRIPTION,
|
|
|
41 |
import datasets
|
42 |
from lxml import etree
|
43 |
|
44 |
+
from .bigbiohub import text_features
|
45 |
from .bigbiohub import BigBioConfig
|
46 |
from .bigbiohub import Tasks
|
47 |
|
|
|
223 |
)
|
224 |
|
225 |
elif self.config.schema == BIGBIO_TEXT:
|
226 |
+
features = text_features
|
227 |
|
228 |
return datasets.DatasetInfo(
|
229 |
description=_DESCRIPTION,
|