Text processing method and device, electronic equipment and readable storage medium

A technology of text processing and target text, applied in the field of text processing methods, electronic equipment and readable storage media, and devices, can solve the problem of inaccurate semantics and achieve the effect of accurate semantics

Pending Publication Date: 2020-03-24
BEIJING INST OF ENVIRONMENTAL FEATURES
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, an algorithm is usually used to convert the text directly, for example, the Word2Vec model

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present application, and are not construed as limiting the present application.

[0052] Those skilled in the art will understand that unless otherwise stated, the singular forms "a", "an", "said" and "the" used herein may also include plural forms. It should be further understood that the word "comprising" used in the specification of the present application refers to the presence of the features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, elements, components, and / or groups thereof. It...

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 relates to a text processing method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: obtaining a target text sequence of a target text, and extracting a subject term sequence from the target text sequence; respectively obtaining semantic distances between all words in the target text sequence and the subject term sequence, and determining a keyword sequence of the target text based on the semantic distances; obtaining a vector of each keyword in the keyword sequence to construct a word vector matrix; obtaining a semanticweight parameter matrix of the target text through a preset random gradient descent algorithm; and obtaining a semantic vector of the target text according to the word vector matrix and the semanticweight parameter matrix. According to the text processing method provided by the invention, the semantics of the target text can be expressed more accurately.

Description

technical field [0001] The present application relates to the technical field of natural language processing, in particular to a text processing method, device, electronic equipment and readable storage medium. Background technique [0002] In natural language processing tasks, word vectors can effectively capture the semantic information and grammatical information of the word context, and realize the vectorized representation of words. It is a bridge for computers to understand human language. In order to represent text into data that computers can understand and process easily, Often it is necessary to convert text to vectors. [0003] At present, an algorithm is usually used to convert text directly, for example, the Word2Vec model is used to directly convert text, and the semantics obtained after conversion are often not accurate enough. Contents of the invention [0004] The purpose of this application is to at least solve one of the above-mentioned technical defect...

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/30
Inventor 董毅翟佳陈峰彭实谢晓丹
Owner BEIJING INST OF ENVIRONMENTAL FEATURES
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