Text generation method and device and storage medium

A text and generative model technology, applied in the computer field, can solve problems such as the small number of aligned corpora, poor versatility of text generation technology, and no aligned corpus, so as to achieve the effect of improving versatility

Active Publication Date: 2019-04-16
TENCENT TECH (SHENZHEN) CO LTD
View PDF6 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] During the research and practice of the existing technology, the inventors of the present application found that the number of relevant images in certain specific fields is small, and the number of aligned corpora corresponding to images in these specific fields is also small, or there is no corresponding image at all. Aligned corpus, in the absence of sufficient material support, it is impossible to train a usable text generation model. It can be seen that the current text generation technology is less versatile

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0058] Embodiments of the present application provide a text generation method, device, and storage medium, figure 2 The schematic diagram of the text generation application scene provided by the embodiment of the present application, as shown in the figure, acquires the target image; performs image classification on the target image to obtain the image category of the target image; when the image category belongs to the preset category set, according to the image category, The keyword corresp...

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 embodiment of the invention discloses a text generation method and device and a storage medium. The method includes: acquiring a target image; Performing image classification on the target image to obtain an image type of the target image; When the image category belongs to a preset category set, according to the image category, screening out keywords corresponding to the target image in a preset word bank; Generating a corresponding text fragment according to the semantic information corresponding to the keyword; And generating a text according to the text segment. According to the scheme, the category of the target image can be identified, the corresponding keyword can be determined, and then the text is generated according to the keyword corresponding to the target image, so that the text conforming to the expression content of the image is obtained, and the universality of the technology of generating the text according to the image is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a text generation method, device and storage medium. Background technique [0002] In recent years, with the popularity of deep neural network technology in the field of artificial intelligence, the technology of image-based text generation has made great progress. Generally speaking, the existing image-based text generation technology often needs to use a large number of images and their corresponding aligned corpus to train a text generation model that can be widely used. After inputting the target image into the model, it will get its corresponding style, The text of the topic. [0003] During the research and practice of the existing technology, the inventors of the present application found that the number of relevant images in certain specific fields is small, and the number of aligned corpora corresponding to images in these specific fields is also small, ...

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 Applications(China)
IPC IPC(8): G06F16/583G06F16/36
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