Text processing method and device and storage medium

A text, target text technology, applied in the computer field, can solve problems such as low accuracy

Pending Publication Date: 2019-07-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF13 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a text processing method, device, and storage me

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
  • Text processing method and device and storage medium
  • Text processing method and device and storage medium
  • Text processing method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0022] It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate ...

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 discloses a text processing method and device and a storage medium. The method comprises the steps of obtaining a plurality of original short sentences of an original text and a plurality of original words of each original short sentence, and obtaining a plurality of target short sentences of a target text and a plurality of target words of each target short sentence; determining anoriginal short sentence vector of each original short sentence according to the original word vector of each original word and the corresponding importance weight, and determining a target short sentence vector of each target short sentence according to the target word vector of each target word and the corresponding importance weight; obtaining the similarity between the original text and the target text according to a first target matrix determined by each original short sentence vector and the corresponding importance weight and a second target matrix determined by each target short sentence vector and the corresponding importance weight; and when the similarity is greater than a target threshold, determining that the target text is matched with the original text, and outputting the target text, so that the technical problem that the text matching accuracy is lower in the prior art is solved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a text processing method, device and storage medium. Background technique [0002] At present, when the machine automatically matches questions, it is usually necessary to measure the similarity between texts to return standard questions that match the questions. [0003] However, usually every word in a sentence is considered equally important. When the user's input is lengthy or contains unimportant information, the model is easily biased and focuses on unimportant parts. In addition, it does not start from the most fundamental meaning of the sentence and grasp the most critical part of the sentence. When the question is longer than a certain length, or the expression is more colloquial, the machine often cannot grasp the key points expressed by the user, and thus returns the same as the question. Irrelevant texts have the problem of low accuracy in matching texts. [0004] F...

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
IPC IPC(8): G06K9/62G06F17/27
CPCG06F40/284G06F40/289G06F18/22
Inventor 赵瑞辉韦伟乔倩倩
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products