You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the installation, I am playing with QuickUMLS.
from quickumls import *
matcher_thres_default = QuickUMLS('/users/gracelee/documents/quickumls_data')
text = 'the authors studied the diagnostic and prognostic factors by using stepwise logistic regression analysis.'
results = matcher_thres_default.match(text, best_match=True, ignore_syntax=False)
for res in results : print(res)
The code above returns three extracted terms. Their similarities are 1.0, 1.0, and 0.6 for each.
Isn't the threshold parameter (default 0.7) handling the similarity values ?
If a parameter threshold=0.7 is specified when instantiation, it returns the same result with the same code. But when threshold=0.8, it gives the first two terms.
The text was updated successfully, but these errors were encountered:
Thanks for the info. I found a discrepancy between how similarity was being calculated by QuickUMLS and how it was computed in the underlying string matching library. The issue you were experiencing is now fixed in the latest release (v. 1.2.1).
After the installation, I am playing with QuickUMLS.
The code above returns three extracted terms. Their similarities are 1.0, 1.0, and 0.6 for each.
Isn't the threshold parameter (default 0.7) handling the similarity values ?
If a parameter
threshold=0.7
is specified when instantiation, it returns the same result with the same code. But whenthreshold=0.8
, it gives the first two terms.The text was updated successfully, but these errors were encountered: