Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for generating template, electronic device, computer readable medium

A template technology that satisfies the presets. It is used in computing, electrical digital data processing, instruments, etc. It can solve the problems of reducing template quality, high cost, and time-consuming, and achieve the effect of low quality requirements, good quality, and high efficiency.

Active Publication Date: 2022-05-13
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, manual generation of templates is inefficient, time-consuming, and costly, which limits the number and diversity of templates; moreover, the quality of templates is very dependent on the level of executives and the quality of existing texts, and it is also prone to human error. Generate errors, reduce template quality

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 generating template, electronic device, computer readable medium
  • Method and device for generating template, electronic device, computer readable medium
  • Method and device for generating template, electronic device, computer readable medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order for those skilled in the art to better understand the technical solutions of the present disclosure, the method and device for generating templates, electronic equipment, and computer-readable media provided by the present disclosure will be described in detail below with reference to the accompanying drawings.

[0063] Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as limited to the embodiments set forth in the present disclosure. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.

[0064] As used in this disclosure, the term "and / or" includes any and all combinations of one or more of the associated listed items.

[0065] The terms used in the present disclosure are for describing specific em...

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 present disclosure provides a method for generating a template, including: determining multiple types of slots and a thesaurus corresponding to each type of slot; template expansion step: searching for at least one keyword in the preset training text library Candidate texts, using at least part of the candidate texts to generate templates, the contents of the candidate texts other than keywords are converted into fixed content in the templates generated by them, and the positions corresponding to keywords in the candidate texts are converted to the templates generated by them. The slot corresponding to the type of thesaurus where the keyword is located; the keyword expansion step: find the matching text with fixed content that matches the template in the training text library, and use the word corresponding to the slot in the template in the matching text as the type The candidate words of the corresponding slots, at least part of the candidate words are added as keywords into the thesaurus corresponding to the slot of this type. The present disclosure also provides a device for generating a template, an electronic device, and a computer-readable medium.

Description

technical field [0001] The embodiments of the present disclosure relate to the technical field of text generation, and in particular, to a method and device for generating a template, electronic equipment, and a computer-readable medium. Background technique [0002] Text Generation (Text Generation) is a technology that uses existing information (prior information) to generate smooth and relevant text (such as titles, sentences, paragraphs, etc.). One way of text generation is to use template generation: templates include fixed content (fixed text) and slots (Slot), each slot has a certain type, and when text is generated, the slot is filled into the lexicon corresponding to its type The keywords in , so as to generate a text composed of fixed content and keywords. [0003] Existing templates need to be generated manually: artificially summarize the rules of existing texts, extract common texts, change replaceable words into slots of corresponding types, obtain templates, ...

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): G06F16/33G06F16/35G06F40/186G06F40/30
CPCG06F16/35G06F16/3344G06F40/186G06F40/30
Inventor 王德瑞谷伟波贠挺刘霏暄陈国庆
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products