asahi417 commited on
Commit
f046b69
1 Parent(s): 2018ecf

Rename t_rex_relation_similarity.py to t_rex_relational_similarity.py

Browse files
t_rex_relation_similarity.py → t_rex_relational_similarity.py RENAMED
@@ -6,7 +6,7 @@ import datasets
6
 
7
  logger = datasets.logging.get_logger(__name__)
8
  _DESCRIPTION = """T-Rex dataset."""
9
- _NAME = "t_rex_relation_similarity"
10
  _VERSION = "0.0.1"
11
  _CITATION = """
12
  @inproceedings{elsahar2018t,
@@ -30,7 +30,7 @@ _URLS = {i: {
30
  } for i in _TYPES}
31
 
32
 
33
- class TREXRelationSimilarityConfig(datasets.BuilderConfig):
34
  """BuilderConfig"""
35
 
36
  def __init__(self, **kwargs):
@@ -38,14 +38,14 @@ class TREXRelationSimilarityConfig(datasets.BuilderConfig):
38
  Args:
39
  **kwargs: keyword arguments forwarded to super.
40
  """
41
- super(TREXRelationSimilarityConfig, self).__init__(**kwargs)
42
 
43
 
44
- class TREXRelationSimilarity(datasets.GeneratorBasedBuilder):
45
  """Dataset."""
46
 
47
  BUILDER_CONFIGS = [
48
- TREXRelationSimilarityConfig(name=i, version=datasets.Version(_VERSION), description=_DESCRIPTION)
49
  for i in sorted(_TYPES)
50
  ]
51
 
 
6
 
7
  logger = datasets.logging.get_logger(__name__)
8
  _DESCRIPTION = """T-Rex dataset."""
9
+ _NAME = "t_rex_relational_similarity"
10
  _VERSION = "0.0.1"
11
  _CITATION = """
12
  @inproceedings{elsahar2018t,
 
30
  } for i in _TYPES}
31
 
32
 
33
+ class TREXRelationalSimilarityConfig(datasets.BuilderConfig):
34
  """BuilderConfig"""
35
 
36
  def __init__(self, **kwargs):
 
38
  Args:
39
  **kwargs: keyword arguments forwarded to super.
40
  """
41
+ super(TREXRelationalSimilarityConfig, self).__init__(**kwargs)
42
 
43
 
44
+ class TREXRelationalSimilarity(datasets.GeneratorBasedBuilder):
45
  """Dataset."""
46
 
47
  BUILDER_CONFIGS = [
48
+ TREXRelationalSimilarityConfig(name=i, version=datasets.Version(_VERSION), description=_DESCRIPTION)
49
  for i in sorted(_TYPES)
50
  ]
51