Timo Schrader
commited on
Commit
·
8726bef
1
Parent(s):
760548f
fixed broken import
Browse files
MuLMS.py
CHANGED
@@ -25,7 +25,6 @@ from os.path import exists, join
|
|
25 |
|
26 |
import datasets
|
27 |
import pandas as pd
|
28 |
-
from datasets.utils.download_manager import DownloadManager
|
29 |
from puima.collection_utils import DocumentCollection
|
30 |
|
31 |
SENT_TYPE = "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence"
|
@@ -249,13 +248,13 @@ class MuLMSDataset(datasets.GeneratorBasedBuilder):
|
|
249 |
citation=_CITATION,
|
250 |
)
|
251 |
|
252 |
-
def _split_generators(self, dl_manager
|
253 |
"""
|
254 |
Downloads files from URL or reads them from the file system and provides _generate_examples
|
255 |
with necessary information.
|
256 |
|
257 |
Args:
|
258 |
-
dl_manager
|
259 |
|
260 |
Returns:
|
261 |
list: Information about files and splits
|
|
|
25 |
|
26 |
import datasets
|
27 |
import pandas as pd
|
|
|
28 |
from puima.collection_utils import DocumentCollection
|
29 |
|
30 |
SENT_TYPE = "de.tudarmstadt.ukp.dkpro.core.api.segmentation.type.Sentence"
|
|
|
248 |
citation=_CITATION,
|
249 |
)
|
250 |
|
251 |
+
def _split_generators(self, dl_manager) -> list:
|
252 |
"""
|
253 |
Downloads files from URL or reads them from the file system and provides _generate_examples
|
254 |
with necessary information.
|
255 |
|
256 |
Args:
|
257 |
+
dl_manager: Handles data retrieval
|
258 |
|
259 |
Returns:
|
260 |
list: Information about files and splits
|