Research Article

Unsupervised Medical Entity Recognition and Linking in Chinese Online Medical Text

Algorithm 2

Medical entity classification.
Input: candidate set , seed signature set , category
     signature set
Output: medical entity-category set
 1:  for do
 2:   set , ;
 3:   for , , do
 4:    ;
 5:   end for
 6:   for , do
 7:    if then
 8:    ;
 9:    end if
 10:   end for
 11:   if then
 12:    ;
 13:    ;
 14:    ;
 15:    update by (5);
 16:   end if
 17:  end for
 18:  return ;