Research Article

Doctor Recommendation Model Based on Ontology Characteristics and Disease Text Mining Perspective

Algorithm 2

This module used the word2VEC library to train the word vector model of dermatology on sample data such as “dermatology. XLS.”
  The code is as the follows:
  logging.basicConfig(format = “%(asctime)s: %(levelname)s: %(message)s”, level = logging.INFO)
   sentences = word2vec.LineSentence(“test2.txt”)
   model = word2vec.Word2Vec(sentences, hs =1,min_count =1,window =3,size =100)
   model.save(u”fuke.model”)