Skip to content

Commit

Permalink
Update PyUMLS_Similarity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
victormurcia authored Dec 7, 2023
1 parent 6d15b51 commit 73d13cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PyUMLS_Similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ def similarity(self, cui_pairs, measures=['lch'], precision=4, forcerun=True):
Calculate similarity for each measure in a concurrent manner.
Args:
cui_pairs (list of tuple): A list of tuples, where each tuple contains two CUIs for comparison.
measures (list of str): A list of strings representing the semantic similarity measures to be used.
precision (int): The precision of the similarity calculation.
forcerun (bool): A flag to force the run of the similarity calculation.
:cui_pairs (list of tuple): A list of tuples, where each tuple contains two CUIs for comparison.
:measures (list of str): A list of strings representing the semantic similarity measures to be used.
:precision (int): The precision of the similarity calculation.
:forcerun (bool): A flag to force the run of the similarity calculation.
Returns:
pandas.DataFrame: A DataFrame containing the similarity results for each measure.
Expand Down

0 comments on commit 73d13cd

Please sign in to comment.