Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and device for acquiring text similarity

A technology of text similarity and acquisition method, applied in the field of text similarity acquisition, can solve the problem of low accuracy of calculating text similarity, achieve test accuracy, solve low similarity accuracy, and ensure real validity Effect

Active Publication Date: 2020-11-10
GREE ELECTRIC APPLIANCES INC
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present application provides a method and device for obtaining text similarity to at least solve the problem of low accuracy in calculating text similarity in the related art

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
  • Method and device for acquiring text similarity
  • Method and device for acquiring text similarity
  • Method and device for acquiring text similarity

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0020] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a hardware structural block diagram of a mobile terminal according to a text similarity acquisition method in an embodiment of the present application. like figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also Transmission means 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the s...

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 text similarity obtaining method and device. The method comprises the following steps: obtaining a second main word of a sentence of a to-be-tested text for the to-be-tested text with the similarity with a target text, and obtaining a first main word of the sentence of the target text; and determining a second vector of the to-be-tested text and a first vector of the target text according to the second main word and the first main word, and determining the similarity between the to-be-tested text and the target text according to the second vector and the first vector.By the adoption of the technical scheme, the similarity between the texts is determined according to the text vectors of the main words, the true effectiveness of a comparison result is guaranteed, the test accuracy is improved, and the problem that in the prior art, the text similarity calculation accuracy is low is solved.

Description

technical field [0001] The present application relates to the communication field, in particular, to a method and device for acquiring text similarity. Background technique [0002] In related technologies, in the field of natural language processing, due to the needs of text analysis, it is often necessary to compare the similarity of two texts. As a basic task in the field of natural language processing, text similarity calculation is widely used in this field, such as Text classification, question answering systems, machine translation, search engines, etc. And it occupies a very important position in various tasks. The accuracy of similarity calculation directly affects the performance of tasks such as question answering systems. [0003] There is currently no effective solution to the problem of low accuracy in calculating text similarity in related technologies. Contents of the invention [0004] Embodiments of the present application provide a method and device fo...

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 & Authority Patents(China)
IPC IPC(8): G06F40/211G06F40/284
Inventor 陈功马雅奇陈彦宇谭泽汉陈明威仲丽君孙秀丹
Owner GREE ELECTRIC APPLIANCES INC