Chinese medical question classification system for deep encyclopedia learning

文档序号:7699 发布日期:2021-09-17 浏览:26次 中文

1. The Chinese medical question classification system for deep encyclopedia learning is characterized in that word vectors are generated by using a language model based on deep learning to solve the problem of insufficient training corpus, network popular words and synonyms are solved by using a Chinese search engine encyclopedia, and the core is question classification based on the Chinese search engine encyclopedia and the deep learning model, and comprises the following steps: starting from the semantic structure of Chinese search engine encyclopedia, providing a semantic association degree calculation method based on the encyclopedia link structure of the Chinese search engine and providing an improved algorithm semantic association degree efficient convergence method based on a semantic association degree algorithm; secondly, a traditional word vector representation method is improved, a deep learning language model is adopted to train distributed word vectors, a deep learning Chinese word model is established based on an M-element Chinese word model, Chinese search engine encyclopedia is utilized to preprocess synonyms, network popular words and words lacking in a language model dictionary, word vectors based on the search engine encyclopedia are established, CB-CBC is provided to establish medical question feature vectors, and finally an SVM classifier is adopted to classify the medical questions, so that the classification efficiency and accuracy of the Chinese medical questions are improved;

calculating the semantic association degree based on Chinese search encyclopedia: firstly, analyzing a semantic structure of Chinese search engine encyclopedia, providing an entity naming disambiguation model, extracting link words of the Chinese search engine encyclopedia according to the search engine encyclopedia link structure, providing an improved semantic association algorithm to calculate semantic association, and then providing a semantic association efficient convergence method based on the Chinese search encyclopedia semantic structure according to the characteristics of a massive knowledge base of the Chinese search engine encyclopedia;

chinese medical question classification based on the CB-CBC model: based on the distributed Chinese word vectors, a distributed Chinese word vector model is constructed by deep learning to construct word vectors, a Chinese search engine encyclopedia and deep learning combined model is adopted to construct question feature vectors, and after the dimensions of the questions are reduced, the questions are classified by an SVM method.

2. The system of claim 1, wherein the semantic structures are decomposed in the chinese search encyclopedia semantic structure process: constructing a feature expansion table by adopting a search engine encyclopedia Chinese word link structure, a term classification structure, term redirection and a concept disambiguation page;

chinese word linking structure: the invention uses the characteristic to express the semantic information of the concept, expands the concept characteristic words, some in-site links directly discard the page because no item is created, the out-link of the page in the Chinese search engine encyclopedia is easy to obtain, but the in-link needs to visit all the search engine encyclopedia pages to judge the current page quoted by the page, and in the preprocessing stage, indexes are established for the out-link and the in-link;

the term classification structure: the semantic algorithm fused with WordNet is applied to the semantic relevance calculation of search engine encyclopedia;

term redirection: the redirection page points to the same interpretation page among a plurality of concepts, and the search engine encyclopedia links the concepts into the same interpretation page, so that the number of the search engine encyclopedia concepts is reduced, and the storage space is reduced;

concept disambiguation page: setting a disambiguation page, delivering the selection right to a user, wherein the disambiguation page is an important semantic knowledge mining resource of a search engine encyclopedia and is used for establishing a synonym word bank and a multi-meaning word bank, the concept disambiguation page comprises all word senses of ambiguous words, and each candidate word is briefly explained and linked with the words.

3. The deep encyclopedic learning Chinese medical question classification system of claim 1, wherein entity naming disambiguation: a question entity naming disambiguation method based on Chinese search engine encyclopedia is provided, context information of entity naming is used as text information, classification information and word link information of the search engine encyclopedia are used as search encyclopedia characteristics, and relevance between entity naming in a question and search engine encyclopedia concepts is calculated through cosine similarity calculation and Jacard similarity coefficients, so that an optimal matching answer is selected;

jacard similarity calculation for search engine encyclopedia word links and parent nodes: in a question, naming n for an entity to be disambiguated, obtaining context information A of n in the question, wherein A represents a word set of the n context information, mapping words in the set A to search engine encyclopedia concepts, and finding out link words and father nodes of a page of the search engine encyclopedia concepts, wherein the expansion feature word set of n is C ═ a { (a)1,a2,a3,…,amWhere m denotes the number of n-related feature words, and n is a set of candidate words R ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RiThe search engine encyclopedia link word related to the search engine encyclopedia link word is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njObtaining the number of word links through a search engine encyclopedia page, and calculating the association degree T of the sets H and C through a Jacard methodjI.e. TjRepresenting a candidate word njDegree of association of context information with n, TjThe larger the correlation degree is, the higher the correlation degree is, otherwise, the lower the correlation degree is, and the cosine similarity is adopted to calculate the correlation between the correlation degree and the cosine similarity;

calculating the cosine similarity based on search engine encyclopedia classification information: obtaining the context information of the entity name n by a question as A ═ a1,a2,a3,…,amM represents the context information of n, the invention takes the words in the question, and the candidate word set R of n is { n ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RjSearch engine encyclopedia related theretoThe parent node set in the classification hierarchy is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njAnd obtaining the number of word father nodes through a search engine encyclopedia page, and calculating the similarity by adopting a semantic association algorithm.

4. The system of claim 1, wherein the semantic relevance based on the chinese search encyclopedia link structure is calculated as: firstly, extracting a link structure based on encyclopedia of Chinese search engine, and then improving a semantic association algorithm through the extracted word link to obtain a semantic association efficient convergence method based on the link structure;

extracting the link structure: the word links in the subject concepts are words with high association degree between the search engine encyclopedia and the subject concepts, so the invention utilizes the feature of the search engine encyclopedia to expand the feature words, utilizes the related link words of the search engine encyclopedia to expand the question, but is based on the feature of the Chinese search engine encyclopedia: some topic concept pages contain too many related concepts, which increases redundancy of the expansion library if all links are used as expansion words, and the link words exceed a critical value M for the pagemaxThe concept of (1) selecting words having a two-way link relationship with the search engine encyclopedia concept, while some subject concept pages have too few words linked, and the number of words linked to the page is less than a critical value MminThe concept of (1) is adopted, namely, the in-chain and out-chain of the concept are adopted, and the other concepts are taken out-chain of the subject concept page;

semantic association algorithm: mapping text keywords to search engine encyclopedia concepts, expressing text vectors by adopting a vector space model, expressing the weights of the text vectors by adopting TF-IDF values, then calculating the association degree between texts by cosine similarity, expressing unlimited texts by using fine-grained semantics by adopting a semantic association degree algorithm, generating a high-dimensional vector space by adopting the search engine encyclopedia mapping, and setting TF-IDF critical values to filter noise data;

the implementation process of the semantic association algorithm is as follows:

the first process is as follows: for search guidanceAfter all page word segmentation preprocessing of department of Ongchidaceae, counting each word kjThe TF-IDF value of a certain search encyclopedia concept page is wj

And a second process: establishing a word kjAnd search engine encyclopedia concepts sjInverted index, representing the word kjAnd search engine encyclopedia concepts sjWith w, ofjEach term k represents a weight between themjWith multiple search engines encyclopedia concepts sjThey are according to the TF-IDF value, i.e. wjSorting by size;

the third process: after two text participles with the relevance calculated are preprocessed, a word set Rd ═ k is respectively usedj}、Re={kjMeans that the word k in the text is calculated separatelyjVector for TF-IDF value { ujDenotes ujRepresents kjThe weight of (c);

the process four is as follows: word k in text RdjMapping to search engine encyclopedia concepts s through inverted indexingjA word kjWith multiple search engines encyclopedia concepts sjSo summing them to obtain sjWeight Q ofjVector space { Q for text Rd1,Q2,Q3,Q4,…,QmExpressing m represents the encyclopedia concept number of a search engine, and solving Re in the same way;

and a fifth process: and solving the association degree Gld (Rd, Re) of the two text vectors by using the cosine value.

5. The deep encyclopedic learning Chinese medical question classification system of claim 4, wherein the semantic association degree efficient convergence method comprises: the method comprises the steps of considering the weight of a link word in a search engine encyclopedia concept page instead of the weight of all words in the page, continuously carrying out expansion and convergence calculation on the link word, calculating the weight of each link word by adopting a word weight calculation method based on the number of links, calculating the weight according to the number of links of other search engine encyclopedia concepts, and calculating the weight of a word link r in an article c according to a formula shown in a formula 2:

wherein, R represents the number of links to K from other concepts in the search engine encyclopedia, K represents the number of links in the search engine encyclopedia, and | R | +1 is to prevent the denominator in the formula from being 0;

compared with a semantic association algorithm, the semantic association efficient convergence method is different in that: only counting the weight of the link words of the search engine encyclopedic concept page, continuing to expand the feature words of the link words, calculating the association degree of the expanded word set and the word set of the previous order, adding the words larger than a certain association degree critical value into the set of the next order, repeating the process until the words in the set are not changed, efficiently converging the semantic association degree by finding out the expansion set of the words, then converging the set, and calculating two words kd、keThe semantic association degree is realized by the following specific steps:

the first step is as follows: counting the weight of the search engine encyclopedic page link word kj, and calculating the weight as wj

The second step is that: for the word kdThrough search engine encyclopedia mapping, if search engine encyclopedia concepts equal to the search engine encyclopedia concepts are found, a word set D containing links in a page is obtained, and if the search engine encyclopedia concepts equal to the search engine encyclopedia concepts are not found, a set containing the link words in the page is set to be G;

the third step: respectively finding out respective link word sets Jh for the words in the set D through search engine encyclopedia concept mapping;

the fourth step: semantic association degree calculation is respectively carried out on the words in the set Jh and the words in the set D, an association degree average value Avg is calculated, if the association degree average value Avg is larger than a certain artificially set critical value T, the words are added into the set D to become a new set DjOtherwise, abandoning;

the fifth step: repeating the third step and the fourth step until the set DjThe number of the middle elements is not changed any more;

and a sixth step: solving the word k in the same wayeSet EjUsing Jacobsad coefficient to calculate the relevance T (k) of wordsd,ke)。

6. The deep encyclopedia learned chinese medical question classification system of claim 1 wherein deep learning characterizes word vectors: according to a distributed word vector representation method, a distributed Chinese word vector representation model based on combination of search engine encyclopedia and deep learning is provided, and each question sentence consists of keywords;

the distributed word vector representation method comprises the following steps: the method comprises the steps of adopting a distributed word vector representation method, representing a word by a full vector, representing the dimensionality by 50-200 dimensionality, adopting a word2vec method for vector representation training, training a corpus by a statistic method TF-IDF, firstly, giving a sufficiently large corpus, counting word vectors after TF-IDF results of the Chinese words in various fields are obtained, thinking out Chinese words similar to the word vectors after the word vectors are obtained, and obtaining the similarity between the words by a cosine distance or Euclidean distance formula;

deep learning characterizes distributed chinese word vectors: firstly, for a word polysemy phenomenon in a question sentence, utilizing a search engine encyclopedia to eliminate an ambiguous page, for a synonym, when a characteristic word in the question sentence is matched with the search engine encyclopedia concept, the synonym is represented by the same vector, the search engine encyclopedia adopts an open group editing method, and a deep learning language model not only considers the occurrence frequency of the word, but also considers the grammar, the semantics and the context relationship of the word.

7. The system of claim 1, wherein the M-gram chinese language word model: the Chinese word model is an abstract mathematical modeling for describing natural language, judges whether the grammar, syntax and semantics of a sentence are correct or not, counts word frequency from a non-labeled natural language text, calculates semantic relation, and establishes a mathematical model according to the sequence of words to obtain a Chinese word model;

the language model is formalized as a character string C containing M words, and the probability Q (k) that the character string is a natural language is obtained1,k2,k3,…,Km) Wherein k isjJ ∈ (1, m) represents a Chinese word in the character string C, and the probability of obtaining C is shown as formula 3:

Q(C)=Q(k1,k2,k3,…,km)=Q(k1)Q(k2|k1)…Q(kn|k1,…km-1) Formula 3

Wherein Q (k)2|k1) Indicates the occurrence of k1On the premise of2Probability of (2), Q (k)n|k1,…km-1) Representing the probability of a word before it appears, assuming an arbitrary Chinese word kjProbability of occurrence only with the word k preceding itj-1In relation to this, the probability of the character string C is expressed by equation 4:

Q(C)=Q(k1)Q(k2|k1)Q(k3|k2)…Q(km|km-1) Formula 4

The language model represented by formula 4 is a binary Chinese word model, and the Chinese word model determined by the preceding M-1 words is an N-gram Chinese word model.

8. The deep-encyclopedia-learning Chinese medical question classification system according to claim 1, wherein the deep-learning Chinese word model is: the first layer is an input layer and represents word vectors of s Chinese words before and after a certain Chinese word, the vectors have a total W dimension, the second layer is a projection layer and is a Sum of the words of s words before and after the certain Chinese word, Sum is also a W-dimension vector, the third layer is an output layer, the Chinese word r is on a leaf node of a Huffman tree, and the input Chinese word is KrThe context of the method is that leaf nodes of the Huffman tree are constructed according to the occurrence times of Chinese words in a dictionary, each Chinese word is unique, the hierarchical Softmax algorithm and the deep learning Chinese word model are combined for use, the hierarchical Softmax algorithm is combined with Huffman coding, and each leaf in the Huffman tree is combined with Huffman codingThe Chinese word k in the node is accessed from the root node of the tree through a unique path, the path is the Huffman code of the Chinese word, and the corresponding Huffman code can be found out very quickly by giving one Chinese word;

the deep learning Chinese word model judges whether a sentence is a normal natural language or not, and judges that the sentence is not a normal natural language by calculating the joint probability of a series of phrases, if the joint probability is lower than a certain critical value, otherwise, for a network layer graph, a character string C comprises a series of words and words of Chinese word k1,k2,…,kRThe probability that the character string C is natural language is calculated by using formula 5:

ctex in formula 5jDenotes the context of the Chinese word, i.e. s Chinese words before and after it, s being randomly generated, q (k)j|Ctextj) The probability that the Chinese word reappears when s Chinese words appear before and after is shown.

9. The deep encyclopedic-learned chinese medical question classification system of claim 1, wherein the CB-CBC constructs a medical question feature vector: the method for training the question feature word vector by combining deep learning and Chinese search engine encyclopedia and constructing the question feature vector by adopting the CB-CBC model comprises the following steps:

step 1: acquiring a medical question corpus Med, and preprocessing all the questions by using a word segmentation tool ANSJ to obtain a word segmentation pRdction. txt file;

step 2: taking the pRdction.txt file as an input text of a Word2vec tool, and training for a certain time to obtain a Word vector file vec.txt, wherein the dimensionality of each vector is W dimension;

and 3, step 3: constructing a question feature vector for each question of a medical question file Med, if the words in the question are not in Vec.txt, expanding feature words by a search engine encyclopedia semantic association efficient convergence method, wherein the feature words use TF-IDF to represent vector weight; and if the word does not exist in the search engine encyclopedia concept, constructing a w-dimensional 0 vector, and obtaining a feature space of Med _ Vec.txt by all medical question sentences.

10. The system for classifying Chinese medical question for deep encyclopedia learning according to claim 1, wherein the dimension reduction of the feature vector of the medical question in the classification of Chinese medical question is as follows: a feature word association degree merging strategy is proposed to reduce the dimension of a question feature vector space, firstly, preprocessing words and stop words is carried out on a Chinese question set, and feature words are used for representing Chinese questions; then, calculating the relevance between every two feature words, and constructing a relevance descending link table; finally, deleting redundant feature dimensions for the combined feature space dimensions with the relevance greater than a certain critical value;

the characteristic space dimension reduction model algorithm comprises the following steps:

step one, preprocessing the Chinese question set by word segmentation and word stop, and merging all question feature words into a set C ═ k1,k2,k3,…,km};

Secondly, calculating the association degree T between every two words in the set C by utilizing a semantic association degree efficient convergence methodjiJ and i are in the ranges 1. ltoreq. j.ltoreq.m, 1. ltoreq. i.ltoreq.n, where Tji=Tij

Constructing a descending linked list according to the word association degree, wherein the head node of the linked list represents a certain characteristic word, and other nodes of the linked list represent the association degrees of the rest words and the head node and are arranged in a descending order according to the association degrees;

step four, constructing question feature vector space, and a certain question PjExpressed as a feature vector Pj=(pj1,pj2,…,pjm) M represents the total number of all question feature words, and if n question words exist, an n multiplied by n feature vector matrix is formed;

step five, setting a correlation degree critical value a, scanning a correlation degree link table, and if the correlation degree T is foundjiA or more, the value of the jth column is addedAnd the ith column value, for Tji(kj,ki) Not less than a, and Tiw(ki,kw) ≧ a, requiring recalculation of Tiw(ki,kw) The word association degree has no transitivity;

and step six, deleting redundant feature vector dimensions after the combined feature vector dimensions are obtained.

Background

In the information big data era, a search engine becomes an indispensable important tool for vast netizens, and required data can be acquired from massive information through the search engine. The user only needs to input the keywords in the search engine, and the webpage information related to the keywords can be immediately acquired. However, the current search engine has some defects, and there are three main problems: firstly, the search engine returns too much retrieval information, which contains some noise data, and the user can not effectively locate the required information; secondly, the search engine does not understand the real search intention of the user; and thirdly, the search engine only considers the matching of the keywords and does not consider the grammar and semantic relation of the retrieval words, so that the query retrieval accuracy rate is difficult to improve.

However, the intelligent question-answering system provides a question-answering method of natural language for users, is closer to the common communication method of people, and better meets the requirements of the users, so the development prospect is very optimistic, and the method is mainly embodied in the following fields: firstly, in the fields of education, training and consultation, online education is provided for all education institutions at present, students can acquire knowledge through the Internet, but when the students need to ask teachers for problems, the students cannot rapidly solve the problems of the students by means of telephone or mail sending generally, and the problems of the students can be rapidly and accurately solved by the intelligent question and answer system; and secondly, in the field of online customer service and artificial intelligence, due to the increase of the cost of artificial customers, chat robots, such as online inquiry and Aliwang robots, have been introduced by all large network companies, and are essentially an intelligent question-answering system.

The online inquiry is used as an outstanding intelligent inquiry and answer, the problem of insufficient medical resources can be effectively solved, the intelligent inquiry and answer is used as a key technology of the online inquiry and answer, the key technology has an important function, and the medical inquiry classification influences the extraction result of the intelligent inquiry and answer system. The question classification can be used for automatically classifying the question, and the user can conveniently and automatically add a question classification label when publishing a question, so that the important role of knowing that the question of the user belongs to a certain class is played. The main actions of question classification are: first, question classification can effectively improve search hit rate and speed, for example, "a method of drug therapy for coronary heart disease? After the question classification, the candidate answers can be reduced to coronary heart disease and treatment categories, the retrieval range of the question is narrowed, and the retrieval time is shortened; secondly, the question classification can optimize retrieval items, and recommend similarity question items to the user in an individualized way, so that the recall rate of the question-answering system is improved; finally, question classification influences the accuracy of the answers of the questions, the accuracy of the answers is determined by the quality of a question classification algorithm, multiple different classification algorithms are usually adopted, monotony and low efficiency of a single algorithm are avoided to a certain extent, and the hit rate of the answers is improved.

Therefore, question classification plays an important role in question-answering systems and natural language processing, and the accuracy of question classification has a profound influence on question-answering systems. The prior art mainly has the following three methods for question classification: firstly, a question classification method based on rules appears earlier, and starts to generally make proper rules to judge the attribution type of a question based on mathematics and linguistics, such as judging whether the question is a question, a question bar or other types; secondly, automatically forming rules by utilizing machine learning and the like based on a question classification method of statistical learning; thirdly, the two methods are combined, and the complementary strategy of the advantages of the two methods is fully utilized. The classification of the question by using machine learning can ensure the uniformity and accuracy of a training corpus and has wide research and application values, but the accuracy of the machine learning is based on training set data, so that a question classification method based on the combination of artificial rules and machine learning can be adopted. At present, although question classification achieves certain results, the problems encountered by classification still exist: the question is short and contains a small number of words, so that dimension disasters and data sparseness problems are encountered during question classification training.

The intelligent on-line question-answer inquiry system in the prior art has defects and insufficiencies, and the difficulties and problems to be solved in the invention mainly focus on the following aspects:

firstly, medical question classification directly influences the extraction result of the intelligent question-answering system, question classification can be automatically classified, a user can conveniently and automatically add question classification labels when publishing questions, and the fact that the user question belongs to a certain category is known to play an important role. However, in the prior art, Chinese question classification cannot effectively improve the retrieval hit rate and speed, cannot narrow the retrieval range of questions, and reduce the retrieval time; in the prior art, question classification cannot optimize retrieval items, similarity question items cannot be recommended to a user in an individualized way, and the recall rate of a question-answering system is low; the question classification influences the accuracy of the answers of the question, the accuracy of the answers is determined by the quality of a question classification algorithm, the single question classification algorithm in the prior art is monotonous and low in efficiency, the hit rate of the answers is not favorably improved, and a Chinese question classification system in the prior art cannot meet the requirement of online inquiry intelligent question answering and cannot be applied to the rigorous intelligent medical field;

secondly, the Chinese question classification has a small difference compared with the English question classification, and particularly in the field of medical question classification, the main reasons are that the Chinese question has characteristics of the Chinese question, and compared with the English question, the Chinese question is complex in grammatical structure and diversified in semantic information; secondly, the corresponding corpus and knowledge base are lacked; the research and application of Chinese question classification are relatively late, most of Chinese question classification in the prior art adopts a rule-based classification method, certain effects are achieved on certain standard data sets, Chinese question classification is carried out by improving a Bayesian model, question trunks are extracted, and word segmentation and part-of-speech characteristic values are combined to carry out question classification, but the accuracy of the method is influenced by the accuracy of syntactic structure analysis. Under the influence of the semantic relevance calculation method, the problems encountered by Chinese question classification in general comprise: the question is short and contains a small number of words, so that the problems of dimensionality disaster and data sparseness are faced during question classification training, and the efficiency and accuracy of Chinese question classification cannot meet the requirements of medical online inquiry;

thirdly, the intelligent question answering is taken as a key technology in the online inquiry and diagnosis, the quality and the user experience of the emerging diagnosis and treatment service are directly influenced, one of the core problems of the intelligent question answering is to efficiently classify the question sentences, but the medical question is characterized in that the keywords of the question are few and consist of diseases or symptoms, interrogative words and verbs, the method for constructing the inquiry characteristic vector in the prior art has low efficiency and large error of the full-text indexing method, in the Chinese environment, the problem of medical question classification is more prominent, the speed is slow when constructing the characteristic vector of the network question and question, the problems of overlarge dimensionality, sparse data and the like are easily caused when constructing the characteristic vector of the question, the question classification efficiency is low, synonyms can generate different distributed vectors, the method is limited by the corpus, network new words cannot be well recognized, and the accuracy of word association degree and the classification efficiency of medical question sentences are low;

fourthly, the semantic association algorithm has obvious defects, semantic differences are not considered, word ambiguity occurs to some words, the semantic association algorithm is simple concept mapping and is easy to introduce noise data, in addition, the semantic association algorithm needs to consider all data of search engine encyclopedia pages, more time and resources are consumed in a preprocessing stage, a text vector is represented to comprise all search engine encyclopedia concepts, the vector dimension reaches 90 ten thousand, and the calculated amount is overlarge;

fifthly, the Chinese question contains rich semantic information, the structure is complex, the form of the question is diversified, the words are dependent on polysemous and synonymous relations, most of the Chinese question is short and small, only few keywords are contained, and the question classification has a great problem. The text representation method in the prior art is a vector space model, results of sparse vectors and overlarge dimensionality are generated by the representation method, semantic relations among words cannot be well described, so that the error of calculated similarity is large, the accuracy of testing is influenced, a question set corpus is trained and analyzed to find that many synonyms exist in a question, but the synonyms are inaccurate in similarity due to the fact that the training corpus is lacked, words in some dictionaries are not rich enough, the error of the synonyms cannot be eliminated, the word vector construction problem of unknown words cannot be solved, the frequency, grammar, semantics and context relations of the words are not considered, and the obtained feature word vector cannot meet requirements.

Disclosure of Invention

Aiming at the defects of the prior art, the invention crawls 56.4 ten thousand medical questions from the Xinlangai questions around the key technologies of the semantic structure of Chinese search engine encyclopedia, the collection and organization of medical question items, the construction of the feature vector of the Chinese question and the like, constructs a medical question corpus, solves the problem of unequal synonym vectors by utilizing the semantic structure of the Chinese search engine encyclopedia, constructs the network popular word feature vector by an improved search engine encyclopedia semantic association efficient convergence method, constructs a distributed Chinese word vector space with specific dimensions by a CB-CBS method based on the combination of the Chinese search engine encyclopedia and a deep learning Chinese word model, reduces the dimensions and data sparsity of the feature space, adopts a word semantic association degree evaluation method aiming at the word vector with the CB-CBS structure, and shows that the model can obviously improve the association degree accuracy and the question classification efficiency, the method can better meet the requirements of efficiency and accuracy of Chinese medical question classification.

In order to achieve the technical effects, the technical scheme adopted by the invention is as follows:

the Chinese medical question classification system for deep encyclopedia learning solves the problem of insufficient training corpus by utilizing a word vector generated based on a deep learning language model and solves the problem of network popular words and synonyms by utilizing a Chinese search engine encyclopedia, and the core is question classification based on the Chinese search engine encyclopedia and the deep learning model, and comprises the following steps: starting from the semantic structure of Chinese search engine encyclopedia, providing a semantic association degree calculation method based on the encyclopedia link structure of the Chinese search engine and providing an improved algorithm semantic association degree efficient convergence method based on a semantic association degree algorithm; secondly, a traditional word vector representation method is improved, a deep learning language model is adopted to train distributed word vectors, a deep learning Chinese word model is established based on an M-element Chinese word model, Chinese search engine encyclopedia is utilized to preprocess synonyms, network popular words and words lacking in a language model dictionary, word vectors based on the search engine encyclopedia are established, CB-CBC is provided to establish medical question feature vectors, and finally an SVM classifier is adopted to classify the medical questions, so that the classification efficiency and accuracy of the Chinese medical questions are improved;

calculating the semantic association degree based on Chinese search encyclopedia: firstly, analyzing a semantic structure of Chinese search engine encyclopedia, providing an entity naming disambiguation model, extracting link words of the Chinese search engine encyclopedia according to the search engine encyclopedia link structure, providing an improved semantic association algorithm to calculate semantic association, and then providing a semantic association efficient convergence method based on the Chinese search encyclopedia semantic structure according to the characteristics of a massive knowledge base of the Chinese search engine encyclopedia;

chinese medical question classification based on the CB-CBC model: based on the distributed Chinese word vectors, a distributed Chinese word vector model is constructed by deep learning to construct word vectors, a Chinese search engine encyclopedia and deep learning combined model is adopted to construct question feature vectors, and after the dimensions of the questions are reduced, the questions are classified by an SVM method.

The Chinese medical question classification system for deep encyclopedia learning further comprises a semantic structure decomposition step in Chinese search encyclopedia semantic structure processing step: and constructing a feature expansion table by adopting a Chinese word link structure, a term classification structure, term redirection and a concept disambiguation page in the encyclopedia of a search engine.

Chinese word linking structure: the invention uses the characteristic to express the semantic information of the concept, expands the concept characteristic words, some in-site links directly discard the page because no item is created, the out-link of the page in the Chinese search engine encyclopedia is easy to obtain, but the in-link needs to visit all the search engine encyclopedia pages to judge the current page quoted by the page, and in the preprocessing stage, indexes are established for the out-link and the in-link;

the term classification structure: the semantic algorithm fused with WordNet is applied to the semantic relevance calculation of search engine encyclopedia;

term redirection: the redirection page points to the same interpretation page among a plurality of concepts, and the search engine encyclopedia links the concepts into the same interpretation page, so that the number of the search engine encyclopedia concepts is reduced, and the storage space is reduced;

concept disambiguation page: setting a disambiguation page, delivering the selection right to a user, wherein the disambiguation page is an important semantic knowledge mining resource of a search engine encyclopedia and is used for establishing a synonym word bank and a multi-meaning word bank, the concept disambiguation page comprises all word senses of ambiguous words, and each candidate word is briefly explained and linked with the words.

The Chinese medical question classification system for deep encyclopedia learning further comprises the following entity naming disambiguation: a question entity naming disambiguation method based on Chinese search engine encyclopedia is provided, context information of entity naming is used as text information, classification information and word link information of the search engine encyclopedia are used as search encyclopedia characteristics, and relevance between entity naming in a question and search engine encyclopedia concepts is calculated through cosine similarity calculation and Jacard similarity coefficients, so that an optimal matching answer is selected;

jacard similarity calculation for search engine encyclopedia word links and parent nodes: in a question, naming n for an entity to be disambiguated, obtaining context information A of n in the question, wherein A represents a word set of the n context information, mapping words in the set A to search engine encyclopedia concepts, and finding out link words and father nodes of a page of the search engine encyclopedia concepts, wherein the expansion feature word set of n is C ═ a { (a)1,a2,a3,…,amWhere m denotes the number of n-related feature words, and n is a set of candidate words R ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RiThe search engine encyclopedia link word related to the search engine encyclopedia link word is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njObtaining the number of word links through a search engine encyclopedia page, and calculating the association degree T of the sets H and C through a Jacard methodjI.e. TjRepresenting a candidate word njDegree of association of context information with n, TjThe larger the correlation degree is, the higher the correlation degree is, otherwise, the lower the correlation degree is, and the cosine similarity is adopted to calculate the correlation between the correlation degree and the cosine similarity;

calculating the cosine similarity based on search engine encyclopedia classification information: obtaining the context information of the entity name n by a question as A ═ a1,a2,a3,…,amM represents the context information of n, the invention takes the words in the question, and the candidate word set R of n is { n ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RjThe parent node set in the search engine encyclopedia classification hierarchy related to the search engine is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njAnd obtaining the number of word father nodes through a search engine encyclopedia page, and calculating the similarity by adopting a semantic association algorithm.

The Chinese medical question classification system for deep encyclopedia learning further calculates the semantic association degree based on the Chinese search encyclopedia link structure: firstly, extracting a link structure based on encyclopedia of Chinese search engine, and then improving a semantic association algorithm through the extracted word link to obtain a semantic association efficient convergence method based on the link structure;

extracting the link structure: the word links in the subject concepts are words with high association degree between the search engine encyclopedia and the subject concepts, so the invention utilizes the feature of the search engine encyclopedia to expand the feature words, utilizes the related link words of the search engine encyclopedia to expand the question, but is based on the feature of the Chinese search engine encyclopedia: some topic concept pages contain too many related concepts, which increases redundancy of the expansion library if all links are used as expansion words, and the link words exceed a critical value M for the pagemaxThe concept of (1) selecting words having a two-way link relationship with the search engine encyclopedia concept, while some subject concept pages have too few words linked, and the number of words linked to the page is less than a critical value MminThe concept of (1) is adopted, namely, the in-chain and out-chain of the concept are adopted, and the other concepts are taken out-chain of the subject concept page;

semantic association algorithm: the method comprises the steps of firstly mapping text keywords to search engine encyclopedia concepts, representing text vectors by adopting a vector space model, expressing weights of the text vectors by adopting TF-IDF values, then calculating the association degree between texts by cosine similarity, expressing unlimited texts by using fine-grained semantics by adopting a semantic association algorithm, generating a high-dimensional vector space by adopting the search engine encyclopedia mapping, and setting TF-IDF critical values to filter noise data.

The implementation process of the semantic association algorithm is as follows:

the first process is as follows: after all pages of the search engine encyclopedia are subjected to word segmentation preprocessing, each word k is countedjThe TF-IDF value of a certain search encyclopedia concept page is wj

And a second process: establishing a word kjAnd search engine encyclopedia concepts sjInverted index, representing the word kjAnd search engine encyclopedia concepts sjWith w, ofjEach term k represents a weight between themjWith multiple search engines encyclopedia concepts sjThey are according to the TF-IDF value, i.e. wjSorting by size;

the third process: after two text participles with the relevance calculated are preprocessed, a word set Rd ═ k is respectively usedj}、Re={kjMeans that the word k in the text is calculated separatelyjVector for TF-IDF value { ujDenotes ujRepresents kjThe weight of (c);

the process four is as follows: word k in text RdjMapping to search engine encyclopedia concepts s through inverted indexingjA word kjWith multiple search engines encyclopedia concepts sjSo summing them to obtain sjWeight Q ofjVector space { Q for text Rd1,Q2,Q3,Q4,…,QmExpressing m represents the encyclopedia concept number of a search engine, and solving Re in the same way;

and a fifth process: and solving the association degree Gld (Rd, Re) of the two text vectors by using the cosine value.

The Chinese medical question classification system for deep encyclopedia learning further comprises a semantic association degree efficient convergence method: the method comprises the steps of considering the weight of a link word in a search engine encyclopedia concept page instead of the weight of all words in the page, continuously carrying out expansion and convergence calculation on the link word, calculating the weight of each link word by adopting a word weight calculation method based on the number of links, calculating the weight according to the number of links of other search engine encyclopedia concepts, and calculating the weight of a word link r in an article c according to a formula shown in a formula 2:

wherein, R represents the number of links to K from other concepts in the search engine encyclopedia, K represents the number of links in the search engine encyclopedia, and | R | +1 is to prevent the denominator in the formula from being 0;

compared with a semantic association algorithm, the semantic association efficient convergence method is different in that: only counting the weight of the link words of the search engine encyclopedic concept page, continuing to expand the feature words of the link words, calculating the association degree of the expanded word set and the word set of the previous order, adding the words larger than a certain association degree critical value into the set of the next order, repeating the process until the words in the set are not changed, efficiently converging the semantic association degree by finding out the expansion set of the words, then converging the set, and calculating two words kd、keThe semantic association degree is realized by the following specific steps:

the first step is as follows: counting the weight of the search engine encyclopedic page link word kj, and calculating the weight as wj

The second step is that: for the word kdThrough search engine encyclopedia mapping, if search engine encyclopedia concepts equal to the search engine encyclopedia concepts are found, a word set D containing links in a page is obtained, and if the search engine encyclopedia concepts equal to the search engine encyclopedia concepts are not found, a set containing the link words in the page is set to be G;

the third step: respectively finding out respective link word sets Jh for the words in the set D through search engine encyclopedia concept mapping;

the fourth step: semantic association degree calculation is respectively carried out on the words in the set Jh and the words in the set D, an association degree average value Avg is calculated, if the association degree average value Avg is larger than a certain artificially set critical value T, the words are added into the set D to become a new set DjOtherwise, abandoning;

the fifth step: repeating the third step and the fourth step until the set DjThe number of the middle elements is not changed any more;

and a sixth step: solving the word k in the same wayeSet EjUsing Jacobsad coefficient to calculate the relevance T (k) of wordsd,ke)。

The Chinese medical question classification system for deep encyclopedia learning further comprises a deep learning representation word vector: according to a distributed word vector representation method, a distributed Chinese word vector representation model based on combination of search engine encyclopedia and deep learning is provided, and each question sentence consists of keywords;

the distributed word vector representation method comprises the following steps: the method comprises the steps of adopting a distributed word vector representation method, representing a word by a full vector, representing the dimensionality by 50-200 dimensionality, adopting a word2vec method for vector representation training, training a corpus by a statistic method TF-IDF, firstly, giving a sufficiently large corpus, counting word vectors after TF-IDF results of the Chinese words in various fields are obtained, thinking out Chinese words similar to the word vectors after the word vectors are obtained, and obtaining the similarity between the words by a cosine distance or Euclidean distance formula;

deep learning characterizes distributed chinese word vectors: firstly, for a word polysemy phenomenon in a question sentence, utilizing a search engine encyclopedia to eliminate an ambiguous page, for a synonym, when a characteristic word in the question sentence is matched with the search engine encyclopedia concept, the synonym is represented by the same vector, the search engine encyclopedia adopts an open group editing method, and a deep learning language model not only considers the occurrence frequency of the word, but also considers the grammar, the semantics and the context relationship of the word.

The Chinese medical question classification system for deep encyclopedia learning further comprises an M-element Chinese word model: the Chinese word model is an abstract mathematical modeling for describing natural language, judges whether the grammar, syntax and semantics of a sentence are correct or not, counts word frequency from a non-labeled natural language text, calculates semantic relation, and establishes a mathematical model according to the sequence of words to obtain a Chinese word model;

the language model is formalized as a character string C containing M words, and the character string C is obtainedProbability Q (k) that a string is a natural language1,k2,k3,…,Km). Wherein k isjJ ∈ (1, m) represents a Chinese word in the character string C, and the probability of obtaining C is shown as formula 3:

Q(C)=Q(k1,k2,k3,…,km)=Q(k1)Q(k2|k1)…Q(kn|k1,…km-1) Formula 3

Wherein Q (k)2|k1) Indicates the occurrence of k1On the premise of2Probability of (2), Q (k)n|k1,…km-1) Representing the probability of a word before it appears, assuming an arbitrary Chinese word kjProbability of occurrence only with the word k preceding itj-1In relation to this, the probability of the character string C is expressed by equation 4:

Q(C)=Q(k1)Q(k2|k1)Q(k3|k2)…Q(km|km-1) Formula 4

The language model represented by formula 4 is a binary Chinese word model, and the Chinese word model determined by the preceding M-1 words is an N-gram Chinese word model.

The Chinese medical question classification system for deep encyclopedia learning further comprises a deep learning Chinese word model: the first layer is an input layer and represents word vectors of s Chinese words before and after a certain Chinese word, the vectors have a total W dimension, the second layer is a projection layer and is a Sum of the words of s words before and after the certain Chinese word, Sum is also a W-dimension vector, the third layer is an output layer, the Chinese word r is on a leaf node of a Huffman tree, and the input Chinese word is KrThe leaf nodes of the Huffman tree are constructed according to the occurrence times of Chinese words by a dictionary, each Chinese word is unique, a hierarchical Softmax algorithm and a deep learning Chinese word model are combined for use, the hierarchical Softmax algorithm is combined with Huffman coding, each leaf node in the Huffman tree is accessed by a unique path from a root node of the tree, the path is the Huffman coding code of the Chinese word, and a given Chinese word can quickly find the corresponding Huffman coding;

depth studyThe Chinese word model judges whether a sentence is normal natural language, and judges that the sentence is not normal natural language by calculating the probability joint probability of a series of phrases, if the joint probability is lower than a certain critical value, otherwise, for the network layer graph, a character string C comprises a series of Chinese words k1,k2,…,kRThe probability that the character string C is natural language is calculated by using formula 5:

ctex in formula 5jDenotes the context of the Chinese word, i.e. s Chinese words before and after it, s being randomly generated, q (k)j|Ctextj) The probability that the Chinese word reappears when s Chinese words appear before and after is shown.

The Chinese medical question classification system for deep encyclopedic learning further comprises the following steps that CB-CBC constructs a medical question feature vector: the method for training the question feature word vector by combining deep learning and Chinese search engine encyclopedia and constructing the question feature vector by adopting the CB-CBC model comprises the following steps:

step 1: acquiring a medical question corpus Med, and preprocessing all the questions by using a word segmentation tool ANSJ to obtain a word segmentation pRdction. txt file;

step 2: taking the pRdction.txt file as an input text of a Word2vec tool, and training for a certain time to obtain a Word vector file vec.txt, wherein the dimensionality of each vector is W dimension;

and 3, step 3: constructing a question feature vector for each question of a medical question file Med, if the words in the question are not in Vec.txt, expanding feature words by a search engine encyclopedia semantic association efficient convergence method, wherein the feature words use TF-IDF to represent vector weight; and if the word does not exist in the search engine encyclopedia concept, constructing a w-dimensional 0 vector, and obtaining a feature space of Med _ Vec.txt by all medical question sentences.

The Chinese medical question classification system for deep encyclopedic learning further reduces the dimension of the feature vectors of the medical questions in Chinese medical question classification: a feature word association degree merging strategy is proposed to reduce the dimension of a question feature vector space, firstly, preprocessing words and stop words is carried out on a Chinese question set, and feature words are used for representing Chinese questions; then, calculating the relevance between every two feature words, and constructing a relevance descending link table; finally, deleting redundant feature dimensions for the combined feature space dimensions with the relevance greater than a certain critical value;

the characteristic space dimension reduction model algorithm comprises the following steps:

step one, preprocessing the Chinese question set by word segmentation and word stop, and merging all question feature words into a set C ═ k1,k2,k3,…,km};

Secondly, calculating the association degree T between every two words in the set C by utilizing a semantic association degree efficient convergence methodjiJ and i are in the ranges 1. ltoreq. j.ltoreq.m, 1. ltoreq. i.ltoreq.n, where Tji=Tij

Constructing a descending linked list according to the word association degree, wherein the head node of the linked list represents a certain characteristic word, and other nodes of the linked list represent the association degrees of the rest words and the head node and are arranged in a descending order according to the association degrees;

step four, constructing question feature vector space, and a certain question PjExpressed as a feature vector Pj=(pj1,pj2,…,pjm) M represents the total number of all question feature words, and if n question words exist, an n multiplied by n feature vector matrix is formed;

step five, setting a correlation degree critical value a, scanning a correlation degree link table, and if the correlation degree T is foundjiA or more, adding the value of the jth column and the ith column, and for Tji(kj,ki) Not less than a, and Tiw(ki,kw) ≧ a, requiring recalculation of Tiw(ki,kw) The word association degree has no transitivity;

and step six, deleting redundant feature vector dimensions after the combined feature vector dimensions are obtained.

Compared with the prior art, the invention has the following contributions and innovation points:

firstly, the invention provides a method for constructing a feature vector more efficiently and accurately by utilizing a semantic structure of Chinese search encyclopedia and integrating a deep learning method, and the main innovation points comprise: firstly, a semantic association degree efficient convergence method based on a Chinese search encyclopedia semantic structure is provided, a network inquiry question feature vector is constructed, firstly, a semantic association degree algorithm is improved based on the features of a medical question, the defects that the speed is low when the feature vector is constructed are overcome, and feature words are expanded by extracting Chinese search encyclopedia word links; secondly, a distributed Chinese word vector space based on a CB-CBS language model is provided, the high-efficiency reduction of the query sentence characteristic vector of the network inquiry is realized, the problem of data sparseness is avoided, the inquiry classification efficiency is greatly improved, the problems of overlarge dimension, data sparseness and the like are easily caused when the query sentence characteristic vector is constructed by the traditional method, different distributed vectors of synonyms are generated when the distributed Chinese word vector is constructed by adopting deep learning, and the invention can not identify the new words of the network well because of the limitation of the corpus, the invention adopts the CB-CBS model combining Chinese search encyclopedia and deep learning to construct the distributed medical question word vector, and crawls 56.4 ten thousand medical questions from the Xinlangai questions to construct the professional medical question corpus, then, a semantic association degree evaluating method is adopted to carry out evaluation, so that the accuracy of word association degree and the classification efficiency of medical question sentences can be obviously improved;

secondly, compared with the semantic association algorithm, the semantic association efficient convergence method has the following obvious advantages: only the weight of the link words of the search engine encyclopedia concept page is counted, then the feature word expansion is continuously carried out on the link words, the correlation calculation is carried out on the expanded word set and the word set of the previous order, the words which are more than a certain correlation critical value are added into the set of the next order, the process is repeated until the words are collected and not changed, the semantic correlation high-efficiency convergence method is to find out the expansion set of the words and then carry out the convergence, the huge concept library of the search engine encyclopedia is effectively utilized, all the words can be basically processed, the coverage is wider, the network new words and the proprietary nouns are also processed with better effect, a corpus is not required to be trained, the method efficiency is higher, the semantic correlation algorithm can be used for calculating the correlation between the text and the text, between the words and the text, between the text and the words, and the semantic correlation algorithm is high in accuracy, the difference of semantics is considered, noise data are not easy to introduce, and the calculation amount is moderate;

thirdly, the invention carries on training to the corpus of question sets, after training, analyzes and finds many synonyms in the question, but they are inaccurate in similarity because of lack of training corpus, and word language in some dictionaries is not abundant enough, so it uses massive knowledge base of search engine encyclopedia to eliminate the error of synonym, and solves the word vector construction problem of unrecorded word The deep learning language model not only considers the occurrence frequency of words, but also considers the grammar, the semantics and the context relationship of the words, and the characteristic word vector obtained by the method can be more conveniently used;

fourthly, when the traditional Chinese question is classified, the problems of overlarge dimensionality of the question feature vector and sparse data are often encountered, so that the calculation cost of the relevance is overhigh, the invention provides a combination strategy of the relevance degree of the feature words to reduce the dimension of the question feature vector space, and compared with the Chinese question feature vector in the prior art, the Chinese question feature vector has the advantages that: firstly, the traditional question classification usually expresses the question as a word bag vector, but the Chinese question classification method provided by the invention expands the characteristic words of the question by using the search engine encyclopedia concept, so that the problem of sparse characteristic vectors of the question is reduced; secondly, the dimension of the traditional question classification feature vector is large, and an effective dimension reduction strategy is not adopted;

fifthly, the appearance of the intelligent question-answering system brings brand-new experience to users, the user intention can be judged more accurately, the users can obtain answers more directly and quickly through the question-answering system, Chinese question classification directly influences the accuracy of the intelligent question-answering system, and the intelligent question-answering system plays an important role in question clustering and extraction, but Chinese questions are short and small, and clustering of the questions is difficult by using an effective method, and problems such as sparse feature vector matrix data, overlarge dimension and the like are caused according to a traditional method for constructing a feature word space. The invention provides a method for generating word vectors based on a deep learning language model, simultaneously solving the problem of insufficient training corpus and solving the problem of network popular words and synonyms by utilizing a Chinese search engine encyclopedia, the core of the method is to classify questions based on the Chinese search engine encyclopedia and the deep learning model, provide a semantic association degree calculation method based on a Chinese search engine encyclopedia link structure, provide an improved algorithm semantic association degree high-efficiency convergence method based on a semantic association degree algorithm, improve the traditional word vector representation method, utilize the Chinese search engine encyclopedia to preprocess synonyms, network popular words and words lacking in a language model dictionary, construct word vectors based on the search engine encyclopedia, provide CB-CBC to construct medical question feature vectors, and finally, utilize an SVM classifier to classify the medical questions, the Chinese medical question classification efficiency is greatly improved, and the accuracy of the association degree between the words is obviously improved.

Drawings

FIG. 1 is a flow chart of the entity name disambiguation computation of the present invention.

FIG. 2 is a flow chart of the semantic relatedness algorithm of the present invention.

FIG. 3 is a flow chart of the deep learning Chinese word model combined with the hierarchical Softmax algorithm of the present invention.

FIG. 4 is a diagram of a dimension reduction model for merging feature word spaces according to the present invention.

Detailed description of the invention

The technical scheme of the deep encyclopedic learning Chinese medical question classification system provided by the invention is further described below with reference to the accompanying drawings, so that the technical scheme can be better understood and implemented by those skilled in the art.

Mobile medicine is rapidly developed in recent years, online inquiry is the most practical application of the mobile medicine, more and more attention is paid, intelligent question answering is used as a key technology in online inquiry, the quality and the user experience of the emerging diagnosis and treatment service are directly influenced, one of the core problems of the intelligent question answering is to efficiently classify questions, but the medical questions are characterized in that the keywords of the questions are few and consist of diseases or symptoms, questioning words and verbs, the method for constructing inquiry feature vectors in the prior art is low in efficiency, the error of a full-text indexing method is large, and the problem of classification of the medical questions is more prominent in a Chinese environment.

The invention provides a method for constructing a feature vector more efficiently and accurately by utilizing a semantic structure of Chinese search encyclopedia and integrating a deep learning method, and the main innovative work of the invention comprises the following steps: firstly, a semantic association degree efficient convergence method based on Chinese search encyclopedia semantic structure is provided, and a network inquiry question feature vector is constructed; secondly, a distributed Chinese word vector space based on a CB-CBS language model is provided, the efficient reduction of the characteristic vector of the inquiry sentence of the network inquiry and the avoidance of the data sparseness problem are realized, the inquiry classification efficiency is greatly improved, the problems of overlarge dimensionality, data sparseness and the like are easily caused when the characteristic vector of the inquiry sentence is constructed by the traditional method, the construction of the distributed Chinese word vector by adopting deep learning can cause different distributed vectors of synonyms, and the network new words can not be well recognized under the limitation of a corpus, so the invention adopts the CB-CBS model combining Chinese search encyclopedia and deep learning to construct the distributed medical inquiry word vector, and in order to verify the feasibility and the high efficiency of the method provided by the invention, the invention crawls 56.4 thousands of medical inquiry problems from the Xinlangai, constructs a professional medical inquiry sentence corpus, and then adopts a semantic association degree evaluation method to carry out evaluation, experimental results show that the method can obviously improve the accuracy of word association degree and the classification efficiency of medical question sentences.

Firstly, calculating semantic association degree based on Chinese search encyclopedia

The method comprises the steps of firstly analyzing a semantic structure of Chinese search engine encyclopedia, providing an entity naming disambiguation model, then extracting link words of the Chinese search engine encyclopedia according to the search engine encyclopedia link structure, providing an improved semantic association algorithm to calculate semantic association, and then providing a semantic association efficient convergence method based on the Chinese search encyclopedia semantic structure according to the characteristics of a massive knowledge base of the Chinese search engine encyclopedia.

Chinese search encyclopedia semantic structure processing

The encyclopedia of the Chinese search engine has a word index, pages also have rich semantic structures, internal and external hyperlinks related to concepts are arranged on the pages, a tree structure directory of the concepts sets ambiguous pages for a word polysemous phenomenon, synonyms set a series of optimization strategies for redirecting the pages, and the encyclopedia of the Chinese search engine makes fundamental work for semantic knowledge mining.

1. Decomposing semantic structures

A page of Chinese search engine encyclopedia corresponds to a concept which is edited by a search engine encyclopedia volunteer, the concept can be a noun, a verb, a phrase object or an event, the search engine or the Chinese search engine encyclopedia is used for searching and positioning to an explanation page, the explanation page comprises a plurality of in-site links and out-site links, the links are directly jumped to a specified page, reading of association knowledge is facilitated, reading experience is improved, the first section of the explanation page is a concept definition field which helps to quickly know concept ideas, for a page directory of an explanation page analogy book directory with a long page, content introduced in each section is positioned, the category of the concept is annotated at the bottommost of the page, each concept belongs to a plurality of categories, all concepts of the Chinese search engine encyclopedia form a directed graph structure, and one node in the graph represents one concept.

The invention relates to a Chinese search engine encyclopedia page with some special semantic structures.

(1) Chinese word linking structure

The invention uses the characteristic to represent the semantic information of the concept and expand the concept characteristic words, but the off-site link does not reflect the specific semantic association information, some in-site links do not create entries, the pages are directly abandoned, the outgoing links of the pages in the Chinese search engine encyclopedia are easy to obtain, but the incoming links need to visit all the search engine encyclopedia pages to judge which pages to quote the current pages, so during the pre-processing phase, it is necessary to index both out-links and in-links.

(2) Lexical item classification structure

All concepts in the Chinese search engine encyclopedia are classified according to certain categories, the page information of the search engine encyclopedia is effectively managed, the hierarchical relationship among the concepts is reflected by a classification structure, the classification page only has a category link relationship, each concept page belongs to one or more categories, the classification graph structure and a semantic dictionary WordNet of the Chinese search engine encyclopedia have many same characteristics, and the semantic algorithm fused with the WordNet is applied to semantic relevance calculation of the search engine encyclopedia.

(3) Term redirection

The redirection page is a page with a special structure, does not contain an explanation page, only contains a redirection link, points to the same explanation page among a plurality of concepts, and is linked into the same explanation page by the search engine encyclopedia, so that the number of the search engine encyclopedia concepts is effectively reduced, and the storage space is reduced.

(4) Concept disambiguation page

The disambiguation page is an important semantic knowledge mining resource of a search engine encyclopedia and is used for establishing a synonym word bank and a multi-meaning word bank, the concept disambiguation page comprises all word senses of the ambiguous words, short explanation and word link are performed on each candidate word, and the user can conveniently select the needed explanation page.

2. Entity naming disambiguation

The invention provides a Chinese search engine encyclopedia-based question entity naming disambiguation method, which is characterized in that context information of entity naming is used as text information, classification information and word link information of search engine encyclopedia are used as search encyclopedia characteristics, and the relevance between the entity naming in a question and search engine encyclopedia concepts is calculated through cosine similarity calculation and Jacard similarity coefficients, so that the optimal matching answer is selected.

(1) Jacard similarity calculation for search engine encyclopedia word links and father nodes

In a question, naming n for an entity to be disambiguated, obtaining context information A of n in the question, wherein A represents a word set of the n context information, mapping words in the set A to search engine encyclopedia concepts, and finding out link words and father nodes of a page of the search engine encyclopedia concepts, wherein the expansion feature word set of n is C ═ a { (a)1,a2,a3,…,amWhere m denotes the number of n-related feature words, and n is a set of candidate words (ambiguous words) R ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RiThe search engine encyclopedia link word related to the search engine encyclopedia link word is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njObtaining the number of word links through search engine encyclopedia pageCalculating the relevance T of the set H and the set C by the Jacard methodjI.e. TjRepresenting a candidate word njDegree of association of context information with n, TjThe larger the correlation, the higher the correlation, and conversely, the lower the correlation. The entity naming disambiguation calculation flow is shown in fig. 1.

Although Jacard calculation is convenient and simple and algorithm efficiency is high, fewer feature words are obtained through search engine encyclopedia links, fewer common words are in a set, the result of the Jacard similarity coefficient is 0, question classification is not facilitated, and the cosine similarity is adopted to calculate the relevance between the Jacard similarity coefficient and the set.

(2) Calculating cosine similarity based on search engine encyclopedia classification information

Obtaining the context information of the entity name n by a question as A ═ a1,a2,a3,…,amThe invention takes words in a question sentence, the question sentence is only about 4 words, and a candidate word (ambiguous word) set R of n is { n ═ n1,n2,n3,…,nwW represents the number of n ambiguous words, and n is any candidate word in the set RjThe parent node set in the search engine encyclopedia classification hierarchy related to the search engine is H ═ nj1,nj2,nj3,nj4,…,njiI denotes a candidate word njAnd obtaining the number of word father nodes through a search engine encyclopedia page, and calculating the similarity by adopting a semantic association algorithm.

(II) calculating semantic association degree based on Chinese search encyclopedia link structure

Firstly, extracting a link structure based on encyclopedia of Chinese search engine, and then improving a semantic association algorithm through the extracted word link to obtain a semantic association efficient convergence method based on the link structure.

1. Abstraction link structure concept

In the search engine encyclopedia, corresponding explanation pages are provided for each topic concept, each explanation page comprises links of other topic concepts, some links are invalid links, and other links have stronger association with the topic concept, and the links are semantically similar to similar words,the concept of links is divided into three categories according to direction: firstly, other related pages are linked to the theme concept D in a single direction and are taken as an in-link; secondly, the subject concept is linked to other pages in a single direction to be an outgoing chain; third, bi-directional linking of words in the subject page. The word links in the subject concepts are words with high association degree between the search engine encyclopedia and the subject concepts, so the feature word expansion is carried out by utilizing the feature of the search engine encyclopedia, Chinese question sentences are short and short, the number of the possessed feature words is only about 3, the formed feature matrix data is sparse, and the clustering of the question sentences is not facilitated. Therefore, the invention expands the question sentence by using the related link words of the search engine encyclopedia, but based on the encyclopedia characteristics of the Chinese search engine: some topic concept pages contain too many related concepts, which increases redundancy of the expansion library if all links are used as expansion words, and the link words exceed a critical value M for the pagemaxThe concept of (1) selecting words having a two-way link relationship with the search engine encyclopedia concept, while some subject concept pages have too few words linked, and the number of words linked to the page is less than a critical value MminThe concept of (1) is used for in-and out-chaining, and the other concepts are used for out-chaining of the subject concept page.

The embodiment lists the expansion words of three search engine encyclopedia subject concepts, the word link of the first subject concept page exceeds a critical value MmaxThe word link number of the third topic concept page is less than MminThe second word link number is between MmaxAnd MminAnd judging that the word links of the page have certain relevance with the theme, and performing relevance calculation by using the link relation.

2. Semantic association degree efficient convergence method

(1) Semantic association algorithm

The method comprises the steps of firstly mapping text keywords to search engine encyclopedia concepts, representing text vectors by adopting a vector space model, expressing weights of the text vectors by adopting TF-IDF values, then calculating the association degree between texts by cosine similarity, expressing unlimited texts by using fine-grained semantics by adopting a semantic association algorithm, generating a high-dimensional vector space by adopting the search engine encyclopedia mapping, and setting TF-IDF critical values to filter noise data.

The implementation process of the semantic association algorithm is as follows:

the first process is as follows: after all pages of the search engine encyclopedia are subjected to word segmentation preprocessing, each word k is countedjThe TF-IDF value of a certain search encyclopedia concept page is wj

And a second process: establishing a word kjAnd search engine encyclopedia concepts sjInverted index, representing the word kjAnd search engine encyclopedia concepts sjWith w, ofjEach term k represents a weight between themjWith multiple search engines encyclopedia concepts sjThey are according to the TF-IDF value, i.e. wjSorting by size;

the third process: after two text participles with the relevance calculated are preprocessed, a word set Rd ═ k is respectively usedj}、Re={kjMeans that the word k in the text is calculated separatelyjVector for TF-IDF value { ujDenotes ujRepresents kjThe weight of (c);

the process four is as follows: word k in text RdjMapping to search engine encyclopedia concepts s through inverted indexingjA word kjWith multiple search engines encyclopedia concepts sjSo summing them to obtain sjWeight Q ofjVector space { Q for text Rd1,Q2,Q3,Q4,…,QmExpressing m represents the encyclopedia concept number of a search engine, and solving Re in the same way;

and a fifth process: and solving the association degree Gld (Rd, Re) of the two text vectors by using the cosine value.

FIG. 2 shows a flow chart of the semantic relatedness algorithm. Rd is represented by a vector space model as: a ═ Q1,Q2,Q3,Q4,…,Qm}, calculating ReUsing cosine correlation, equation 1:

the semantic association algorithm effectively utilizes a huge concept library of search engine encyclopedia, can basically process all words, has wider coverage, has better effect on processing new words and proper nouns of a network, does not need to train a corpus, has higher efficiency, can be used for calculating the association between texts and texts, between words and between texts and words, and has high accuracy. However, the semantic association algorithm has obvious disadvantages that semantic differences are not considered, some words have word ambiguity, the semantic association algorithm is simple concept mapping and is easy to introduce noise data, in addition, the semantic association algorithm needs to consider all data of search engine encyclopedia pages, more time and resources are consumed in a preprocessing stage, a text vector is represented to include all search engine encyclopedia concepts, the vector dimension reaches 90 ten thousand, and the calculated amount is too large.

(2) Semantic association degree efficient convergence method

In order to solve the problem of overlarge dimensionality during calculation of the semantic association algorithm, the invention provides a method for continuously performing expansion and convergence calculation on link words by considering the weight of the link words in a search engine encyclopedia page instead of the weight of all words in the page, so as to reduce the interference of noise data and reduce the complexity of calculation, a word weight calculation method based on the number of links is adopted for calculating the weight of each link word, the weight is calculated according to the number of links of other search engine encyclopedia concepts, and the formula for calculating the weight of word link r in an article c is shown as formula 2:

where R represents the number of links to K for other concepts in the search engine encyclopedia, K represents the number of links in the search engine encyclopedia, and | R | +1 is to prevent the denominator in the formula from being 0.

Compared with a semantic association algorithm, the semantic association efficient convergence method is different in that: only counting the weight of the search engine encyclopedia concept page link words and then continuingContinuing to expand the characteristic words of the link words, calculating the association degree of the expanded word set and the word set of the previous order, adding the words larger than a certain association degree critical value into the set of the next order, repeating the process until the words in the set are not changed, efficiently converging the semantic association degree by finding out the expanded set of the words, then converging the set, and calculating two words kd、keThe semantic association degree is realized by the following specific steps:

the first step is as follows: counting the weight of the search engine encyclopedic page link word kj, and calculating the weight as wj

The second step is that: for the word kdThrough search engine encyclopedia mapping, if search engine encyclopedia concepts equal to the search engine encyclopedia concepts are found, a word set D containing links in a page is obtained, and if the search engine encyclopedia concepts equal to the search engine encyclopedia concepts are not found, a set containing the link words in the page is set to be G;

the third step: respectively finding out respective link word sets Jh for the words in the set D through search engine encyclopedia concept mapping;

the fourth step: semantic association degree calculation is respectively carried out on the words in the set Jh and the words in the set D, an association degree average value Avg is calculated, if the association degree average value Avg is larger than a certain artificially set critical value T, the words are added into the set D to become a new set DjOtherwise, abandoning;

the fifth step: repeating the third step and the fourth step until the set DjThe number of the middle elements is not changed any more;

and a sixth step: solving the word k in the same wayeSet EjUsing Jacobsad coefficient to calculate the relevance T (k) of wordsd,ke)。

Chinese medical question classification based on CB-CBC model

Due to the characteristics of Chinese question, the text classification algorithm in the prior art has poor classification effect on the question. The invention provides a question classification model based on the combination of Chinese search engine encyclopedia and deep learning, which is firstly compared with the traditional word vector representation method, then adopts the semantic structure of the Chinese search engine encyclopedia to preprocess the polysemous words and synonyms of the question, constructs the characteristic distributed Chinese word vector in the question, and uses an SVM classifier to classify the Chinese question.

Deep learning token word vector

The Chinese question contains rich semantic information, has a complex structure, diversified question forms, and multiple meanings and synonymy relation dependencies among words, and most of the Chinese questions are short and small, only contain few keywords, and have a great problem in question classification. At present, a widely used text representation method is a vector space model, and although the representation method is simple and clear and has high efficiency, the result of vector sparseness and overlarge dimensionality is also caused, the semantic relation among words cannot be well described, the error of the calculated similarity is large, and the accuracy of the test is influenced. Aiming at the problems, the invention provides a distributed Chinese word vector representation model based on the combination of search engine encyclopedia and deep learning according to a distributed word vector representation method, and each question sentence consists of keywords.

1. Distributed word vector representation method

Before the natural language is processed by the learning algorithm of the machine, the natural language needs to be expressed into a language which can be identified by the machine, and the word vector is the mathematical processing of the natural language and expresses each Chinese word into a series of numbers. The invention adopts a distributed word vector representation method, a full vector represents a word, the dimension is represented by 50 to 200 dimensions, the vector representation training adopts a word2vec method, each word is under different corpora and different training methods, the obtained word vector is also different, the embodiment utilizes a statistical method TF-IDF to train the corpora, firstly a sufficiently large corpora is given, the corpora comprises multiple aspects of science and technology, humanity, health, news, entertainment and life, word vectors are counted after TF-IDF results of the Chinese words in various fields, after the word vectors are obtained, Chinese words similar to the word vectors are imagined, and the similarity between the words is obtained by utilizing a cosine distance or Euclidean distance formula.

2. Deep learning characterization distributed Chinese word vector

The invention carries on training to the corpus of question sets, after training, analyzes and discovers many synonyms in the question, but they are inaccurate in similarity because of lack of training corpus, and word language is not abundant enough in some dictionaries, so it uses massive knowledge base of search engine encyclopedia to eliminate the error of synonym and solve the word vector construction problem of unregistered word Network expressions and hot events, and the question preprocessing quality is improved.

The deep learning language model not only considers the frequency of occurrence of words, but also considers the grammatical, semantic and contextual relationships of the words. The feature word vector obtained by the method can be more conveniently used.

(II) deep learning construction of distributed Chinese word vector model

M-element Chinese word model

The Chinese word model is an abstract mathematical modeling for describing natural language, judges whether the grammar, syntax and semantics of a sentence are correct or not, counts word frequency from a non-labeled natural language text, calculates semantic relation, and establishes a mathematical model according to the sequence of words to obtain the Chinese word model.

The language model is formalized as a character string C containing M words, and the probability Q (k) that the character string is a natural language is obtained1,k2,k3,…,Km). Wherein k isjJ ∈ (1, m) represents a Chinese word in the character string C, and the probability of obtaining C is shown as formula 3:

Q(C)=Q(k1,k2,k3,…,km)=Q(k1)Q(k2|k1)…Q(kn|k1,…km-1) Formula 3

WhereinQ(k2|k1) Indicates the occurrence of k1On the premise of2Probability of (2), Q (k)n|k1,…km-1) Representing the probability of a word before it appears, assuming an arbitrary Chinese word kjProbability of occurrence only with the word k preceding itj-1In relation to this, the probability of the character string C is expressed by equation 4:

Q(C)=Q(k1)Q(k2|k1)Q(k3|k2)…Q(km|km-1) Formula 4

The language model represented by formula 4 is a binary Chinese word model, and the Chinese word model determined by the preceding M-1 words is an N-gram Chinese word model.

2. Deep learning Chinese word model

The deep learning Chinese word model is shown in FIG. 3. The first layer is an input layer and represents word vectors of s Chinese words before and after a certain Chinese word, the vectors have a W dimension in total, the second layer is a projection layer and is a Sum of the words of s words before and after the certain Chinese word, Sum is also a W-dimension vector, the third layer is an output layer, the Chinese word r is on a leaf node of a Huffman tree, and the input Chinese word is different from the Chinese word on the leaf node. The input Chinese word is KrThe leaf nodes of the Huffman tree are constructed by a dictionary according to the occurrence times of Chinese words, and each Chinese word is unique. In order to accelerate the query speed, a hierarchical Softmax algorithm and a deep learning Chinese word model are combined for use, the hierarchical Softmax algorithm is combined with Huffman coding, a Chinese word k in each leaf node in a Huffman tree is accessed from a root node of the tree through a unique path, and the path is the Huffman coding code of the Chinese word, so that the corresponding Huffman coding can be found out very quickly by giving one Chinese word.

The deep learning Chinese word model judges whether a sentence is a normal natural language, and judges that the sentence is not the normal natural language if the joint probability is lower than a certain critical value by calculating the joint probability of a series of phrases, otherwise, the sentence is the normal natural language. For the network layer graph of FIG. 3, there is a string C containing a series of words, the word k1,k2,…,kRComposition, the character string C is natural languageThe probability of (c) is given by equation 5:

ctex in formula 5jDenotes the context of the Chinese word, i.e. s Chinese words before and after it, s being randomly generated, q (k)j|Ctextj) The probability that the Chinese word reappears when s Chinese words appear before and after is shown.

(III) medical question classification using CB-CBC model

CB-CBC construction of medical question feature vectors

The word vector training of the question corpus by utilizing deep learning has the characteristics of high speed and high efficiency, but for some synonyms, the processing effect of network popular words is not good. However, the Chinese search engine encyclopedia has rich corpus resources, adopts crowdsourcing form editing, and is fast to update the network popular words. In addition, the search engine encyclopedia also provides ambiguous pages, and has great advantages for distinguishing synonyms. Therefore, the invention trains the question feature word vector by combining deep learning and Chinese search engine encyclopedia, and the method for constructing the question feature vector by adopting the CB-CBC model comprises the following steps:

step 1: acquiring a medical question corpus Med, and preprocessing all the questions by using a word segmentation tool ANSJ to obtain a word segmentation pRdction. txt file;

step 2: taking the pRdction.txt file as an input text of a Word2vec tool, and training for a certain time to obtain a Word vector file vec.txt, wherein the dimensionality of each vector is W dimension;

and 3, step 3: constructing a question feature vector for each question of a medical question file Med, if the words in the question are not in Vec.txt, expanding feature words by a search engine encyclopedia semantic association efficient convergence method, wherein the feature words use TF-IDF to represent vector weight; and if the word does not exist in the search engine encyclopedia concept, constructing a w-dimensional 0 vector, and obtaining a feature space of Med _ Vec.txt by all medical question sentences.

Example (b): "what are the treatment methods for cerebral hemorrhage? The method comprises the steps of training a corpus through Word2vec, removing words with the occurrence frequency less than 5, establishing a dictionary for other words, and finally generating a Word vector for each Word in the dictionary (the vector dimension is 50), wherein the vector of cerebral hemorrhage does not exist in vec.txt in the trained dictionary, so that the 50-dimensional vector is constructed through a search engine encyclopedia, and the feature words are expanded by utilizing a semantic association degree efficient convergence method to obtain the TF-IDF value of the expansion Word. Setting the number of the characteristic words as n (the value of n in the invention is 4) for the question, deleting more than n characteristic words in the question, wherein the sequence of deleting word vectors is as follows: the stop words of the class of ' having ' and ' are deleted firstly, the question words of the class of ' which ' and ' do ' are deleted in the second deleting sequence, and finally the verb or the noun are deleted. The final question is "what are the treatment methods for cerebral hemorrhage? The feature vector of "is" cerebral hemorrhage/treatment/method/which "word segmentation vectors are connected to form a 4 x 50-200 dimensional vector. The next step is how to reduce the dimension of the question feature vector, and then the SVM classifier classifies the question feature vector.

2. Chinese medical question classification

(1) Dimension reduction of feature vector of medical question

When traditional Chinese question classification, often encounters the problems of too large dimensionality of question feature vectors and sparse data, which results in too high correlation degree calculation cost, the invention provides a feature word correlation degree merging strategy to reduce the dimension of question feature vector space, and compared with the Chinese question feature vectors in the prior art, the Chinese question feature vectors of the invention have the advantages that: firstly, the traditional question classification usually expresses the question as a word bag vector, but the Chinese question classification method provided by the invention expands the characteristic words of the question by using the search engine encyclopedia concept, so that the problem of sparse characteristic vectors of the question is reduced; secondly, the dimension of the traditional question classification feature vector is larger, and an effective dimension reduction strategy is not adopted.

Based on the above two features, the present invention proposes a dimension reduction model of the merged feature word space as shown in fig. 4. Firstly, preprocessing words and stop words of a Chinese question set, and using characteristic words to represent Chinese question; then, calculating the relevance between every two feature words, and constructing a relevance descending link table; and finally, deleting redundant feature dimensions for the combined feature space dimensions with the relevance greater than a certain critical value.

The characteristic space dimension reduction model algorithm comprises the following steps:

step one, preprocessing the Chinese question set by word segmentation and word stop, and merging all question feature words into a set C ═ k1,k2,k3,…,km};

Secondly, calculating the association degree T between every two words in the set C by utilizing a semantic association degree efficient convergence methodjiJ and i are in the ranges 1. ltoreq. j.ltoreq.m, 1. ltoreq. i.ltoreq.n, where Tji=Tij

Constructing a descending linked list according to the word association degree, wherein the head node of the linked list represents a certain characteristic word, and other nodes of the linked list represent the association degrees of the rest words and the head node and are arranged in a descending order according to the association degrees;

step four, constructing question feature vector space, and a certain question PjExpressed as a feature vector Pj=(pj1,pj2,…,pjm) M represents the total number of all question feature words, and if n question words exist, an n multiplied by n feature vector matrix is formed;

step five, setting a correlation degree critical value a, scanning a correlation degree link table, and if the correlation degree T is foundjiA or more, adding the value of the jth column and the ith column, and for Tji(kj,ki) Not less than a, and Tiw(ki,kw) ≧ a, requiring recalculation of Tiw(ki,kw) The word association degree has no transitivity;

and step six, deleting redundant feature vector dimensions after the combined feature vector dimensions are obtained.

(2) SVM medical question classification

The SVM is a machine learning method based on statistical learning, has a simple structure, has a global optimal solution compared with other classifiers which only take a local optimal solution, can convert actual problems into a high-dimensional characteristic space through nonlinearity, and just accords with the requirement of constructing the high-dimensional space by the medical question feature vector. Therefore, the present invention classifies the question using the SVM classifier.

Third, summary of the invention

With the advent of the big data age, mass information is generated on the internet every day, and although a user can query required data by using a search engine, the search engine cannot well understand the query intention of the user and returns a large amount of information with poor relevance, so that poor experience is brought to the user. The appearance of the intelligent question-answering system brings brand-new experience to a large number of users, the intention of the users can be judged more accurately, and the users can obtain answers more directly and quickly through the question-answering system. The classification of Chinese question directly affects the accuracy of the intelligent question-answering system, and plays an important role in the clustering and extraction of question, but Chinese question is short and small, and the clustering of question by using an effective method is difficult.

The Chinese question contains less keyword information, and the problems of sparse characteristic vector matrix data, overlarge dimensionality and the like are caused according to the traditional method for constructing the characteristic word space. Therefore, the invention provides a method for generating word vectors by using a deep learning-based language model, solves the problem of insufficient training corpus, and solves the problems of network popular words and synonyms by using Chinese search engine encyclopedia. The core of the method is to describe question classification based on an encyclopedia of Chinese search engine and a deep learning model in detail, and firstly, starting with introduction of a semantic structure of the encyclopedia of Chinese search engine, a semantic association degree calculation method based on an encyclopedia link structure of Chinese search engine is provided, and an improved algorithm semantic association degree efficient convergence method based on a semantic association degree algorithm is provided; secondly, a traditional word vector representation method is improved, a deep learning language model is adopted to train distributed word vectors, a deep learning Chinese word model is established based on an M-element Chinese word model, Chinese search engine encyclopedia is utilized to preprocess synonyms, network popular words and words lacking in a language model dictionary, word vectors based on the search engine encyclopedia are established, CB-CBC is provided to establish medical question feature vectors, and finally an SVM classifier is adopted to classify medical questions.

According to the Chinese question classification model provided by the invention, relevant experiments are designed for verification, through experiment comparison, the model based on the combination of deep learning and search engine encyclopedia greatly improves the Chinese medical question classification efficiency, and the accuracy of the association degree between words is obviously improved.

完整详细技术资料下载
上一篇:石墨接头机器人自动装卡簧、装栓机
下一篇:意图识别模型的训练与意图识别的方法、装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!