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

Method and device for correcting natural language generation results

A natural language and position input technology, applied in the field of machine learning, can solve problems such as misplaced word slots, missing word slots, and unnatural and fluent sentences, achieving fast and accurate corrections and excellent rewriting performance

Active Publication Date: 2020-11-17
ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, existing NLG systems still often have conversion errors, for example, missing some word slots, or misplaced word slots, etc., and the generated sentences are often not natural and smooth enough.

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 correcting natural language generation results
  • Method and device for correcting natural language generation results
  • Method and device for correcting natural language generation results

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The solutions provided in this specification will be described below in conjunction with the accompanying drawings.

[0045] As mentioned earlier, the NLG system is used to convert the input dialogue actions DA into natural language sentences. In order to improve the ability of the NLG system to generate DA, the delexicalization method can be used to hide the slot value in the input DA, and replace the corresponding vocabulary slot value in the reference sentence with the word slot in the DA, thereby generating and inputting the DA The corresponding output template. Therefore, an important step in the NLG process is to correctly generate a template sentence given an input DA. However, existing NLG systems often have various errors and flaws in the generation of template sentences.

[0046] Therefore, according to the embodiments of this specification, an iterative correction system is provided, which can be used to correct template sentences generated by the NLG syste...

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 provides a method and device for correcting a natural language generation result. The method comprises the steps: firstly, obtaining a first template sentence to be corrected in the round of iteration, wherein the sentence is generated for a dialogue action, and the dialogue action comprises a plurality of word slots; and inputting the first template sentence into apointer rewriter, and sequentially determining the characters of each output position in the sentence to be output one by one by the pointer rewriter, thereby generating a corrected second template sentence; performing word slot extraction on the second template sentence, and judging whether the extracted word slots are consistent with a plurality of word slots or not; and if not, determining thesecond template sentence as the input of the next round of iteration, generating a training sample based on the dialogue action and the second template sentence, and adding the training sample into asample buffer. The sample buffer is used for collecting training samples, and the collected training samples are used for training the pointer rewriter.

Description

technical field [0001] One or more embodiments of this specification relate to the field of machine learning, in particular to natural language generation, and methods and devices for modifying natural language generation results. Background technique [0002] With the rapid development of artificial intelligence and machine learning, various natural language processing tasks have been widely used in various business implementation scenarios. In various business scenarios such as intelligent customer service and automatic broadcasting, the automatic dialogue system will be used to generate natural language dialogue sentences. [0003] The core component of the automatic dialogue system is the natural language generation NLG (Natural Language Generation) system, which is used to convert a meaning representation, that is, a dialogue action DA (Dialogue Act) into a natural language sentence. Generally, a dialogue action DA contains an action type (act type) and some word slot-...

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/332
CPCG06F16/3329G06F16/3344
Inventor 李扬名姚开盛李小龙
Owner ALIPAY (HANGZHOU) INFORMATION TECH CO LTD