Datasets:
rcds
/

ArXiv:
Tags:
legal
License:
ramonachristen commited on
Commit
cee65f8
1 Parent(s): 6bbcc40

Rename MultiLegalNeg.py to multi_lingual_negation_scope_resolution.py

Browse files
MultiLegalNeg.py → multi_lingual_negation_scope_resolution.py RENAMED
@@ -26,23 +26,23 @@ _URL = {
26
  'data/'
27
  }
28
  _LANGUAGES = [
29
- "german", "french", "swiss"
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'
 
26
  'data/'
27
  }
28
  _LANGUAGES = [
29
+ "german", "french", "italian", "swiss"
30
  ]
31
 
32
 
33
+ class multi_lingual_negation_scope_resolutionConfig(datasets.BuilderConfig):
34
 
35
  def __init__(self, name:str, **kwargs):
36
+ super( multi_lingual_negation_scope_resolutionConfig, 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_resolutiononfig
43
 
44
  BUILDER_CONFIGS = [
45
+ multi_lingual_negation_scope_resolutionConfig(f"{language}")
46
  for language in _LANGUAGES + ['all']
47
  ]
48
  DEFAULT_CONFIG_NAME = 'all_all'