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

Text similarity obtaining method and device

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-03-10
GREE ELECTRIC APPLIANCES INC
View PDF7 Cites 2 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
  • Text similarity obtaining method and device
  • Text similarity obtaining method and device
  • Text similarity obtaining method and device

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. Take running on a mobile terminal as an example, figure 1 It is a hardware structural block diagram of a mobile terminal of a method for acquiring text similarity in an embodiment of the present application. Such as figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1 Only one is shown in) a processor 102 (the processor 102 may include but is 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 It may include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand, figure 1 The structure shown is only for illustration, and it does not limit the structure of the above mobile ...

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] This application relates to the field of communications, and specifically to a method and device for obtaining 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 system, machine translation, search engine, 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 no effective solution to the problem of low accuracy of calculating text similarity in related technologies. Summary of the invention [0004] The embodiments of the present application provide a method and device for acquiring text sim...

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