CN108733848B - Knowledge searching method and system - Google Patents
Knowledge searching method and system Download PDFInfo
- Publication number
- CN108733848B CN108733848B CN201810619451.1A CN201810619451A CN108733848B CN 108733848 B CN108733848 B CN 108733848B CN 201810619451 A CN201810619451 A CN 201810619451A CN 108733848 B CN108733848 B CN 108733848B
- Authority
- CN
- China
- Prior art keywords
- knowledge
- text
- matching degree
- query
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000013145 classification model Methods 0.000 claims description 26
- 230000011218 segmentation Effects 0.000 claims description 15
- 230000001360 synchronised effect Effects 0.000 claims description 12
- 238000010606 normalization Methods 0.000 claims description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and a system for searching knowledge, wherein the method comprises the steps of performing text search on a query sentence by using a text search engine to generate a first knowledge ID set and a first matching degree set; performing text classification search by using a text classification engine to generate a second knowledge ID set and a second matching degree set; the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if so, putting the maximum matching degree corresponding to the knowledge ID into a matching degree set to be selected; if not, directly putting the matching degrees corresponding to the knowledge IDs into the matching degree set to be selected, arranging the matching degrees in the matching degree set to be selected in a sequence from high to low, generating a knowledge ordered list, and sending the knowledge ordered list to a client for displaying, so that the accuracy of knowledge searching is improved.
Description
Technical Field
The invention relates to the technical field of knowledge search, in particular to a method and a system for searching knowledge.
Background
With the development of the times, the intelligent development is extremely rapid, and the knowledge is updated quickly, so that users habitually use search software such as Baidu search and 360 search to search for knowledge, so that various knowledge search methods are available at present, but one part of the existing knowledge search methods depends on a knowledge tree to perform classified search, the number of clicks of inquiring target knowledge is too large, so that the knowledge search is inconvenient, the other part of the existing knowledge search methods is name and brief introduction of knowledge, so that the limitation of knowledge search exists, and the other part of the knowledge search methods does not have learning capacity, and after multiple searches, the search effect is basically the same as the initial effect, so the problem of low accuracy of the knowledge search exists.
Disclosure of Invention
The invention aims to provide a method and a system for searching knowledge, so as to improve the accuracy of knowledge searching.
To achieve the above object, the present invention provides a method of searching knowledge, the method comprising:
the client sends a query request to the server according to a query statement input by a user;
the server side sends a text search request and a text classification request to a text search engine and a text classification engine respectively according to the query request;
the text search engine carries out word segmentation processing on the query sentence according to the text search request, determines a first knowledge ID set corresponding to the query sentence and a first matching degree set corresponding to the first knowledge ID set, and sends the first knowledge ID set and the first matching degree set to the server;
the text classification engine inputs the query sentence into a text classification model according to the text classification request, determines a second knowledge ID set corresponding to the query sentence and a second matching degree set corresponding to the second knowledge ID set, and sends the second knowledge ID set and the second matching degree set to the server;
the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
the server arranges the matching degrees in the matching degree set to be selected in a sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client;
and the client displays the knowledge sorting list according to the sequence of the knowledge sorting list so that a user can click and read the query text.
Optionally, before the step of sending, by the client, the query request to the server according to the query statement input by the user, the method further includes:
when the knowledge is published to a database of the server after being compiled, the server simultaneously synchronizes data to the text search engine and the text classification engine;
when knowledge is synchronized to the text search engine, the text search engine carries out word segmentation on the knowledge to obtain a plurality of index keywords, and then carries out text indexing and stores each index keyword according to an inverted index method;
and when the knowledge is synchronized to the text classification engine, the text classification engine performs text classification training by using the knowledge ID as a classification name and the knowledge title and the knowledge main body content as classification contents to generate a text classification model.
Optionally, after the step of displaying the client according to the order of the knowledge ranking list so that the user clicks and reads the query text, the method further includes:
the server sends the read query text to the text classification engine;
and the text classification engine takes the knowledge ID as a classification name, and takes the knowledge title, the knowledge main body content and the query text as classification content to carry out text classification training to generate a text classification model.
Optionally, after the step of displaying the knowledge list in the order by the client, so that the user clicks and reads the query text, the method further includes:
and after the user clicks and reads the query text, the server adds 1 to the currently viewed knowledge click number and sends the current knowledge click number to the text search engine.
Optionally, the text search engine performs word segmentation processing on the query statement according to the text search request, and determines a first knowledge ID set corresponding to the query statement and a first matching degree set corresponding to the first knowledge ID set, which specifically includes:
the text search engine carries out word segmentation processing on the query sentence according to the text search request, and determines a first knowledge ID set corresponding to the query sentence and an initial matching degree set corresponding to the first knowledge ID set; the initial matching degree is determined according to each index keyword;
and the text search engine determines a first matching degree set according to the knowledge click number and the initial matching degree set.
Optionally, before the step of determining, by the server, whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID, the method further includes:
the server respectively performs normalization processing on the first matching degree set and the second matching degree set to respectively obtain a first normalization set and a second normalization set;
the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum normalized matching degree corresponding to the knowledge ID in the first normalized set or the normalized set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the normalized matching degrees corresponding to the knowledge IDs in the first normalized set or the second normalized set into a matching degree set to be selected;
and the server arranges the normalized matching degrees in the matching degree set to be selected according to the sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client.
The present invention also provides a system for searching knowledge, the system comprising:
the first sending request module is used for sending a query request to the server side by the client side according to a query statement input by a user;
the second sending request module is used for the server side to respectively send a text searching request and a text classification request to a text searching engine and a text classification engine according to the query request;
the first determining module is used for the text search engine to perform word segmentation processing on the query statement according to the text search request, determine a first knowledge ID set corresponding to the query statement and a first matching degree set corresponding to the first knowledge ID set, and send the first knowledge ID set and the first matching degree set to the server;
a second determining module, configured to input the query statement into a text classification model by the text classification engine according to the text classification request, determine a second knowledge ID set corresponding to the query statement and a second matching degree set corresponding to the second knowledge ID set, and send the second knowledge ID set and the second matching degree set to the server;
the judging module is used for judging whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not by the server; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
the sorting module is used for the server to sort the matching degrees in the matching degree set to be selected in a sequence from high to low, generate a knowledge sorting list and send the knowledge sorting list to the client;
and the display module is used for displaying the client according to the sequence of the knowledge ranking list so that a user can click and read the query text.
Optionally, the system further includes:
the data synchronization module is used for synchronizing data to the text search engine and the text classification engine by the server when the knowledge is published to a database of the server after being compiled;
the index key word determining module is used for segmenting the knowledge by the text search engine when the knowledge is synchronized to the text search engine to obtain a plurality of index key words, and then performing text indexing and storing each index key word according to an inverted index method;
and the first text classification model determining module is used for performing text classification training by using the text classification engine as a classification name and using a knowledge ID and knowledge subject contents as classification contents to generate a text classification model when knowledge is synchronized to the text classification engine.
Optionally, the system further includes:
the sending module is used for sending the read query text into the text classification engine by the server;
and the second text classification model determining module is used for performing text classification training by using the knowledge ID as a classification name and using the knowledge title, the knowledge main body content and the query text as classification contents by the text classification engine to generate a text classification model.
Optionally, the system further includes:
and the knowledge click number determining module is used for adding 1 to the currently viewed knowledge click number and sending the current knowledge click number to the text search engine after the user clicks and reads the query text.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the method comprises the steps of performing text search on a query sentence by using a text search engine to generate a first knowledge ID set and a first matching degree set corresponding to the first knowledge ID set; performing text classification search by using a text classification engine to generate a second knowledge ID set and a second matching degree set corresponding to the second knowledge ID set; the server determines the knowledge ranking list according to the first knowledge ID set, the first matching degree set, the second knowledge ID set and the second matching degree set, and sends the knowledge ranking list to the client for display, so that the accuracy of knowledge searching is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a flow diagram of a method of searching knowledge according to an embodiment of the invention;
FIG. 2 is a detailed block diagram of a method for searching knowledge according to an embodiment of the present invention;
FIG. 3 is a diagram of a system for searching knowledge according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a method and a system for searching knowledge, so as to improve the accuracy of knowledge searching.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
FIG. 1 is a flow diagram of a method of searching knowledge according to an embodiment of the invention; fig. 2 is a detailed structural diagram of a method for searching knowledge according to an embodiment of the present invention, and as shown in fig. 1-2, the present invention provides a method for searching knowledge, the method including:
step S1: when the knowledge is published to a database of the server after being compiled, the server simultaneously synchronizes data to the text search engine and the text classification engine;
step S2: when knowledge is synchronized to the text search engine, the text search engine carries out word segmentation on the knowledge to obtain a plurality of index keywords, and then carries out text indexing and stores each index keyword according to an inverted index method;
step S3: and when the knowledge is synchronized to the text classification engine, the text classification engine performs text classification training by using the knowledge ID as a classification name and the knowledge title and the knowledge main body content as classification contents to generate a text classification model.
Step S4: the client sends a query request to the server according to a query statement input by a user;
step S5: the server side sends a text search request and a text classification request to a text search engine and a text classification engine respectively according to the query request;
step S6: the text search engine carries out word segmentation processing on the query sentence according to the text search request, determines a first knowledge ID set corresponding to the query sentence and a first matching degree set corresponding to the first knowledge ID set, and sends the first knowledge ID set and the first matching degree set to the server;
step S7: the text classification engine inputs the query sentence into a text classification model according to the text classification request, determines a second knowledge ID set corresponding to the query sentence and a second matching degree set corresponding to the second knowledge ID set, and sends the second knowledge ID set and the second matching degree set to the server;
step S8: the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
step S9: the server arranges the matching degrees in the matching degree set to be selected in a sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client;
step S10: and the client displays the knowledge sorting list according to the sequence of the knowledge sorting list so that a user can click and read the query text.
Step S11: the server sends the read query text to the text classification engine;
step S12: and the text classification engine takes the knowledge ID as a classification name, and takes the knowledge title, the knowledge main body content and the query text as classification content to carry out text classification training to generate a text classification model.
Step S13: and after the user clicks and reads the query text, the server adds 1 to the currently viewed knowledge click number and sends the current knowledge click number to the text search engine.
Step S6: the text search engine performs word segmentation processing on the query statement according to the text search request, and determines a first knowledge ID set corresponding to the query statement and a first matching degree set corresponding to the first knowledge ID set, and specifically includes:
step S61: the text search engine carries out word segmentation processing on the query sentence according to the text search request, and determines a first knowledge ID set corresponding to the query sentence and an initial matching degree set corresponding to the first knowledge ID set; the initial matching degree is determined according to each index keyword;
step S62: and the text search engine determines a first matching degree set according to the knowledge click number and the initial matching degree set.
Example 2
The same parts as those in the present embodiment are not discussed one by one, and the present embodiment only discusses the differences from embodiment 1.
The server respectively performs normalization processing on the first matching degree set and the second matching degree set to respectively obtain a first normalization set and a second normalization set;
the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum normalized matching degree corresponding to the knowledge ID in the first normalized set or the normalized set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the normalized matching degrees corresponding to the knowledge IDs in the first normalized set or the second normalized set into a matching degree set to be selected;
and the server arranges the normalized matching degrees in the matching degree set to be selected according to the sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client.
Compared with a non-normalization processing method, the normalization processing method is more convenient to arrange from high to low.
Example 3
FIG. 3 is a diagram of a system for searching knowledge according to an embodiment of the present invention; as shown in fig. 3, the present invention also provides a system for searching knowledge, the system comprising:
the data synchronization module 1 is used for synchronizing data to the text search engine and the text classification engine by the server when the knowledge is published to the database of the server after being compiled;
the index key word determining module 2 is used for segmenting the knowledge by the text search engine when the knowledge is synchronized to the text search engine to obtain a plurality of index key words, and then performing text indexing and storing each index key word according to an inverted index method;
and the first text classification model determining module 3 is used for performing text classification training by using the knowledge ID as a classification name and the knowledge title and the knowledge main body content as classification contents to generate a text classification model when knowledge is synchronized to the text classification engine.
The first sending request module 4 is used for sending a query request to the server side by the client side according to a query statement input by a user;
the second sending request module 5 is used for the server to respectively send a text search request and a text classification request to a text search engine and a text classification engine according to the query request;
the first determining module 6 is configured to, by the text search engine, perform word segmentation on the query statement according to the text search request, determine a first knowledge ID set corresponding to the query statement and a first matching degree set corresponding to the first knowledge ID set, and send the first knowledge ID set and the first matching degree set to the server;
a second determining module 7, configured to input the query statement into a text classification model by the text classification engine according to the text classification request, determine a second knowledge ID set corresponding to the query statement and a second matching degree set corresponding to the second knowledge ID set, and send the second knowledge ID set and the second matching degree set to the server;
a judging module 8, configured to judge, by the server, whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
the sorting module 9 is configured to sort, by the server, the matching degrees in the matching degree set to be selected in a sequence from high to low, generate a knowledge sorted list, and send the knowledge sorted list to the client;
and the display module 10 is used for displaying the client according to the sequence of the knowledge ranking list so that the user can click and read the query text.
A sending module 11, configured to send the read query text to the text classification engine by the server;
and the second text classification model determining module 12 is configured to perform text classification training by using the knowledge ID as a classification name and the knowledge title, the knowledge main content, and the query text as a classification content by the text classification engine to generate a text classification model.
And the knowledge click number determining module 13 is configured to, after the user clicks and reads the query text, add 1 to the currently viewed knowledge click number by the server, and send the current knowledge click number to the text search engine.
The more times that the user searches for knowledge by using the server, the more the knowledge clicks, the more accurate the text search engine determines the first matching degree set according to the knowledge clicks, and the more accurate the search is further improved.
The server sends the read query text to the text classification engine; the text classification engine takes the knowledge ID as a classification name, and the knowledge title, the knowledge main body content and the query text as classification contents to perform text classification training to generate a text classification model, so that the accuracy of establishing the text classification model is improved, and the accuracy of searching knowledge is further improved.
The method comprises the steps of performing text search on a query sentence by using a text search engine to generate a first knowledge ID set and a first matching degree set corresponding to the first knowledge ID set; performing text classification search by using a text classification engine to generate a second knowledge ID set and a second matching degree set corresponding to the second knowledge ID set; the server determines a knowledge ranking list according to the first knowledge ID set, the first matching degree set, the second knowledge ID set and the second matching degree set, and sends the knowledge ranking list to the client for display, so that the intention of the user can be presumed according to the search words of the user instead of simple word matching search to the knowledge, and the accuracy of knowledge search is improved.
The method for searching knowledge disclosed by the invention can realize that the input is any query statement, and overcomes the limitation that the traditional method only can search the name and brief introduction of knowledge and search knowledge.
For the system disclosed by the embodiment, the description is relatively simple because the system corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (10)
1. A method of searching knowledge, the method comprising:
the client sends a query request to the server according to a query statement input by a user;
the server side sends a text search request and a text classification request to a text search engine and a text classification engine respectively according to the query request;
the text search engine carries out word segmentation processing on the query sentence according to the text search request, determines a first knowledge ID set corresponding to the query sentence and a first matching degree set corresponding to the first knowledge ID set, and sends the first knowledge ID set and the first matching degree set to the server;
the text classification engine inputs the query sentence into a text classification model according to the text classification request, determines a second knowledge ID set corresponding to the query sentence and a second matching degree set corresponding to the second knowledge ID set, and sends the second knowledge ID set and the second matching degree set to the server;
the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
the server arranges the matching degrees in the matching degree set to be selected in a sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client;
and the client displays the knowledge sorting list according to the sequence of the knowledge sorting list so that a user can click and read the query text.
2. The method for searching knowledge according to claim 1, wherein before the step of sending a query request to the server by the client according to the query statement input by the user, the method further comprises:
when the knowledge is published to a database of the server after being compiled, the server simultaneously synchronizes data to two subsystems, namely the text search engine and the text classification engine;
when knowledge is synchronized to the text search engine, the text search engine carries out word segmentation on the knowledge to obtain a plurality of index keywords, and then carries out text indexing and stores each index keyword according to an inverted index method;
and when the knowledge is synchronized to the text classification engine, the text classification engine performs text classification training by using the knowledge ID as a classification name and the knowledge title and the knowledge main body content as classification contents to generate a text classification model.
3. The method for searching knowledge according to claim 2, wherein after the step of displaying the client in the order of the knowledge ranking list so that the user clicks and reads the query text, the method further comprises:
the server side sends the read query text to the text classification engine;
and the text classification engine takes the knowledge ID as a classification name, and takes the knowledge title, the knowledge main body content and the query text as classification content to carry out text classification training to generate a text classification model.
4. The method for searching knowledge according to claim 2, wherein after the step of displaying a list of knowledge in a sorted order at the client for the user to click and read the text of the query, further comprising:
and after the user clicks and reads the query text, the server adds 1 to the current knowledge click number, and sends the current knowledge click number to the text search engine.
5. The method of searching knowledge according to claim 4, wherein the text search engine performs word segmentation on the query sentence according to the text search request, and determines a first knowledge ID set corresponding to the query sentence and a first matching degree set corresponding to the first knowledge ID set, specifically comprising:
the text search engine carries out word segmentation processing on the query sentence according to the text search request, and determines a first knowledge ID set corresponding to the query sentence and an initial matching degree set corresponding to the first knowledge ID set; the initial matching degree is determined according to each index keyword;
and the text search engine determines a first matching degree set according to the knowledge click number and the initial matching degree set.
6. The method for searching knowledge according to claim 1, wherein before the step of the server determining whether the same knowledge ID exists in the first knowledge ID set and the second knowledge ID set, the method further comprises:
the server side respectively performs normalization processing on the first matching degree set and the second matching degree set to respectively obtain a first normalization set and a second normalization set;
the server side judges whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not; if the same knowledge ID exists, putting the maximum normalized matching degree corresponding to the knowledge ID in the first normalized set or the normalized set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the normalized matching degrees corresponding to the knowledge IDs in the first normalized set or the second normalized set into a matching degree set to be selected;
and the server arranges the normalized matching degrees in the matching degree set to be selected in a sequence from high to low, generates a knowledge ordered list and sends the knowledge ordered list to the client.
7. A system for searching knowledge, the system comprising:
the first sending request module is used for sending a query request to the server side by the client side according to a query statement input by a user;
the second sending request module is used for the server side to respectively send a text searching request and a text classification request to a text searching engine and a text classification engine according to the query request;
the first determining module is used for the text search engine to perform word segmentation processing on the query statement according to the text search request, determine a first knowledge ID set corresponding to the query statement and a first matching degree set corresponding to the first knowledge ID set, and send the first knowledge ID set and the first matching degree set to the server;
a second determining module, configured to input the query statement into a text classification model by the text classification engine according to the text classification request, determine a second knowledge ID set corresponding to the query statement and a second matching degree set corresponding to the second knowledge ID set, and send the second knowledge ID set and the second matching degree set to the server;
the judging module is used for judging whether the first knowledge ID set and the second knowledge ID set have the same knowledge ID or not by the server; if the same knowledge ID exists, putting the maximum matching degree corresponding to the knowledge ID in the first matching degree set or the second matching degree set into a matching degree set to be selected; if the same knowledge IDs do not exist, directly putting the matching degrees corresponding to the knowledge IDs in the first matching degree set or the second matching degree set into a matching degree set to be selected;
the sorting module is used for sorting the matching degrees in the matching degree set to be selected by the server side from high to low, generating a knowledge sorting list and sending the knowledge sorting list to the client side;
and the display module is used for displaying the client according to the sequence of the knowledge ranking list so that a user can click and read the query text.
8. The system for searching knowledge according to claim 7, further comprising:
the data synchronization module is used for synchronizing data to the text search engine and the text classification engine by the server side when the knowledge is published to the database of the server side after being compiled;
the index key word determining module is used for segmenting the knowledge by the text search engine when the knowledge is synchronized to the text search engine to obtain a plurality of index key words, and then performing text indexing and storing each index key word according to an inverted index method;
and the first text classification model determining module is used for performing text classification training by using the text classification engine as a classification name and using a knowledge ID and knowledge subject contents as classification contents to generate a text classification model when knowledge is synchronized to the text classification engine.
9. The system for searching knowledge according to claim 8, wherein the system further comprises:
the sending module is used for sending the read query text into the text classification engine by the server;
and the second text classification model determining module is used for performing text classification training by using the knowledge ID as a classification name and using the knowledge title, the knowledge main body content and the query text as classification contents by the text classification engine to generate a text classification model.
10. The system for searching knowledge according to claim 8, wherein the system further comprises:
and the knowledge click number determining module is used for adding 1 to the currently viewed knowledge click number and sending the currently viewed knowledge click number to the text search engine after the user clicks and reads the query text.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810619451.1A CN108733848B (en) | 2018-06-11 | 2018-06-11 | Knowledge searching method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810619451.1A CN108733848B (en) | 2018-06-11 | 2018-06-11 | Knowledge searching method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108733848A CN108733848A (en) | 2018-11-02 |
CN108733848B true CN108733848B (en) | 2020-08-11 |
Family
ID=63929685
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810619451.1A Expired - Fee Related CN108733848B (en) | 2018-06-11 | 2018-06-11 | Knowledge searching method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108733848B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083688B (en) * | 2019-05-10 | 2022-03-25 | 北京百度网讯科技有限公司 | Search result recall method, device, server and storage medium |
CN112784046B (en) * | 2021-01-20 | 2024-05-28 | 北京百度网讯科技有限公司 | Text clustering method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103577558A (en) * | 2013-10-21 | 2014-02-12 | 北京奇虎科技有限公司 | Device and method for optimizing search ranking of frequently asked question and answer pairs |
CN103970747A (en) * | 2013-01-24 | 2014-08-06 | 爱帮聚信(北京)科技有限公司 | Data processing method for network side computer to order search results |
CN104239340A (en) * | 2013-06-19 | 2014-12-24 | 北京搜狗信息服务有限公司 | Search result screening method and search result screening device |
US9009170B1 (en) * | 2009-01-09 | 2015-04-14 | Google Inc. | Book content item search |
CN105045852A (en) * | 2015-07-06 | 2015-11-11 | 华东师范大学 | Full-text search engine system for teaching resources |
-
2018
- 2018-06-11 CN CN201810619451.1A patent/CN108733848B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9009170B1 (en) * | 2009-01-09 | 2015-04-14 | Google Inc. | Book content item search |
CN103970747A (en) * | 2013-01-24 | 2014-08-06 | 爱帮聚信(北京)科技有限公司 | Data processing method for network side computer to order search results |
CN104239340A (en) * | 2013-06-19 | 2014-12-24 | 北京搜狗信息服务有限公司 | Search result screening method and search result screening device |
CN103577558A (en) * | 2013-10-21 | 2014-02-12 | 北京奇虎科技有限公司 | Device and method for optimizing search ranking of frequently asked question and answer pairs |
CN105045852A (en) * | 2015-07-06 | 2015-11-11 | 华东师范大学 | Full-text search engine system for teaching resources |
Also Published As
Publication number | Publication date |
---|---|
CN108733848A (en) | 2018-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107729336B (en) | Data processing method, device and system | |
Shinzato et al. | Tsubaki: An open search engine infrastructure for developing information access methodology | |
CN108304444B (en) | Information query method and device | |
CN103294778B (en) | A kind of method and system pushing information | |
CN105824959B (en) | Public opinion monitoring method and system | |
CN106960030B (en) | Information pushing method and device based on artificial intelligence | |
CN110609902A (en) | Text processing method and device based on fusion knowledge graph | |
CN112035599B (en) | Query method and device based on vertical search, computer equipment and storage medium | |
CN112307366B (en) | Information display method and device and computer storage medium | |
US20210043207A1 (en) | Session message processing | |
CN109492081B (en) | Text information searching and information interaction method, device, equipment and storage medium | |
US10621252B2 (en) | Method for searching in a database | |
CN113190687B (en) | Knowledge graph determining method and device, computer equipment and storage medium | |
CN105760380A (en) | Database query method, device and system | |
CN110543484A (en) | prompt word recommendation method and device, storage medium and processor | |
CN112749328A (en) | Searching method and device and computer equipment | |
WO2015084757A1 (en) | Systems and methods for processing data stored in a database | |
CN108733848B (en) | Knowledge searching method and system | |
CN103425767B (en) | A kind of determination method and system pointing out data | |
US9547701B2 (en) | Method of discovering and exploring feature knowledge | |
CN113177061A (en) | Searching method and device and electronic equipment | |
CN105512270B (en) | Method and device for determining related objects | |
CN111831938A (en) | Information display method, information display device, electronic equipment and medium | |
CN111831922B (en) | Recommendation system and method based on internet information | |
CN110222156B (en) | Method and device for discovering entity, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200811 |