A consulting method, device and electronic equipment for providing research directions in academic fields
By constructing a research direction knowledge map and consulting problem processing technology, it solves the problem of too much information and low reliability when candidates choose research directions and tutors, and provides precise consulting services to help candidates quickly find valuable information.
Patent Information
- Application Number
- CN202011577811.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-28
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-28
AI Technical Summary
When candidates choose research directions and tutors, the amount of information they query through search engines is huge and the reliability of the information is difficult to verify, making it difficult to quickly find valuable information.
By obtaining relevant information about the research direction, entities and relationships are extracted, a knowledge graph of the research direction is constructed, preprocessing, entity and intent identification are performed on the consulting questions, and accurate answers are provided by combining the knowledge graph and query templates.
It provides candidates with accurate research directions and tutor selection references, helping them quickly find relevant information and improving information reliability and query efficiency.
Smart Images

Figure CN112650856B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a consulting method, device and electronic equipment for providing research directions in an academic field. Background Art
[0002] In 2020, the number of applicants for graduate studies nationwide reached 3.41 million. In recent years, with the development and popularity of artificial intelligence technology, the number of applicants applying for computer fields has increased dramatically. Often these candidates will use search engines to search for relevant information when choosing research directions and supervisors. However, the results obtained through search engines are often huge in number, and the reliability of the information needs to be verified. It is difficult to quickly find valuable information about your research direction, choice of supervisor, etc. from the huge amount of information. Summary of the invention
[0003] The present invention provides a consulting method, device and electronic equipment for providing research directions in academic fields, which can provide an accurate reference guide for examinees to determine their future research directions and select tutors.
[0004] The embodiment of this specification provides a consulting method for providing research directions in an academic field, including:
[0005] By acquiring relevant information and data of the target research direction, a research direction information database is obtained;
[0006] By performing entity extraction and relationship extraction on the research direction information database, a research direction knowledge graph is constructed;
[0007] Get consulting questions;
[0008] Preprocessing the consulting question, and identifying the entity of the consulting question and the intention of the consulting question;
[0009] Determine the entity of the consulting question and the attribute of the consulting question;
[0010] According to the triples and query templates of the research direction knowledge graph, an answer corresponding to the consulting question is obtained.
[0011] Preferably, constructing a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database includes:
[0012] Perform entity extraction and relationship extraction on the research direction information database;
[0013] Using a similarity algorithm to identify similar entities and similar relationships;
[0014] Performing knowledge fusion on similar entities;
[0015] Performing knowledge fusion on similar relationships;
[0016] The research direction knowledge graph is constructed based on the fused entities and the fused relationships.
[0017] Preferably, the pre-processing of the consulting question includes:
[0018] Detecting stop words and / or punctuation marks present in the consulting question;
[0019] The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
[0020] Preferably, the identifying the entity of the consulting question and the intention of the consulting question includes:
[0021] Define entity dictionary;
[0022] Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set;
[0023] The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
[0024] Preferably, the determining of the entity of the consulting question and the attribute of the consulting question includes:
[0025] Perform entity alignment on the candidate entity set by using the similarity algorithm;
[0026] Performing attribute alignment on the candidate attribute set by using the similarity algorithm;
[0027] The entity of the consulting question and the attribute of the consulting question are determined according to the aligned set of candidate entities and the set of candidate attributes.
[0028] Preferably, it also includes:
[0029] Get consultation logs;
[0030] Trimming the keywords of the consulting questions in the consulting log to obtain long words with similar meanings, wherein the long words with similar meanings include keywords with the same meaning but different expressions;
[0031] Performing heat analysis on the synonymous long words;
[0032] A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that reaches a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question;
[0033] The recommended question entry is used to provide answers corresponding to the consulting questions.
[0034] Preferably, obtaining the consultation log includes:
[0035] Collecting a plurality of the consulting questions and caching the plurality of the consulting questions;
[0036] The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
[0037] Preferably, the obtaining of the long words with similar meanings includes:
[0038] The pruned keywords are represented by word vectors;
[0039] A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
[0040] The embodiment of this specification also provides a consulting device for providing research directions in academic fields, which is characterized by comprising:
[0041] The first information acquisition module obtains the relevant information and data of the target research direction to obtain a research direction information database;
[0042] A graph construction module, which constructs a research direction knowledge graph by extracting entities and relationships from the research direction information database;
[0043] The second information acquisition module obtains consulting questions;
[0044] An information processing module pre-processes the consulting question and identifies the entity of the consulting question and the intention of the consulting question;
[0045] An information confirmation module determines the entity of the consulting question and the attributes of the consulting question;
[0046] The answer query module obtains the answer corresponding to the consulting question according to the triples and query templates of the research direction knowledge graph.
[0047] Preferably, constructing a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database includes:
[0048] Perform entity extraction and relationship extraction on the research direction information database;
[0049] Using a similarity algorithm to identify similar entities and similar relationships;
[0050] Performing knowledge fusion on similar entities;
[0051] Performing knowledge fusion on similar relationships;
[0052] The research direction knowledge graph is constructed based on the fused entities and the fused relationships.
[0053] Preferably, the pre-processing of the consulting question includes:
[0054] Detecting stop words and / or punctuation marks present in the consulting question;
[0055] The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
[0056] Preferably, the identifying the entity of the consulting question and the intention of the consulting question includes:
[0057] Define entity dictionary;
[0058] Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set;
[0059] The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
[0060] Preferably, the determining of the entity of the consulting question and the attribute of the consulting question includes:
[0061] Perform entity alignment on the candidate entity set by using the similarity algorithm;
[0062] Performing attribute alignment on the candidate attribute set by using the similarity algorithm;
[0063] The entity of the consulting question and the attribute of the consulting question are determined according to the aligned set of candidate entities and the set of candidate attributes.
[0064] Preferably, it also includes:
[0065] Get consultation logs;
[0066] Trimming the keywords of the consulting questions in the consulting log to obtain long words with similar meanings, wherein the long words with similar meanings include keywords with the same meaning but different expressions;
[0067] Performing heat analysis on the synonymous long words;
[0068] A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that reaches a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question;
[0069] The recommended question entry is used to provide answers corresponding to the consulting questions.
[0070] Preferably, obtaining the consultation log includes:
[0071] Collecting a plurality of the consulting questions and caching the plurality of the consulting questions;
[0072] The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
[0073] Preferably, the obtaining of the long words with similar meanings includes:
[0074] The pruned keywords are represented by word vectors;
[0075] A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
[0076] An electronic device, wherein the electronic device comprises:
[0077] A processor and a memory storing computer executable instructions, wherein when the executable instructions are executed, the processor executes any of the methods described above.
[0078] A computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the one or more programs implement any of the methods described above.
[0079] Its beneficial effects are:
[0080] The present invention obtains information and data related to the research directions of experts in the computer field of universities and processes the obtained information to provide candidates with accurate information such as the research directions of experts in the computer field of domestic universities and which famous experts are in the current popular research directions in the computer field. BRIEF DESCRIPTION OF THE DRAWINGS
[0081] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0082] Figure 1 A schematic diagram of the principle of a method for providing a consultation on research directions in an academic field provided in an embodiment of this specification;
[0083] Figure 2 A schematic diagram of the structure of a consulting device for providing research directions in an academic field provided in an embodiment of this specification;
[0084] Figure 3A schematic diagram of the structure of an electronic device provided in an embodiment of this specification;
[0085] Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of the present specification. DETAILED DESCRIPTION
[0086] Exemplary embodiments of the present invention will now be described more fully with reference to the accompanying drawings. However, exemplary embodiments can be implemented in a variety of forms, and should not be construed as limiting the present invention to the embodiments set forth herein. On the contrary, providing these exemplary embodiments enables the present invention to be more comprehensive and complete, and is more convenient for fully conveying the inventive concept to those skilled in the art. The same reference numerals in the figures represent the same or similar elements, components or parts, and thus their repeated description will be omitted.
[0087] Under the premise of being consistent with the technical concept of the present invention, the features, structures, characteristics or other details described in a specific embodiment do not exclude that they can be combined in one or more other embodiments in a suitable manner.
[0088] In the description of specific embodiments, the features, structures, characteristics or other details described in the present invention are intended to enable those skilled in the art to fully understand the embodiments. However, it does not exclude that those skilled in the art can practice the technical solutions of the present invention without one or more of the specific features, structures, characteristics or other details.
[0089] The figures shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be performed in the order described. For example, some operations / steps can be decomposed, while some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0090] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0091] The term "and / or" or "and / or" includes all combinations of any one or more of the associated listed items.
[0092] Reference Figure 1 A schematic diagram of a method for consulting on research directions in an academic field provided in an embodiment of this specification includes:
[0093] S101: Obtain a research direction information database by acquiring relevant information and data of the target research direction;
[0094] In a preferred embodiment of the present invention, relevant information about academic experts in related fields of the university and their research directions is obtained from the official website of the target university and / or other websites related to the university information, and the obtained relevant information is used as a research direction information database to provide candidates with a source of answers for consultation.
[0095] S102: constructing a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database;
[0096] In a preferred embodiment of the present invention, entity extraction is performed on the research direction information database, that is, named entities in the research direction information database are extracted, such as expert names, school names, school locations, etc., and then these entities are classified, thereby completing the entity extraction of the research direction information database; by extracting the semantic relationship between two or more entities from the research direction information database, the relationship extraction of the research direction information database is completed, wherein the relationship extraction adopts at least one of a template-based method, supervised learning, semi-supervised learning, and unsupervised learning to extract the semantic relationship between entities.
[0097] A similarity algorithm is used to identify similar entities and similar relationships, and knowledge fusion is performed on similar entities and similar relationships, so as to construct a research direction knowledge graph based on the fused entities and fused relationships, wherein the research direction knowledge graph includes the research direction knowledge graph of experts in the computer field of universities.
[0098] S103: Get consulting questions;
[0099] In a preferred embodiment of the present invention, the examinee initiates a consulting question through the platform, so that the platform obtains the consulting question.
[0100] S104: Preprocessing the consulting question, and identifying the entity of the consulting question and the intention of the consulting question;
[0101] In a preferred embodiment of the present invention, before performing entity recognition and title image recognition on consulting questions, the obtained consulting questions need to be preprocessed first, wherein the preprocessing of consulting questions includes detecting stop words and / or punctuation marks present in the consulting questions, and then deleting the detected stop words and / or punctuation marks to obtain the entity of the consulting questions and the intent of the consulting questions, thereby completing the preprocessing of the consulting questions; thereafter, defining an entity dictionary, combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the preprocessed consulting questions according to the entity dictionary to obtain a set of entities to be selected; finally, performing intent recognition on the preprocessed consulting questions through a convolutional neural network to obtain a set of attributes to be selected, thereby completing entity recognition and intent recognition of the consulting questions.
[0102] S105: Determine the entity of the consulting question and the attribute of the consulting question;
[0103] In a preferred embodiment of the present invention, the entity of the consulting question and the attributes of the consulting question are determined by performing entity alignment on the entity set to be selected and attribute alignment on the attribute set to be selected, wherein the entity alignment on the entity set to be selected and the attribute alignment on the attribute set to be selected both adopt a similarity algorithm; then, the entity of the consulting question and the attributes of the consulting question are determined based on the aligned entity set to be selected and the aligned attribute set to be selected.
[0104] S106: Obtain an answer corresponding to the consulting question based on the triples of the research direction knowledge graph and the query template.
[0105] In a preferred embodiment of the present invention, based on the consulting questions and combined with the triples of the research direction knowledge graph and the query template, the answers corresponding to the consulting questions are obtained to provide accurate information for the candidates.
[0106] Furthermore, constructing a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database includes:
[0107] Perform entity extraction and relationship extraction on the research direction information database;
[0108] Using a similarity algorithm to identify similar entities and similar relationships;
[0109] Performing knowledge fusion on similar entities;
[0110] Performing knowledge fusion on similar relationships;
[0111] The research direction knowledge graph is constructed based on the fused entities and the fused relationships.
[0112] In a preferred embodiment of the present invention, entity extraction is performed on the research direction information database, that is, named entities in the research direction information database are extracted, such as expert names, school names, school locations, etc., and then these entities are classified, thereby completing the entity extraction of the research direction information database; by extracting the semantic relationship between two or more entities from the research direction information database, the relationship extraction of the research direction information database is completed, wherein the relationship extraction adopts at least one of a template-based method, supervised learning, semi-supervised learning, and unsupervised learning to extract the semantic relationship between entities.
[0113] A similarity algorithm is used to identify similar entities and similar relationships, and knowledge fusion is performed on similar entities and similar relationships, so as to construct a research direction knowledge graph based on the fused entities and fused relationships, wherein the research direction knowledge graph includes the research direction knowledge graph of experts in the computer field of universities.
[0114] Furthermore, the pre-processing of the consultation question includes:
[0115] Detecting stop words and / or punctuation marks present in the consulting question;
[0116] The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
[0117] In a preferred embodiment of the present invention, preprocessing of consulting questions includes detecting stop words and / or punctuation marks present in the consulting questions, and then deleting the detected stop words and / or punctuation marks to obtain the entity of the consulting questions and the intent of the consulting questions, thereby completing the preprocessing of the consulting questions.
[0118] Furthermore, the identifying of the entity of the consulting question and the intention of the consulting question includes:
[0119] Define entity dictionary;
[0120] Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set;
[0121] The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
[0122] In a preferred embodiment of the present invention, an entity dictionary is first defined, and then, a bidirectional long short-term memory network and a conditional random field algorithm are combined, and entity recognition is performed on the preprocessed consulting questions according to the entity dictionary to obtain a set of entities to be selected; finally, intent recognition is performed on the preprocessed consulting questions through a convolutional neural network to obtain a set of attributes to be selected, thereby completing entity recognition of the consulting questions and intent recognition of the consulting questions.
[0123] Furthermore, the determining of the entity of the consulting question and the attribute of the consulting question includes:
[0124] Perform entity alignment on the candidate entity set by using the similarity algorithm;
[0125] Performing attribute alignment on the candidate attribute set by using the similarity algorithm;
[0126] The entity of the consulting question and the attribute of the consulting question are determined according to the aligned set of candidate entities and the set of candidate attributes.
[0127] In a preferred embodiment of the present invention, the entity of the consulting question and the attributes of the consulting question are determined by performing entity alignment on the selected entity set and attribute alignment on the selected attribute set, wherein the entity alignment on the selected entity set and the attribute alignment on the selected attribute set both use a similarity algorithm; entity alignment is intended to determine whether two or more entities from different information sources point to the same object in the real world. If multiple entities represent the same object, an alignment relationship is constructed between these entities, and the information contained in the entities is fused and aggregated to complete entity alignment; attribute alignment is intended to determine whether two or more attributes can represent the same attribute, and information of attributes with different sources or names but representing the same attributes is fused to complete attribute alignment, thereby obtaining richer and more accurate information. Then, the entity of the consulting question and the attributes of the consulting question are determined based on the aligned selected entity set and the aligned selected attribute set.
[0128] Furthermore, it also includes:
[0129] Get consultation logs;
[0130] Trimming the keywords of the consulting questions in the consulting log to obtain long words with similar meanings, wherein the long words with similar meanings include keywords with the same meaning but different expressions;
[0131] Performing heat analysis on the synonymous long words;
[0132] A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that reaches a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question;
[0133] The recommended question entry is used to provide answers corresponding to the consulting questions.
[0134] In a preferred embodiment of the present invention, the platform records the consulting questions raised by the examinees during the visit, and then caches the consulting questions, and writes the cached multiple consulting questions into the storage space in a preset manner to obtain a consulting log, wherein the preset manner includes but is not limited to an asynchronous IO manner;
[0135] After obtaining the consultation log, the keywords with high ranking in the consultation questions in the consultation log are first trimmed to obtain long synonymous words. Among them, long synonymous words include keywords with the same meaning but different expressions; then the popularity of the long synonymous words is analyzed, and a collaborative filtering algorithm is used to provide a recommended question entry for the long synonymous words that reach the preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consultation question, and the recommended question entry is used to provide the answer corresponding to the consultation question.
[0136] Further, obtaining the consultation log includes:
[0137] Collecting a plurality of the consulting questions and caching the plurality of the consulting questions;
[0138] The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
[0139] In a preferred embodiment of the present invention, the consultation log data is read from a running write thread, and the read consultation log data is written into a memory, thereby generating a consultation log file. Optionally, the write thread writes the consultation log data into the memory in an asynchronous IO manner. After the write thread sends a write command to the memory, the memory automatically receives the consultation log data according to the command, and then notifies the write thread after the consultation log data is written. The write thread does not need to wait for the consultation log data to be completely written into the memory and can return and continue to read the consultation log data, thereby improving the writing rate of the consultation log data.
[0140] Furthermore, the obtaining of the long words with similar meanings includes:
[0141] The pruned keywords are represented by word vectors;
[0142] A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
[0143] In a preferred embodiment of the present invention, the pruned keywords are represented by word vectors, and then a similarity algorithm is used to perform similarity analysis on the keywords represented by the word vectors, thereby obtaining synonymous long words, wherein the synonymous long words include keywords with the same meaning but different expressions.
[0144] The present invention obtains information and data related to the research directions of experts in the computer field of universities and processes the obtained information to provide candidates with accurate information such as the research directions of experts in the computer field of domestic universities and which famous experts are in the current popular research directions in the computer field.
[0145] Figure 2 A schematic diagram of a consulting device for providing research directions in an academic field provided in an embodiment of this specification includes:
[0146] The first information acquisition module 201 obtains the relevant information and data of the target research direction to obtain a research direction information database;
[0147] In a preferred embodiment of the present invention, the first information acquisition module 201 obtains relevant information about academic experts in relevant fields of the university and their research directions from the official website of the target university and / or other websites related to the university information, and uses the obtained relevant information as a research direction information database to provide to candidates as a source of answers.
[0148] A graph construction module 202 constructs a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database;
[0149] In a preferred embodiment of the present invention, the graph construction module 202 performs entity extraction on the research direction information database, that is, extracts named entities in the research direction information database, such as expert names, school names, school locations, etc., and then classifies these entities, thereby completing the entity extraction of the research direction information database; by extracting the semantic relationship between two or more entities from the research direction information database, the relationship extraction of the research direction information database is completed, wherein the relationship extraction adopts at least one of a template-based method, supervised learning, semi-supervised learning, and unsupervised learning to extract the semantic relationship between entities.
[0150] A similarity algorithm is used to identify similar entities and similar relationships, and knowledge fusion is performed on similar entities and similar relationships, so as to construct a research direction knowledge graph based on the fused entities and fused relationships, wherein the research direction knowledge graph includes the research direction knowledge graph of experts in the computer field of universities.
[0151] The second information acquisition module 203 acquires the consulting question;
[0152] In a preferred embodiment of the present invention, the examinee initiates a consulting question through the platform, so that the second information acquisition module 203 acquires the consulting question.
[0153] The information processing module 204 pre-processes the consulting question and identifies the entity of the consulting question and the intention of the consulting question;
[0154] In a preferred embodiment of the present invention, before performing entity recognition and title image recognition on consulting questions, it is necessary to preprocess the obtained consulting questions first. The information processing module 204 preprocesses the consulting questions, including detecting stop words and / or punctuation marks in the consulting questions, and then deleting the detected stop words and / or punctuation marks to obtain the entity of the consulting questions and the intent of the consulting questions, thereby completing the preprocessing of the consulting questions; thereafter, an entity dictionary is defined, combined with a bidirectional long short-term memory network and a conditional random field algorithm, and entity recognition is performed on the preprocessed consulting questions according to the entity dictionary to obtain a set of entities to be selected; finally, intent recognition is performed on the preprocessed consulting questions through a convolutional neural network to obtain a set of attributes to be selected, thereby completing entity recognition and intent recognition of the consulting questions.
[0155] Information confirmation module 205, determining the entity of the consulting question and the attribute of the consulting question;
[0156] In a preferred embodiment of the present invention, the information confirmation module 205 determines the entity of the consulting question and the attributes of the consulting question by performing entity alignment on the entity set to be selected and attribute alignment on the attribute set to be selected, wherein the entity alignment on the entity set to be selected and the attribute alignment on the attribute set to be selected both adopt a similarity algorithm; then, the entity of the consulting question and the attributes of the consulting question are determined based on the aligned entity set to be selected and the aligned attribute set to be selected.
[0157] The answer query module 206 obtains the answer corresponding to the consulting question according to the triples of the research direction knowledge graph and the query template.
[0158] In a preferred embodiment of the present invention, the answer query module 206 obtains answers corresponding to the consulting questions based on the consulting questions and in combination with the triples of the research direction knowledge graph and the query template, thereby providing accurate information for the examinees.
[0159] Furthermore, constructing a research direction knowledge graph by performing entity extraction and relationship extraction on the research direction information database includes:
[0160] Perform entity extraction and relationship extraction on the research direction information database;
[0161] Using a similarity algorithm to identify similar entities and similar relationships;
[0162] Performing knowledge fusion on similar entities;
[0163] Performing knowledge fusion on similar relationships;
[0164] The research direction knowledge graph is constructed based on the fused entities and the fused relationships.
[0165] Furthermore, the pre-processing of the consultation question includes:
[0166] Detecting stop words and / or punctuation marks present in the consulting question;
[0167] The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
[0168] Furthermore, the identifying of the entity of the consulting question and the intention of the consulting question includes:
[0169] Define entity dictionary;
[0170] Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set;
[0171] The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
[0172] Furthermore, the determining of the entity of the consulting question and the attribute of the consulting question includes:
[0173] Perform entity alignment on the candidate entity set by using the similarity algorithm;
[0174] Performing attribute alignment on the candidate attribute set by using the similarity algorithm;
[0175] The entity of the consulting question and the attribute of the consulting question are determined according to the aligned set of candidate entities and the set of candidate attributes.
[0176] Furthermore, it also includes:
[0177] Get consultation logs;
[0178] Trimming the keywords of the consulting questions in the consulting log to obtain long words with similar meanings, wherein the long words with similar meanings include keywords with the same meaning but different expressions;
[0179] Performing heat analysis on the synonymous long words;
[0180] A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that reaches a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question;
[0181] The recommended question entry is used to provide answers corresponding to the consulting questions.
[0182] Further, obtaining the consultation log includes:
[0183] Collecting a plurality of the consulting questions and caching the plurality of the consulting questions;
[0184] The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
[0185] Furthermore, the obtaining of the long words with similar meanings includes:
[0186] The pruned keywords are represented by word vectors;
[0187] A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
[0188] The present invention obtains information and data related to the research directions of experts in the computer field of universities and processes the obtained information to provide candidates with accurate information such as the research directions of experts in the computer field of domestic universities and which famous experts are in the current popular research directions in the computer field.
[0189] Based on the same inventive concept, an embodiment of this specification also provides an electronic device.
[0190] The following describes an electronic device embodiment of the present invention, which can be regarded as a specific physical implementation of the method and device embodiments of the present invention. The details described in the electronic device embodiment of the present invention should be regarded as a supplement to the above method or device embodiments; details not disclosed in the electronic device embodiment of the present invention can be implemented with reference to the above method or device embodiments.
[0191] Reference Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this specification. Figure 3 The electronic device 300 according to the embodiment of the present invention is described. Figure 3 The electronic device 300 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0192] like Figure 3 As shown, the electronic device 300 is in the form of a general computing device. The components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, at least one storage unit 320, a bus 330 connecting different device components (including the storage unit 320 and the processing unit 310), a display unit 340, etc.
[0193] The storage unit stores program codes, which can be executed by the processing unit 310, so that the processing unit 310 performs the steps according to various exemplary embodiments of the present invention described in the above processing method section of this specification. For example, the processing unit 310 can perform the following steps: Figure 1 Steps shown.
[0194] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 3201 and / or a cache memory unit 3202 , and may further include a read-only memory unit (ROM) 3203 .
[0195] The storage unit 320 may also include a program / utility 3204 having a set (at least one) of program modules 3205, such program modules 3205 including but not limited to: operating means, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.
[0196] Bus 330 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0197] The electronic device 300 may also communicate with one or more external devices 400 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), one or more devices that enable a user to interact with the electronic device 300, and / or any device that enables the electronic device 300 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed through an input / output (I / O) interface 350. Furthermore, the electronic device 300 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 360. The network adapter 360 may communicate with other modules of the electronic device 300 through the bus 330. It should be understood that although Figure 3 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices.
[0198] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the exemplary embodiments described in the present invention can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation method of the present invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, server, or network device, etc.) to execute the above method according to the present invention. When the computer program is executed by a data processing device, the computer-readable medium can implement the above method of the present invention, that is: Figure 1 The method shown.
[0199] Reference Figure 4 A schematic diagram of a computer-readable medium provided in accordance with an embodiment of the present specification.
[0200] accomplish Figure 1 The computer program of the method shown can be stored on one or more computer readable media. The computer readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, device or component, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0201] The computer readable storage medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution device, device, or device. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0202] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0203] In summary, the present invention can be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that general data processing devices such as microprocessors or digital signal processors (DSPs) can be used in practice to implement some or all of the functions of some or all of the components in the embodiments of the present invention. The present invention can also be implemented as a device or apparatus program (e.g., a computer program and a computer program product) for executing part or all of the methods described herein. Such a program implementing the present invention can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0204] The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the present invention is not inherently related to any specific computer, virtual device or electronic device, and various general devices can also implement the present invention. The above description is only a specific embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
[0205] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0206] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A consulting method that provides research directions in academic fields, It is characterized in that include: By acquiring relevant information of the target research direction, a research direction information database is obtained; By performing entity extraction and relationship extraction on the research direction information database, similar entities and similar relationships are identified using a similarity algorithm; Performing knowledge fusion on similar entities; performing knowledge fusion on similar relationships; Construct a research direction knowledge graph based on the fused entities and the fused relationships; Get consulting questions; Preprocessing the consulting question, and identifying the entity of the consulting question and the intention of the consulting question; Obtaining a consultation log, and trimming keywords of the consultation questions in the consultation log to obtain long synonymous words, wherein the long synonymous words include keywords with the same meaning but different expressions; Performing heat analysis on the synonymous long words; A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that has reached a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question; the recommended question entry is used to provide an answer corresponding to the consulting question; The similarity algorithm is used to determine whether entities from several different information sources point to the same object in the real world. If the entities from several different information sources represent the same object, an alignment relationship is established between the entities from several different information sources, and the information contained in each entity is fused and aggregated to complete entity alignment. The similarity algorithm is used to determine whether attributes from several different sources or with different names can represent the same attribute. If the attributes from several different sources or with different names represent the same attribute, the information of each attribute is fused to complete attribute alignment. Determine the entity of the consulting question and the attribute of the consulting question according to the aligned candidate entity set and candidate attribute set; According to the triples and query templates of the research direction knowledge graph, an answer corresponding to the consulting question is obtained.
2. A method for providing a research direction in an academic field as claimed in claim 1, It is characterized in that The pre-processing of the consulting question includes: Detecting stop words and / or punctuation marks present in the consulting question; The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
3. A method for providing a research direction in an academic field as claimed in claim 1, It is characterized in that The identifying of the entity of the consulting question and the intention of the consulting question includes: Define entity dictionary; Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set; The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
4. A method for providing a research direction in an academic field as claimed in claim 1, It is characterized in that The obtaining of the consultation log includes: Collecting a plurality of the consulting questions and caching the plurality of the consulting questions; The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
5. A method for providing a research direction in an academic field as claimed in claim 1, It is characterized in that The obtained long words with similar meanings include: The pruned keywords are represented by word vectors; A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
6. A consulting device that provides research directions in academic fields, It is characterized in that include: The first information acquisition module obtains the relevant information of the target research direction to obtain a research direction information database; A graph construction module extracts entities and relationships from the research direction information database and uses a similarity algorithm to identify similar entities and similar relationships; Performing knowledge fusion on similar entities; performing knowledge fusion on similar relationships; Construct a research direction knowledge graph based on the fused entities and the fused relationships; The second information acquisition module obtains consulting questions; An information processing module pre-processes the consulting question and identifies the entity of the consulting question and the intention of the consulting question; The information confirmation module determines whether entities from several different information sources point to the same object in the real world through the similarity algorithm. If the entities from several different information sources represent the same object, an alignment relationship is established between the entities from several different information sources, and the information contained in each entity is fused and aggregated to complete entity alignment. The similarity algorithm is used to determine whether attributes from several different sources or with different names can represent the same attribute. If the attributes from several different sources or with different names represent the same attribute, the information of each attribute is fused to complete attribute alignment. Determine the entity of the consulting question and the attribute of the consulting question according to the aligned candidate entity set and candidate attribute set; An answer query module, used to obtain answers corresponding to the consulting questions according to the triples and query templates of the research direction knowledge graph, and to obtain consulting logs, prune the keywords of the consulting questions in the consulting logs, and obtain synonymous long words, wherein the synonymous long words include keywords with the same meaning but different expressions; Performing heat analysis on the synonymous long words; A collaborative filtering algorithm is used to provide a recommended question entry for the synonymous long word that reaches a preset popularity, wherein the recommended question entry includes a recommended question entry corresponding to the consulting question; The recommended question entry is used to provide answers corresponding to the consulting questions.
7. A consulting device for providing research directions in an academic field as claimed in claim 6, It is characterized in that The pre-processing of the consulting question includes: Detecting stop words and / or punctuation marks present in the consulting question; The stop words and / or the punctuation marks are deleted to obtain the entity of the consulting question and the intent of the consulting question.
8. A consulting device for providing research directions in an academic field as claimed in claim 6, It is characterized in that The identifying of the entity of the consulting question and the intention of the consulting question includes: Define entity dictionary; Combining a bidirectional long short-term memory network and a conditional random field algorithm, and performing entity recognition on the consulting question according to the entity dictionary, to obtain a candidate entity set; The convolutional neural network is used to identify the intention of the consulting question and obtain a set of attributes to be selected.
9. A consulting device for providing research directions in an academic field as claimed in claim 6, It is characterized in that The obtaining of the consultation log includes: Collecting a plurality of the consulting questions and caching the plurality of the consulting questions; The cached plurality of consulting questions are written into a storage space in a preset manner to obtain the consulting log.
10. A consulting device for providing research directions in an academic field as claimed in claim 6, It is characterized in that The obtained long words with similar meanings include: The pruned keywords are represented by word vectors; A similarity analysis is performed on the keywords represented by the word vectors to obtain the synonymous long words.
11. An electronic device, in, The electronic device includes: A processor and a memory storing computer executable instructions, which when executed cause the processor to perform the method according to any one of claims 1 to 5.
12. A computer-readable storage medium, in, The computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method of any one of claims 1 to 5 is implemented.
