Construction method and device of map and electronic equipment
A technology of graph and knowledge graph, applied in the field of electronic equipment, graph construction method and device, can solve the problems of long time consumption, high construction cost and many maintenance entities, and achieve the effect of reducing construction cost and maintenance cost and improving accuracy.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] The embodiment of the present invention provides a method for constructing a graph, see figure 1 A flow chart of a graph construction method is shown, the graph is applied to a dialogue robot, and the graph includes a knowledge graph and an affair graph, and the method includes:
[0057] Step S101: Obtain dialogue data marked with business demands in the target field;
[0058] Specifically, the dialogue data includes user dialogue and customer service answers to the user, and the number of dialogue data is one thousand or more, wherein the number of dialogue data can be set according to actual needs, and this embodiment of the present invention does not specifically limit it; Business demands are the general demands of users in the target field. For example, in the aviation field, business demands include: querying flights, handling refunds, changing passwords, etc.
[0059] Step S102: Preprocessing the dialog data;
[0060] Preprocessing the dialogue data, including ...
Embodiment 2
[0094] On the basis of the above-mentioned embodiments, the embodiment of the present invention also provides a graph construction device, such as image 3 Shown is a schematic structural diagram of a graph construction device, which is used in dialogue robots. The graph includes a knowledge graph and an event graph. The device includes:
[0095] Dialogue data acquisition module 31, configured to acquire dialogue data marked with business demands in the target field;
[0096] A data processing module 32, configured to preprocess the dialogue data;
[0097] The semantic role labeling module 33 is used to label the preprocessed dialog data with semantic roles, and obtain arguments of the dialog data based on the semantic role labeling;
[0098] The map node construction module 34 is used to construct a user map node and a customer service map node according to the argument of the dialogue data and the business entity corresponding to the preset target field;
[0099] Map node ...
Embodiment 3
[0125] On the basis of the above embodiments, an embodiment of the present invention provides an electronic device, the electronic device includes a memory and a processor; the memory is used to store a program that supports the processor to execute the method described in Embodiment 1, and the The processor is configured to execute programs stored in the memory.
[0126] The computer program product of the method for constructing the map provided by the embodiment of the present invention includes a computer-readable storage medium storing non-volatile program code executable by a processor, and the instructions included in the program code can be used to execute the preceding method For the method described in the embodiment, the specific implementation may refer to the method embodiment, and details are not repeated here.
[0127] Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the abov...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com