Statement coherence checking method
The invention provides a statement coherence checking method, which comprises the following steps of: performing entity extraction on sentences in an article coherence task data set to obtain a new data set; encoding the segmented marked sentences through a Bert layer to obtain sentence representati...
Saved in:
Main Authors | , , , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
26.11.2021
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention provides a statement coherence checking method, which comprises the following steps of: performing entity extraction on sentences in an article coherence task data set to obtain a new data set; encoding the segmented marked sentences through a Bert layer to obtain sentence representation; averaging the vector groups of the plurality of entities in the front and back sentences to obtain an internal entity vector group, averaging the cohesion word vector groups between the internal entities in the front and back sentences to obtain an internal cohesion word vector group, averaging the head and tail cohesion words between the front and back sentences to obtain a sentence head and tail cohesion word vector group; performing cross combination on the entity vector group and the join word vector group, and performing splicing to obtain a sentence fusion vector fusing the join word and the entity information; splicing the vectors to obtain a new sentence representation, externally connecting a vector gr |
---|---|
Bibliography: | Application Number: CN202110814763 |