Datasets:
Update tweet_sentiment_multilingual.py
Browse files
tweet_sentiment_multilingual.py
CHANGED
@@ -3,7 +3,7 @@ import datasets
|
|
3 |
|
4 |
|
5 |
logger = datasets.logging.get_logger(__name__)
|
6 |
-
_VERSION = "0.0.
|
7 |
_NAME = "tweet_sentiment_multilingual"
|
8 |
_DESCRIPTION = "Multilingual sentiment analysis dataset on Twitter."
|
9 |
_CITATION = """
|
@@ -28,7 +28,7 @@ _LANGUAGE = ["arabic", "english", "french", "german", "hindi", "italian", "portu
|
|
28 |
_URLS = {l: {
|
29 |
k: [f'{_BASE_URL}/{l}/{k}.jsonl'] for k in [str(datasets.Split.TEST), str(datasets.Split.TRAIN), str(datasets.Split.VALIDATION)]
|
30 |
} for l in _LANGUAGE}
|
31 |
-
_URLS['all'] = {k: [f'{_BASE_URL}/{l}/{k}.jsonl' for l in _LANGUAGE] for k in [str(datasets.Split.TEST), str(datasets.Split.TRAIN), str(datasets.Split.VALIDATION)]}
|
32 |
|
33 |
|
34 |
class TweetSentimentMultilingualConfig(datasets.BuilderConfig):
|
|
|
3 |
|
4 |
|
5 |
logger = datasets.logging.get_logger(__name__)
|
6 |
+
_VERSION = "0.0.1"
|
7 |
_NAME = "tweet_sentiment_multilingual"
|
8 |
_DESCRIPTION = "Multilingual sentiment analysis dataset on Twitter."
|
9 |
_CITATION = """
|
|
|
28 |
_URLS = {l: {
|
29 |
k: [f'{_BASE_URL}/{l}/{k}.jsonl'] for k in [str(datasets.Split.TEST), str(datasets.Split.TRAIN), str(datasets.Split.VALIDATION)]
|
30 |
} for l in _LANGUAGE}
|
31 |
+
# _URLS['all'] = {k: [f'{_BASE_URL}/{l}/{k}.jsonl' for l in _LANGUAGE] for k in [str(datasets.Split.TEST), str(datasets.Split.TRAIN), str(datasets.Split.VALIDATION)]}
|
32 |
|
33 |
|
34 |
class TweetSentimentMultilingualConfig(datasets.BuilderConfig):
|