Skip to content

Commit

Permalink
Added term_pairwise_similarity_attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Aug 7, 2023
1 parent 55541d8 commit a919cff
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ def __post_init__(self):
mn = m if isinstance(m, str) else m.__name__
setattr(SemSimianImplementation, mn, methods[mn])

self.term_pairwise_similarity_attributes = [
attr
for attr in vars(TermPairwiseSimilarity)
if not any(attr.startswith(s) for s in ["class_", "_"])
]

def create_pairwise_similarity_output_object(
self, predicates: List[PRED_CURIE] = None, attributes: List[str] = None
):
Expand Down

0 comments on commit a919cff

Please sign in to comment.