Datasets:
GEM
/

Modalities:
Text
ArXiv:
Libraries:
Datasets
License:
Ronald Cardenas Acosta commited on
Commit
c2c8415
1 Parent(s): 031583f

new language pairs zh-* and *-zh

Browse files
Files changed (1) hide show
  1. xwikis.py +2 -1
xwikis.py CHANGED
@@ -77,7 +77,8 @@ class XWikis(datasets.GeneratorBasedBuilder):
77
  # You will be able to load one or the other configurations in the following list with
78
  # data = datasets.load_dataset('my_dataset', 'first_domain')
79
  # data = datasets.load_dataset('my_dataset', 'second_domain')
80
- BUILDER_CONFIGS = [datasets.BuilderConfig(name=xy , version=VERSION, description=f"XWikis. Language pair: {xy}") for xy in LPAIRS]
 
81
 
82
  DEFAULT_CONFIG_NAME = "fr-en" # It's not mandatory to have a default configuration. Just use one if it make sense.
83
 
 
77
  # You will be able to load one or the other configurations in the following list with
78
  # data = datasets.load_dataset('my_dataset', 'first_domain')
79
  # data = datasets.load_dataset('my_dataset', 'second_domain')
80
+ BUILDER_CONFIGS = [datasets.BuilderConfig(name=xy , version=VERSION, description=f"XWikis. Language pair: {xy}") for xy in LPAIRS] + \
81
+ [datasets.BuilderConfig(name=x , version=VERSION, description=f"XWikis. Monolingual corpus: {x}") for x in LANGS]
82
 
83
  DEFAULT_CONFIG_NAME = "fr-en" # It's not mandatory to have a default configuration. Just use one if it make sense.
84