Research Article

A Core Drug Discovery Framework from Large-Scale Literature for Cold Pathogenic Disease Treatment in Traditional Chinese Medicine

Algorithm 2

Stage 2 drug network generation.
 Input: corpus C, drug thesaurus D, the window size of contexts c = 5, similarity threshold s = 0.9;
 Output: drug network ;
 Step 1 word embedding
;
 Step 2 drug extraction
 For each in C
  If
   , ;
 End For
 Step 3 semantic similarity calculation
    
  Calculate by (1);
 Step 4 drug network generation
    
    
  If
   ;
 Return ;