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

Synonym sentence generation method and device based on BERT model, equipment and storage medium

A technology of model generation and synonymous words, applied in semantic analysis, natural language data processing, instruments, etc., can solve the problems of inability to distinguish different semantics of polysemous words and low accuracy of synonymous questions

Pending Publication Date: 2021-10-08
PINGAN INT SMART CITY TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The existing technology usually uses the synonyms of the word2vec model to output the vocabulary to replace the original words to obtain synonymous sentences, but word2vec cannot distinguish the different semantics of polysemous words
For example, the word "car" has different meanings in "a car" and "cherry", which leads to the low accuracy of synonymous questions generated by this method

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
  • Synonym sentence generation method and device based on BERT model, equipment and storage medium
  • Synonym sentence generation method and device based on BERT model, equipment and storage medium
  • Synonym sentence generation method and device based on BERT model, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0049] The invention provides a method for generating synonymous sentences based on the BERT model. refer to figure 1 As shown, it is a schematic flow chart of an embodiment of the method for generating synonymous sentences based on the BERT model in the present invention. The method can be executed by an electronic device, and the electronic device can be realized by software and / or hardw...

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 technical field of artificial intelligence, and provides a synonym sentence generation method and device based on BERT model, equipment and a storage medium. The method comprises the steps of obtaining a template statement of a to-be-generated synonym sentence, performing word segmentation operation on the template statement to obtain a plurality of segmented words, generating a candidate word set corresponding to each segmented word and a score of each candidate word in the candidate word set based on a pre-trained BERT model, extracting at least one keyword from the plurality of segmented words, performing replacement operation on the keyword based on a candidate word set corresponding to the keyword to obtain a plurality of candidate statements corresponding to the template statement, calculating a logic score of each candidate statement based on the score of the candidate word, and when the logic score is greater than a preset threshold value, taking the candidate statement as a synonym sentence of the template statement. The synonym sentences of the sentences can be massively and accurately generated. The invention further relates to the technical field of block chains. The synonym sentence can be stored in a node of a block chain.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a method, device, equipment and storage medium for generating synonymous sentences based on a BERT model. Background technique [0002] With the rapid development of artificial intelligence and the development of hospital informatization, the intelligent auxiliary medical consultation system has also emerged. The intelligent auxiliary medical consultation system can support auxiliary disease diagnosis, health management, remote consultation and other functions. [0003] Since the intelligent question answering system (for example, the intelligent assisted consultation system) needs to understand the consultation information input by the patient, so as to assign the appropriate department to the patient, and the query sentences with different meanings and different expressions will cause serious problems to the system's semantic understanding of the sentence...

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): G06F16/332G06F16/33G06F40/186G06F40/247G06F40/279G06F40/30
CPCG06F16/3329G06F16/3344G06F40/186G06F40/247G06F40/279G06F40/30
Inventor 刘静
Owner PINGAN INT SMART CITY TECH 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