The invention discloses a keyword extracting method based on Word2Vec and a
Query log, and relates to the field of
information processing. The method includes the steps of S1, building a specific
word list of a target field; S2, obtaining candidate keywords of documents in a document set; S3, obtaining word vectors of a plurality of dimensions of each candidate keyword; S4, calculating the cosine similarities between the word vectors of any candidate keyword L and a center vector, judging whether the candidate keyword L exists in the specific
word list or not, if the candidate keyword L exists in the specific
word list, directly implementing the step S5, and if the candidate keyword L does not exist in the specific word
list, directly implementing the step S6; S5, multiplying the obtained cosine similarities by
a weighting factor i to obtain new cosine similarities, and implementing the step S6; S6,
ranking the values of the cosine similarities from large to small, outputting the values of m cosine similarities from the
cosine similarity with the largest value, and obtaining final keywords. By means of the keyword extracting method, the keywords with the ideal quality can be rapidly and efficiently extracted for texts in specific fields, oral words are prevented from being introduced, and the extracted keywords are high in quality.