CN110929027B - Prompting system, prompting method, computer and waste accommodating device - Google Patents
Prompting system, prompting method, computer and waste accommodating device Download PDFInfo
- Publication number
- CN110929027B CN110929027B CN201910944659.5A CN201910944659A CN110929027B CN 110929027 B CN110929027 B CN 110929027B CN 201910944659 A CN201910944659 A CN 201910944659A CN 110929027 B CN110929027 B CN 110929027B
- Authority
- CN
- China
- Prior art keywords
- node
- information
- child node
- child
- reply
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 239000002699 waste material Substances 0.000 title claims abstract description 17
- 239000010813 municipal solid waste Substances 0.000 abstract description 19
- 230000004044 response Effects 0.000 description 6
- 235000006025 Durio zibethinus Nutrition 0.000 description 4
- 240000000716 Durio zibethinus Species 0.000 description 4
- 230000004308 accommodation Effects 0.000 description 3
- 239000000463 material Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 206010016322 Feeling abnormal Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 235000013372 meat Nutrition 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/35—Clustering; Classification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3343—Query execution using phonetics
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/36—Creation of semantic tools, e.g. ontology or thesauri
- G06F16/367—Ontology
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to the technical field of classification, in particular to a prompting system, a prompting method, a computer and a waste accommodating device, wherein the prompting method comprises the following steps: acquiring keyword information in user questioning content; determining a target node of a map grid corresponding to the keyword information; judging whether the target node has a child node group or not; if the child node group does not exist, the top parent node of the target node is used as reply information; if the child node group exists, the top parent node corresponding to the child node in the child node group is used as the reply information, and the association reasoning can be carried out by utilizing the node information of the map grid according to the knowledge map, so that the problem of garbage voice reply fuzzification is solved, and the accuracy of classification information prompt is improved.
Description
Technical Field
The invention relates to the technical field of classification, in particular to a prompting system, a prompting method, a computer and a waste accommodating device.
Background
At present most cities begin to implement waste classification gradually, however, it is not complete to know waste classification knowledge at most resident, form waste classification custom to the resident and cause the hindrance, to the current situation, intelligent waste classification product has appeared on the market, like voice interaction classification garbage bin and pronunciation intelligent audio amplifier garbage bin, these products have played the promotion effect to waste classification, however, because waste classification information knowledge is few on equipment, the coverage is low, the machine can't make reasonable answer, the user often experiences and feels poorly in the use.
Disclosure of Invention
The invention aims to provide a prompting system, a prompting method, a computer and a waste accommodating device, which can perform associated reasoning by utilizing node information of a map grid based on a knowledge map, solve the problem of fuzzification of a junk voice response and improve the accuracy of classified information prompting.
The embodiment of the invention is realized by the following steps:
a method of prompting, comprising:
acquiring keyword information in user questioning content;
determining a target node of a map grid corresponding to the keyword information;
judging whether the target node has a child node group or not;
if the child node group does not exist, the top parent node of the target node is used as reply information; and if the child node group exists, using a top parent node corresponding to the child node in the child node group as reply information.
Further, in an embodiment of the present invention, the obtaining of the keyword information in the user query content includes:
receiving question information of a user;
and acquiring the keywords from the question information according to the word sequence recorded by the nodes in the graph grid.
Further, in an embodiment of the present invention, the determining that the keyword information corresponds to the target node of the graph grid includes:
comparing the word sequence of the keyword with the word sequence in the node information of the map grid;
determining the matching degree of each node in the graph grid and the keyword;
and taking the node corresponding to the node information with the highest matching degree as the target node.
Further, in an embodiment of the present invention, the replying information with the top parent node corresponding to the child node in the child node group includes:
judging the number of first child nodes in the child node group;
and taking the node information of each first child node with the node depth within three as reply information.
Further, in an embodiment of the present invention, the reply message is transmitted to an output terminal, and the output terminal outputs the reply message in a voice playing form or a text form.
A reminder system, comprising:
the first acquisition unit is used for acquiring keywords in the user question information;
the second acquisition unit is used for acquiring a target node of the map grid corresponding to the keyword information;
the judging unit is used for judging whether the target node has a child node group or not, and if the child node group does not exist, the top parent node of the target node is used as reply information; and if the child node group exists, using a top parent node corresponding to the child node in the child node group as reply information.
Further, in an embodiment of the present invention, the above prompting system further includes a receiving unit, where the receiving unit is configured to receive question information of a user.
Further, in an embodiment of the present invention, the above-mentioned prompt system further includes an output unit, and the output unit is configured to output the reply message.
A computer comprises a processor, wherein the processor outputs reply information by adopting the prompt method.
A waste containment device including the computer.
The embodiment of the invention has the beneficial effects that:
according to the garbage knowledge graph, the node information of the graph grid is utilized to carry out associated reasoning, and the accuracy of classification information prompt is improved;
acquiring keyword information in user questioning content, determining a target node of a map grid corresponding to the keyword information, and judging whether a child node group exists in the target node; if the child node group does not exist, the top parent node of the target node is used as reply information; and if the child node group exists, using a top parent node corresponding to the child node in the child node group as reply information.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic flow chart of an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Example 1:
referring to fig. 1, the present embodiment provides a prompting system, a prompting method, a computer, and a waste accommodating device, where the prompting system includes a first obtaining unit, a second obtaining unit, a determining unit, a receiving unit, and an output unit, and generates, based on a garbage knowledge graph, graph grids associated with each other in the determining unit, where each node of the graph grids has corresponding node information.
The first obtaining unit is used for obtaining keywords in the user question information, the second obtaining unit is used for obtaining target nodes of a map grid corresponding to the keyword information, the judging unit is used for judging whether the target nodes have child node groups, and if no child node group exists, a top father node of the target nodes is used as reply information; if the child node group exists, the top parent node corresponding to the child node in the child node group is used as reply information, the receiving unit is used for receiving question information of a user, and the output unit is used for outputting the reply information.
The prompting method comprises the following steps:
step S01, obtaining keyword information in the user question content;
step S02, determining the target node of the map grid corresponding to the keyword information;
step S03, judging whether the target node has a child node group;
step S041, if the child node group does not exist, the top parent node of the target node is used as reply information;
step S402, if the child node group exists, the top parent node corresponding to the child node in the child node group is used as reply information.
Specifically, receiving question information of a user, analyzing the question information, acquiring a keyword from the question information of the user according to a word sequence recorded by a node in a graph grid, comparing the word sequence in the node information of the graph grid with the word sequence of the keyword, determining the matching degree of each node in the graph grid with the keyword, and taking the node corresponding to the node information with the highest matching degree as a target node; when the user question information has a plurality of keywords, each keyword is judged respectively, a target node corresponding to each keyword is determined, and then each target node is judged respectively.
Judging whether a target node has a child node group, if the target node does not have the child node group, using a top parent node corresponding to the target node as response information, if the target node has the child node group, further judging, judging the number of first child nodes in the child node group, namely the target node can be provided with one, two or more parallel first child nodes, calculating the depth of three nodes of each first child node, using the node information of the depth of three nodes within the depth of each first child node as response information, then transmitting the response information to an output end, and outputting the response information by the output end in a voice playing mode or a text mode for a user to refer.
The prompting method in the scheme can be applied to garbage classification information prompting, map grids are built according to garbage maps, and when the question information of a user is received, the response information can be quickly and accurately made. Examples are: and acquiring keywords in the user question information, and when the keywords hit a target node, and the node has no child node such as 'waste electrical appliance', directly adopting a top father node as an answer such as 'recoverable article'.
If the target node has child nodes, the top father nodes of the two nodes are searched as answers, if the question information is that the durian is garbage, the durian node is hit, the top father node of the node is searched for wet garbage, and meanwhile the child node is searched for skin, and the top father node is dry garbage, so that the answer is that the durian meat belongs to the wet garbage and the durian skin belongs to the dry garbage.
The scheme also provides a computer which comprises a processor, wherein the processor can output answer information by adopting the prompting method.
This scheme still provides a wastes material accommodate device, including above-mentioned computer device, wastes material accommodate device has a plurality of mutually independent accommodation space, and the user can be customized to every accommodation space, if hold dry rubbish, wet rubbish, recoverable rubbish and can not retrieve rubbish etc. when not knowing the rubbish type, the user can adopt the mode of asking questions to acquire the rubbish type to put into corresponding accommodation space with rubbish.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method of prompting, comprising:
acquiring keyword information in user questioning content;
determining a target node of a map grid corresponding to the keyword information;
judging whether the target node has a child node group or not;
if the child node group does not exist, the top parent node of the target node is used as reply information; and if the child node group exists, using a top parent node corresponding to the child node in the child node group as reply information, wherein the top parent node is the topmost node corresponding to the target node.
2. The prompting method according to claim 1, wherein the obtaining of the keyword information in the user question content comprises:
receiving question information of a user;
and acquiring the keywords from the question information according to the word sequence recorded by the nodes in the graph grid.
3. The hinting method of claim 1, wherein the determining that the keyword information corresponds to a target node of the graph grid comprises:
comparing the word sequence of the keyword with the word sequence in the node information of the map grid;
determining the matching degree of each node in the graph grid and the keyword;
and taking the node corresponding to the node information with the highest matching degree as the target node.
4. The prompting method according to claim 1, wherein the step of using the top parent node corresponding to the child node in the child node group as the reply information comprises:
judging the number of first child nodes in the child node group;
and taking the top father node corresponding to the node information of each first child node within three node depths as reply information.
5. A prompting method according to claim 1, wherein the reply message is transmitted to an output terminal, and the output terminal outputs the reply message in a voice playback form or a text form.
6. A reminder system, comprising:
the first acquisition unit is used for acquiring keywords in the user question information;
the second acquisition unit is used for acquiring a target node of the map grid corresponding to the keyword information;
the judging unit is used for judging whether the target node has a child node group or not, and if the child node group does not exist, the top parent node of the target node is used as reply information; and if the child node group exists, using a top parent node corresponding to the child node in the child node group as reply information.
7. The reminder system of claim 6, further comprising a receiving unit configured to receive question information of a user.
8. The reminder system of claim 6, further comprising an output unit to output the reply information.
9. A computer comprising a processor that outputs reply information using the prompt method of any one of claims 1-5.
10. A waste containment device including the computer of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910944659.5A CN110929027B (en) | 2019-09-30 | 2019-09-30 | Prompting system, prompting method, computer and waste accommodating device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910944659.5A CN110929027B (en) | 2019-09-30 | 2019-09-30 | Prompting system, prompting method, computer and waste accommodating device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110929027A CN110929027A (en) | 2020-03-27 |
CN110929027B true CN110929027B (en) | 2022-08-12 |
Family
ID=69849015
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910944659.5A Active CN110929027B (en) | 2019-09-30 | 2019-09-30 | Prompting system, prompting method, computer and waste accommodating device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110929027B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112328741B (en) * | 2020-11-03 | 2022-02-18 | 平安科技(深圳)有限公司 | Intelligent association reply method and device based on artificial intelligence and computer equipment |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1267223A (en) * | 1987-01-13 | 1990-03-27 | Thomas Jay Ashford | Method for obtaining information in an expert system |
WO2001067225A2 (en) * | 2000-03-06 | 2001-09-13 | Kanisa Inc. | A system and method for providing an intelligent multi-step dialog with a user |
JP2014127019A (en) * | 2012-12-26 | 2014-07-07 | Nec Corp | Question generation device, information processing device, question generation method, information processing method and computer program |
CN108959366A (en) * | 2018-05-21 | 2018-12-07 | 宁波薄言信息技术有限公司 | A kind of method of opening question and answer |
CN109273101A (en) * | 2018-09-05 | 2019-01-25 | 百度在线网络技术(北京)有限公司 | Man-machine interaction method, device, computer equipment and medium based on decision tree |
CN109725803A (en) * | 2018-12-20 | 2019-05-07 | 网易(杭州)网络有限公司 | Comment information processing method and processing device, storage medium, electronic equipment |
CN109933654A (en) * | 2019-01-30 | 2019-06-25 | 神思电子技术股份有限公司 | A kind of dialogue management method based on State Tree |
CN110019723A (en) * | 2017-12-21 | 2019-07-16 | 上海智臻智能网络科技股份有限公司 | Answering method, terminal device and storage medium based on question answering system |
CN110019693A (en) * | 2017-07-25 | 2019-07-16 | 百度在线网络技术(北京)有限公司 | Information recommendation method, server and the computer-readable medium of intelligent customer service |
CN110019731A (en) * | 2017-12-25 | 2019-07-16 | 上海智臻智能网络科技股份有限公司 | Intelligent interactive method, device, terminal device and storage medium |
CN110019753A (en) * | 2019-01-24 | 2019-07-16 | 阿里巴巴集团控股有限公司 | The method and apparatus for exporting rhetorical question question sentence for user's question sentence |
CN110188174A (en) * | 2019-04-19 | 2019-08-30 | 浙江工业大学 | A kind of professional domain FAQ intelligent answer method excavated based on specialized vocabulary |
CN110209772A (en) * | 2019-06-17 | 2019-09-06 | 科大讯飞股份有限公司 | A kind of text handling method, device, equipment and readable storage medium storing program for executing |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160306791A1 (en) * | 2015-04-15 | 2016-10-20 | International Business Machines Corporation | Determining User-Friendly Information to Solicit in a Question and Answer System |
US10606952B2 (en) * | 2016-06-24 | 2020-03-31 | Elemental Cognition Llc | Architecture and processes for computer learning and understanding |
CN106599604B (en) * | 2017-01-12 | 2019-10-08 | 上海博集医疗科技有限公司 | Medical information intelligent interactive system and method |
CN108090177B (en) * | 2017-12-15 | 2020-05-05 | 上海智臻智能网络科技股份有限公司 | Multi-round question-answering system generation method, equipment, medium and multi-round question-answering system |
US10942955B2 (en) * | 2017-12-21 | 2021-03-09 | Shanghai Xiaoi Robot Technology Co., Ltd. | Questioning and answering method, method for generating questioning and answering system, and method for modifying questioning and answering system |
CN108595494B (en) * | 2018-03-15 | 2022-05-20 | 腾讯科技(深圳)有限公司 | Method and device for acquiring reply information |
CN108664599B (en) * | 2018-05-09 | 2022-02-22 | 腾讯科技(深圳)有限公司 | Intelligent question-answering method and device, intelligent question-answering server and storage medium |
CN108984666B (en) * | 2018-06-29 | 2022-05-13 | 阿里巴巴集团控股有限公司 | Data processing method, data processing device and server |
CN109190114B (en) * | 2018-08-13 | 2022-06-07 | 北京百度网讯科技有限公司 | Method and device for generating reply information |
CN109145101B (en) * | 2018-09-06 | 2021-05-25 | 北京京东尚科信息技术有限公司 | Man-machine conversation method, device and computer readable storage medium |
CN109933653A (en) * | 2019-01-24 | 2019-06-25 | 平安科技(深圳)有限公司 | Question and answer querying method, system and the computer equipment of question answering system |
CN109829036A (en) * | 2019-02-12 | 2019-05-31 | 浙江核新同花顺网络信息股份有限公司 | A kind of dialogue management method and relevant apparatus |
CN109947921B (en) * | 2019-03-19 | 2022-09-02 | 河海大学常州校区 | Intelligent question-answering system based on natural language processing |
-
2019
- 2019-09-30 CN CN201910944659.5A patent/CN110929027B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CA1267223A (en) * | 1987-01-13 | 1990-03-27 | Thomas Jay Ashford | Method for obtaining information in an expert system |
WO2001067225A2 (en) * | 2000-03-06 | 2001-09-13 | Kanisa Inc. | A system and method for providing an intelligent multi-step dialog with a user |
JP2014127019A (en) * | 2012-12-26 | 2014-07-07 | Nec Corp | Question generation device, information processing device, question generation method, information processing method and computer program |
CN110019693A (en) * | 2017-07-25 | 2019-07-16 | 百度在线网络技术(北京)有限公司 | Information recommendation method, server and the computer-readable medium of intelligent customer service |
CN110019723A (en) * | 2017-12-21 | 2019-07-16 | 上海智臻智能网络科技股份有限公司 | Answering method, terminal device and storage medium based on question answering system |
CN110019731A (en) * | 2017-12-25 | 2019-07-16 | 上海智臻智能网络科技股份有限公司 | Intelligent interactive method, device, terminal device and storage medium |
CN108959366A (en) * | 2018-05-21 | 2018-12-07 | 宁波薄言信息技术有限公司 | A kind of method of opening question and answer |
CN109273101A (en) * | 2018-09-05 | 2019-01-25 | 百度在线网络技术(北京)有限公司 | Man-machine interaction method, device, computer equipment and medium based on decision tree |
CN109725803A (en) * | 2018-12-20 | 2019-05-07 | 网易(杭州)网络有限公司 | Comment information processing method and processing device, storage medium, electronic equipment |
CN110019753A (en) * | 2019-01-24 | 2019-07-16 | 阿里巴巴集团控股有限公司 | The method and apparatus for exporting rhetorical question question sentence for user's question sentence |
CN109933654A (en) * | 2019-01-30 | 2019-06-25 | 神思电子技术股份有限公司 | A kind of dialogue management method based on State Tree |
CN110188174A (en) * | 2019-04-19 | 2019-08-30 | 浙江工业大学 | A kind of professional domain FAQ intelligent answer method excavated based on specialized vocabulary |
CN110209772A (en) * | 2019-06-17 | 2019-09-06 | 科大讯飞股份有限公司 | A kind of text handling method, device, equipment and readable storage medium storing program for executing |
Also Published As
Publication number | Publication date |
---|---|
CN110929027A (en) | 2020-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108595494B (en) | Method and device for acquiring reply information | |
US7966316B2 (en) | Question type-sensitive answer summarization | |
Peng et al. | An implementation of ID3-decision tree learning algorithm | |
Kazi et al. | Medchatbot: An umls based chatbot for medical students | |
CN108664599B (en) | Intelligent question-answering method and device, intelligent question-answering server and storage medium | |
EP1612701A3 (en) | Automated taxonomy generation | |
CN108932945A (en) | A kind of processing method and processing device of phonetic order | |
CN108305180B (en) | Friend recommendation method and device | |
CN110929027B (en) | Prompting system, prompting method, computer and waste accommodating device | |
US9015097B2 (en) | System and method for learning answers to frequently asked questions from a semi-structured data source | |
CN114385821A (en) | Resource retrieval method and device, storage medium and electronic equipment | |
CN109547322A (en) | System prompt control method, device, computer and computer readable storage medium | |
WO2018231472A1 (en) | Identifying relationships from communication content | |
CN112148844A (en) | Information reply method and device for robot | |
CN117273750A (en) | Intelligent customer service system and interaction method thereof with customers | |
CN116453513A (en) | Immersive voice interaction method and device, intelligent desk and readable storage medium | |
CN115203366B (en) | Result acquisition method and device, electronic equipment and storage medium | |
CN110674632A (en) | Method and device for determining security level, storage medium and equipment | |
CN109857859A (en) | Processing method, device, equipment and the storage medium of news information | |
CN107894938A (en) | Application program control method and device, server and storage medium | |
CN116414996A (en) | Knowledge graph-based problem query method and device and electronic equipment | |
CN111026834B (en) | Question and answer corpus generation method and system | |
CN114860897A (en) | Sensitive word detection method and device, electronic equipment and readable storage medium | |
CN112860983B (en) | Method, system, equipment and readable storage medium for pushing learning content | |
CN112328977A (en) | Method, device, equipment and medium for detecting authenticity of application software |
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 |