Research Article
Unsupervised Medical Entity Recognition and Linking in Chinese Online Medical Text
Algorithm 1
Medical entity detection.
Input: candidate set , medical term set , text set | Output: medical entity set | 1: for , , do | 2: if then | 3: ; | 4: end if | 5: set ; | 6: if Sim then | 7: ; | 8: end if | 9: for do | 10: if contains and or | Diff then | 11: ; | 12: break; | 13: end if | 14: end for | 15: end for | 16: return ; |
|