asahi417 commited on
Commit
876637e
1 Parent(s): 8748528

Rename conceptnet_relation_similarity.py to conceptnet_relational_similarity.py

Browse files
conceptnet_relation_similarity.py → conceptnet_relational_similarity.py RENAMED
@@ -3,7 +3,7 @@ import datasets
3
 
4
  logger = datasets.logging.get_logger(__name__)
5
  _DESCRIPTION = """[ConceptNet with high confidence](https://home.ttic.edu/~kgimpel/commonsense.html)"""
6
- _NAME = "conceptnet_relation_similarity"
7
  _VERSION = "2.1.0"
8
  _CITATION = """
9
  @inproceedings{li-16,
@@ -37,7 +37,7 @@ _URLS = {
37
  }
38
 
39
 
40
- class ConceptNetRelationSimilarityConfig(datasets.BuilderConfig):
41
  """BuilderConfig"""
42
 
43
  def __init__(self, **kwargs):
@@ -45,14 +45,14 @@ class ConceptNetRelationSimilarityConfig(datasets.BuilderConfig):
45
  Args:
46
  **kwargs: keyword arguments forwarded to super.
47
  """
48
- super(ConceptNetRelationSimilarityConfig, self).__init__(**kwargs)
49
 
50
 
51
- class ConceptNetRelationSimilarity(datasets.GeneratorBasedBuilder):
52
  """Dataset."""
53
 
54
  BUILDER_CONFIGS = [
55
- ConceptNetRelationSimilarityConfig(name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION),
56
  ]
57
 
58
  def _split_generators(self, dl_manager):
 
3
 
4
  logger = datasets.logging.get_logger(__name__)
5
  _DESCRIPTION = """[ConceptNet with high confidence](https://home.ttic.edu/~kgimpel/commonsense.html)"""
6
+ _NAME = "conceptnet_relational_similarity"
7
  _VERSION = "2.1.0"
8
  _CITATION = """
9
  @inproceedings{li-16,
 
37
  }
38
 
39
 
40
+ class ConceptNetRelationalSimilarityConfig(datasets.BuilderConfig):
41
  """BuilderConfig"""
42
 
43
  def __init__(self, **kwargs):
 
45
  Args:
46
  **kwargs: keyword arguments forwarded to super.
47
  """
48
+ super(ConceptNetRelationalSimilarityConfig, self).__init__(**kwargs)
49
 
50
 
51
+ class ConceptNetRelationalSimilarity(datasets.GeneratorBasedBuilder):
52
  """Dataset."""
53
 
54
  BUILDER_CONFIGS = [
55
+ ConceptNetRelationalSimilarityConfig(name=_NAME, version=datasets.Version(_VERSION), description=_DESCRIPTION),
56
  ]
57
 
58
  def _split_generators(self, dl_manager):