Method and device for constructing character relation graph and storage medium
A technology of character relationship and graph, applied in the field of knowledge graph, can solve the problems of only attention, redundant lexical features, unequal contribution, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] Such as figure 1 Shown is a flow chart of a method for constructing a character relationship map according to an embodiment of the present invention, showing the specific implementation steps of the method for building a character relation map of members in a group chat, including:
[0045] S1, acquiring group chat data, where the group chat data includes time information and text information;
[0046] S2. Divide the group chat data into one or more group chat segments according to the time information and the text information;
[0047] S3, extracting the topic category of the group chat segment, classifying the group chat segment according to the topic category, and obtaining one or more topic data, the topic data including one or more of the group chat segment;
[0048]S4. Analyzing all the group chat clips included in the topic data to obtain the character relationship of the members, the character relationship including the activity level of the members, the intera...
Embodiment 2
[0066] Such as figure 2 Shown is a flow chart of building a character relationship map in an embodiment of the present invention, showing the main implementation steps of the method, including:
[0067] First, get the group chat data.
[0068] In a possible implementation, the group chat data is obtained from a database storing the group chat data. Databases include relational databases and non-relational databases, such as MySQL, PostgreSQL, MongoDB, SQLite and other databases. In other embodiments, the group chat data can be obtained from other data sources, for example: data sources such as cloud data and remote servers.
[0069] Second, preprocess the group chat data to generate group chat fragments.
[0070] In a possible implementation, the group chat data is firstly cleaned to remove various system notification messages, various emoticons, various types of web pages, pictures, video links, and other garbled characters and non-Chinese characters in the group chat dat...
Embodiment 3
[0131]The present invention also provides a device for constructing a character relationship map, such as Figure 8 As shown, the device includes a processor 801, a memory 802, a bus 803, and a computer program stored in the memory 802 and operable on the processor 801. The processor 801 includes one or more processing cores, and the memory 802 passes through the bus 803. Connected to the processor 801, the memory 802 is used to store program instructions, and the processor implements the steps in the above method embodiments of the present invention when executing the computer program.
[0132] Further, as an executable solution, the device for constructing the character relationship graph may be computing devices such as desktop computers, notebooks, palmtop computers, and cloud servers. A system / electronic device may include, but is not limited to, a processor, memory. Those skilled in the art can understand that the composition structure of the above-mentioned system / elec...
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