Datasets:
Tasks:
Token Classification
Modalities:
Text
Sub-tasks:
named-entity-recognition
Languages:
English
Size:
100K - 1M
ArXiv:
License:
Update tweetner7.py
Browse files- tweetner7.py +3 -3
tweetner7.py
CHANGED
@@ -6,7 +6,7 @@ import datasets
|
|
6 |
logger = datasets.logging.get_logger(__name__)
|
7 |
_DESCRIPTION = """[TweetNER7](TBA)"""
|
8 |
_NAME = "tweetner7"
|
9 |
-
_VERSION = "1.0.
|
10 |
_CITATION = """
|
11 |
TBA
|
12 |
"""
|
@@ -51,8 +51,8 @@ class TweetNER7(datasets.GeneratorBasedBuilder):
|
|
51 |
|
52 |
def _split_generators(self, dl_manager):
|
53 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
54 |
-
return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[
|
55 |
-
for i in
|
56 |
|
57 |
def _generate_examples(self, filepaths):
|
58 |
_key = 0
|
|
|
6 |
logger = datasets.logging.get_logger(__name__)
|
7 |
_DESCRIPTION = """[TweetNER7](TBA)"""
|
8 |
_NAME = "tweetner7"
|
9 |
+
_VERSION = "1.0.1"
|
10 |
_CITATION = """
|
11 |
TBA
|
12 |
"""
|
|
|
51 |
|
52 |
def _split_generators(self, dl_manager):
|
53 |
downloaded_file = dl_manager.download_and_extract(_URLS)
|
54 |
+
return [datasets.SplitGenerator(name=i, gen_kwargs={"filepaths": downloaded_file[i]})
|
55 |
+
for i in _URLS.keys()]]
|
56 |
|
57 |
def _generate_examples(self, filepaths):
|
58 |
_key = 0
|