Replying method, replying device, electronic device and computer readable storage medium

A technology of reply device and human-computer interaction, which is applied in the fields of computing, electrical digital data processing, still image data retrieval, etc.

Inactive Publication Date: 2019-05-21
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there is a lack of a method that can respond to the appropriate picture according to the content entered by the user in the context of human-computer automated text interaction.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Replying method, replying device, electronic device and computer readable storage medium
  • Replying method, replying device, electronic device and computer readable storage medium
  • Replying method, replying device, electronic device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0048] [Response method according to the first embodiment]

[0049] The reply method according to the present invention can read the control program stored on the ROM 103 or the storage device 106 through the CPU 102 of the reply device 1000, or from a web server (not shown) connected to the reply device 1000 via a network via the communication unit 107 And the downloaded control program is implemented.

[0050] Before performing the reply method according to the present invention, it is necessary to prepare the reply picture database. The specific process is as follows:

[0051] (1) Collect and organize picture materials: You can crawl and collect picture materials from the public Internet (including emoticon pictures, public chat log pictures, network pictures, etc.).

[0052] (2) Generate a picture description reflecting the content of the picture for each picture material: each picture needs to have a simple description of the picture content (ie, "picture description"), which ca...

no. 2 example

[0069] [Response method according to the second embodiment]

[0070] Combine below Figure 5 with Image 6 The reply method according to the second embodiment of the present invention will be described. among them, Figure 5 It is a flowchart illustrating the response obtaining steps of the response method according to the second embodiment of the present invention.

[0071] Such as Figure 5 As shown, the difference between the reply method according to the second embodiment and the reply method according to the first embodiment is that a sorting step S2023 is added in the reply obtaining step.

[0072] Specifically, in the ranking step S2023, the semantic similarity calculated in the step S1021 is ranked. Next, in the result return step S2022, the picture associated with the semantic similarity that is ranked at the top (for example, the top N, where N is a positive integer) and satisfies a predetermined condition is taken as the picture of the user to be replied that can match th...

no. 3 example

[0078] [Response method according to the third embodiment]

[0079] Combine below Figure 7 with Figure 8 The reply method according to the third embodiment of the present invention will be described.

[0080] Figure 7 It is a flowchart illustrating the reply method according to the third embodiment of the present invention.

[0081] Such as Figure 7 As shown, the difference between the reply method according to the third embodiment and the reply method according to the first embodiment is that a preprocessing step S300 is added.

[0082] Specifically, in the preprocessing step S300, the input information input by the user is preprocessed. Here, the preprocessing includes the removal of punctuation, the removal of meaningless symbols, the removal of garbled characters, the conversion of uppercase and lowercase, and the conversion of simplified and traditional Chinese.

[0083] Next, in the semantic processing step S301, processing based on semantic understanding is performed on the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a reply method, a reply device, an electronic device and a computer readable storage medium, and the reply method comprises the following steps: a semantic processing step: carrying out semantic understanding-based processing on input information input by a user to generate a semantic processing result of the input information; and a reply obtaining step: performing retrieval processing based on a reply picture database on the semantic processing result to obtain a picture matched with the input information as a reply for the input information to be output to the user. Based on the semantic processing result of the input information, the related picture is retrieved from the reply picture database, so that the problem that the picture cannot be intelligently repliedin human-computer interaction is solved.

Description

Technical field [0001] The embodiment of the present invention relates to a reply method, a reply device, an electronic device, and a computer-readable storage medium based on text interaction, and specifically relates to a method for intelligently replying to a picture matching the input content based on input content in a human-computer interaction scenario . Background technique [0002] Currently, in text-based human-to-human interaction (for example, online chat, online business consulting), sending pictures (especially animated pictures, emoticons, fun pictures, etc.) as a means to enhance interactivity and interest has been It is widely used by users. The human-computer text interaction system has begun to be widely used in all walks of life. In the current human-machine automated text interaction, the content of the machine's reply is a text reply based on the contextual content, or a few fixed simple expressions (such as emoji expressions). [0003] At present, there is...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & AuthorityApplications(China)
IPC IPC(8): G06F16/58G06F16/51G06F17/27
Inventor王卓然亓超马宇驰金烁陈华荣
OwnerTENCENT TECH (SHENZHEN) CO LTD