Datasets:
rcds
/

ArXiv:
Tags:
legal
License:
ramonachristen commited on
Commit
a2ba1af
1 Parent(s): b1dd2ef

Update multi_lingual_negation_scope_resolution.py

Browse files
multi_lingual_negation_scope_resolution.py CHANGED
@@ -30,19 +30,19 @@ _LANGUAGES = [
30
  ]
31
 
32
 
33
- class multi_lingual_negation_scope_resolution_config(datasets.BuilderConfig):
34
 
35
  def __init__(self, name:str, **kwargs):
36
- super( multi_lingual_negation_scope_resolution_config, self).__init__(**kwargs)
37
  self.name = name
38
  self.language = name.split("_")[0]
39
 
40
- class multi_lingual_negation_scope_resolution(datasets.GeneratorBasedBuilder):
41
 
42
- BUILDER_CONFIG_CLASS = multi_lingual_negation_scope_resolution_config
43
 
44
  BUILDER_CONFIGS = [
45
- multi_lingual_negation_scope_resolution_config(f"{language}")
46
  for language in _LANGUAGES + ['all']
47
  ]
48
  DEFAULT_CONFIG_NAME = 'all_all'
 
30
  ]
31
 
32
 
33
+ class MultiLegalNegConfig(datasets.BuilderConfig):
34
 
35
  def __init__(self, name:str, **kwargs):
36
+ super( MultiLegalNegConfig, self).__init__(**kwargs)
37
  self.name = name
38
  self.language = name.split("_")[0]
39
 
40
+ class MultiLegalNeg(datasets.GeneratorBasedBuilder):
41
 
42
+ BUILDER_CONFIG_CLASS = MultiLegalNegConfig
43
 
44
  BUILDER_CONFIGS = [
45
+ MultiLegalNegConfig(f"{language}")
46
  for language in _LANGUAGES + ['all']
47
  ]
48
  DEFAULT_CONFIG_NAME = 'all_all'