asahi417 commited on
Commit
122505a
1 Parent(s): dbb8f50

Update tweet_sentiment_multilingual.py

Browse files
Files changed (1) hide show
  1. tweet_sentiment_multilingual.py +2 -2
tweet_sentiment_multilingual.py CHANGED
@@ -3,7 +3,7 @@ import datasets
3
 
4
 
5
  logger = datasets.logging.get_logger(__name__)
6
- _VERSION = "0.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):