Ancient poem keyword extraction and poem line generation method, device and equipment, and medium

An extraction method and keyword technology, applied in computer equipment and storage media, ancient poetry keyword extraction, poetry line generation method, and device fields, can solve problems such as low degree of poetry model fitting, lack of poetry sample, poor experience, etc. , to achieve the effect of reducing the training recall rate, improving the generation accuracy rate, and improving the model efficiency

Active Publication Date: 2020-10-30
CHINA PING AN LIFE INSURANCE CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, artificial intelligence has realized the automatic generation of verses, most of which generate a verse through a keyword, that is, generate five-character or seven-character verses. In the existing technology, verses are often generated through a deep learning-based poetry model. The technical solution requires a large number of poetry samples, but the current poetry samples that can be used to train the poetry model are very scarce, and because the poetry samples are not poetically extracted from the keywords, the degree of fitting of the trained poetry model is not high. The verses generated by this poetry model often lack the poetic flavor of the sample verses, and there are also various problems such as incoherent sentences, which lead to low satisfaction and poor user experience for the generated verses.

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
  • Ancient poem keyword extraction and poem line generation method, device and equipment, and medium
  • Ancient poem keyword extraction and poem line generation method, device and equipment, and medium
  • Ancient poem keyword extraction and poem line generation method, device and equipment, and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0039] The ancient poem keyword extraction method that the present invention provides can be applied in such as figure 1 , where a client (computer device) communicates with a server over a network. Wherein, the client (computer device) includes but is not limited to various personal computers, notebook computers, smart phones, tablet computers, cameras and portable wearable devices. The server can be implemented by an independent server or a server c...

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 the field of big data processing, and provides ancient poem keyword extraction and poem line generation method, device and equipment, and a medium. The method comprises the following steps: obtaining poem information in a poem extraction instruction; inputting the poem information into a poem annotation model based on BERT and classical characters in an ancient poem keyword extraction model, and splitting and annotating the poem information through the poem annotation model to obtain poem sequence information; identifying a poem type through a poem type identificationmodel; inputting the poem sequence information into a CRF-based type constraint model corresponding to the poem type in an ancient poem keyword extraction model, and performing marking and constraintprediction processing on the poem sequence information to obtain a keyword result; and determining ancient poetry keywords according to keyword results. According to the method, the ancient poetry keywords reflecting the poetry in the poetry information are automatically extracted through the poetry labeling model based on BERT and classical characters and the type constraint model based on CRF.

Description

technical field [0001] The present invention relates to the field of data processing of big data, in particular to a method, device, computer equipment and storage medium for extracting keywords from ancient poems and generating verses. Background technique [0002] At present, artificial intelligence has realized the automatic generation of verses, most of which generate a verse through a keyword, that is, generate five-character or seven-character verses. In the existing technology, verses are often generated through a deep learning-based poetry model. The technical solution requires a large number of poetry samples, but the current poetry samples that can be used to train the poetry model are very scarce, and because the poetry samples are not poetically extracted from the keywords, the degree of fitting of the trained poetry model is not high. The verses generated by this poetry model often lack the poetic flavor of the sample verses, and there are various problems such ...

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): G06F40/216G06F40/284G06F40/289G06F40/117G06F40/242
CPCG06F40/216G06F40/284G06F40/289G06F40/117G06F40/242Y02D10/00
Inventor 刘广
Owner CHINA PING AN LIFE INSURANCE 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