Skip to content

Commit

Permalink
typ fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawhy committed Jul 8, 2023
1 parent eae9d42 commit 8c25902
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/deeponto/align/bertmap/text_semantics.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
class AnnotationThesaurus:
"""A thesaurus class for synonyms and non-synonyms extracted from an ontology.
Some related definitions of arguements here:
Some related definitions of arguments here:
- A `synonym_group` is a set of annotation phrases that are synonymous to each other;
- The `transitivity` of synonyms means if A and B are synonymous and B and C are synonymous,
Expand Down Expand Up @@ -404,7 +404,7 @@ def save(self, save_path: str):
def synonym_sampling_from_mappings(self):
r"""Sample synonyms from cross-ontology class mappings.
Arguements of this method are all class attributes.
Arguments of this method are all class attributes.
See [`CrossOntologyTextSemanticsCorpus`][deeponto.align.bertmap.text_semantics.CrossOntologyTextSemanticsCorpus].
According to the $\textsf{BERTMap}$ paper, **cross-ontology synonyms** are defined as label pairs
Expand Down Expand Up @@ -435,7 +435,7 @@ def synonym_sampling_from_mappings(self):
def nonsynonym_sampling_from_mappings(self, num_samples: int, max_iter: int = 5):
r"""Sample non-synonyms from cross-ontology class mappings.
Arguements of this method are all class attributes.
Arguments of this method are all class attributes.
See [`CrossOntologyTextSemanticsCorpus`][deeponto.align.bertmap.text_semantics.CrossOntologyTextSemanticsCorpus].
According to the $\textsf{BERTMap}$ paper, **cross-ontology non-synonyms** are defined as label pairs
Expand Down

0 comments on commit 8c25902

Please sign in to comment.