Commit
•
8f9ed86
1
Parent(s):
e1512bf
Fix text_features typo (#1)
Browse files- Fix text_features typo (4ed5c34df7cf2ba39100c18293bc9deeefa9d422)
Co-authored-by: Albert Villanova <albertvillanova@users.noreply.huggingface.co>
- 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,
|