Fix text_features typo
Browse files- scicite.py +2 -2
scicite.py
CHANGED
|
@@ -35,7 +35,7 @@ from typing import Dict, List, Tuple
|
|
| 35 |
import datasets
|
| 36 |
import numpy as np
|
| 37 |
|
| 38 |
-
from .bigbiohub import
|
| 39 |
from .bigbiohub import BigBioConfig
|
| 40 |
from .bigbiohub import Tasks
|
| 41 |
|
|
@@ -132,7 +132,7 @@ class SciciteDataset(datasets.GeneratorBasedBuilder):
|
|
| 132 |
}
|
| 133 |
)
|
| 134 |
elif self.config.schema == "bigbio_text":
|
| 135 |
-
features =
|
| 136 |
else:
|
| 137 |
raise ValueError("Unrecognized schema: %s" % self.config.schema)
|
| 138 |
|
|
|
|
| 35 |
import datasets
|
| 36 |
import numpy as np
|
| 37 |
|
| 38 |
+
from .bigbiohub import text_features
|
| 39 |
from .bigbiohub import BigBioConfig
|
| 40 |
from .bigbiohub import Tasks
|
| 41 |
|
|
|
|
| 132 |
}
|
| 133 |
)
|
| 134 |
elif self.config.schema == "bigbio_text":
|
| 135 |
+
features = text_features
|
| 136 |
else:
|
| 137 |
raise ValueError("Unrecognized schema: %s" % self.config.schema)
|
| 138 |
|