asahi417 commited on
Commit
023cc8d
·
1 Parent(s): c4a7c25
semeval2012_relational_similarity_v3.py → semeval2012_relational_similarity_v4.py RENAMED
@@ -4,7 +4,7 @@ import datasets
4
 
5
  logger = datasets.logging.get_logger(__name__)
6
  _DESCRIPTION = """[SemEVAL 2012 task 2: Relational Similarity](https://aclanthology.org/S12-1047/)"""
7
- _NAME = "semeval2012_relational_similarity_v3"
8
  _VERSION = "1.1.0"
9
  _CITATION = """
10
  @inproceedings{jurgens-etal-2012-semeval,
@@ -31,7 +31,7 @@ _URLS = {
31
  }
32
 
33
 
34
- class SemEVAL2012RelationalSimilarityV3Config(datasets.BuilderConfig):
35
  """BuilderConfig"""
36
 
37
  def __init__(self, **kwargs):
@@ -39,14 +39,14 @@ class SemEVAL2012RelationalSimilarityV3Config(datasets.BuilderConfig):
39
  Args:
40
  **kwargs: keyword arguments forwarded to super.
41
  """
42
- super(SemEVAL2012RelationalSimilarityV3Config, self).__init__(**kwargs)
43
 
44
 
45
- class SemEVAL2012RelationalSimilarityV3(datasets.GeneratorBasedBuilder):
46
  """Dataset."""
47
 
48
  BUILDER_CONFIGS = [
49
- SemEVAL2012RelationalSimilarityV3Config(
50
  name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION
51
  ),
52
  ]
 
4
 
5
  logger = datasets.logging.get_logger(__name__)
6
  _DESCRIPTION = """[SemEVAL 2012 task 2: Relational Similarity](https://aclanthology.org/S12-1047/)"""
7
+ _NAME = "semeval2012_relational_similarity_v4"
8
  _VERSION = "1.1.0"
9
  _CITATION = """
10
  @inproceedings{jurgens-etal-2012-semeval,
 
31
  }
32
 
33
 
34
+ class SemEVAL2012RelationalSimilarityV4Config(datasets.BuilderConfig):
35
  """BuilderConfig"""
36
 
37
  def __init__(self, **kwargs):
 
39
  Args:
40
  **kwargs: keyword arguments forwarded to super.
41
  """
42
+ super(SemEVAL2012RelationalSimilarityV4Config, self).__init__(**kwargs)
43
 
44
 
45
+ class SemEVAL2012RelationalSimilarityV4(datasets.GeneratorBasedBuilder):
46
  """Dataset."""
47
 
48
  BUILDER_CONFIGS = [
49
+ SemEVAL2012RelationalSimilarityV4Config(
50
  name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION
51
  ),
52
  ]