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

Text splicing method and device

A text and fragment technology, applied in the field of text splicing methods and devices, can solve problems such as the reduction of sentence intelligibility, and achieve the effects of improving intelligibility, solving the reduction in intelligibility, and improving accuracy

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

AI Technical Summary

Problems solved by technology

[0004] For this reason, the first purpose of the present invention is to propose a text splicing method to improve the accuracy of sentence segmentation, ensure that the sentence semantics are not destroyed, improve the intelligibility of sentences, and solve unreasonable sentences in the prior art. Segmentation leads to technical problems that reduce the intelligibility of sentences

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
  • Text splicing method and device
  • Text splicing method and device
  • Text splicing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034]Embodiments of the present invention will be described in detail below, and examples of the embodiments are illustrated in the drawings, in which the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions. The following is exemplary, and is intended to be used to illustrate the invention without understanding the limitation of the invention.

[0035]The text splicing method of the embodiment of the present invention and its apparatus are described below with reference to the drawings.

[0036]For a long text, it usually increases the difficulty of readers to understand the meaning of text. For example, for text "give me a chance. How to give you a chance. I didn't choose, now I want to be a good person. Ok, go to the judge, see if he lets you do a good person. That is let me go Dinn. Sorry, I am a policeman. "This text contains two people's dialogue. If the sentence is not sentenced, the sentence is not reasonable, ...

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 invention proposes a text splicing method and its device, wherein the method includes: obtaining the current text segment to be spliced, obtaining the average sentence length corresponding to the current text segment, obtaining the first semantic score of the current text segment in the semantic model, Obtain the second semantic score of the candidate sentence containing the current text segment in the semantic model; wherein, the current text segment is the starting segment of the candidate sentence; according to the average sentence length, the first semantic score and the second semantic score, the current text segment Splicing is performed to obtain the target sentence corresponding to the current text segment. When segmenting a sentence, not only the length of the sentence is considered, but the length of the sentence is appropriate to avoid long and difficult sentences or a large number of short sentences, so that the length of the sentence is relatively stable. Moreover, the scoring of the semantic model is also considered during segmentation, thereby improving the accuracy of sentence segmentation, ensuring that the semantics of the sentence are not destroyed, and improving the intelligibility of the sentence.

Description

Technical field[0001]The present invention relates to the field of natural language processing, and more particularly to a text splicing method and a device thereof.Background technique[0002]In speech synthesis data processing, the natural language text is long, and it is not convenient for speech synthesis data, and the text is often required to obtain the most reasonable sentence. Incorrect text cutting methods, the resulting sections are not reasonable enough, seriously affect the semantics of the semantic sentence, reduce the understanding of the sentence, and then reduce the quality of data processing. Thus, how to improve the accuracy of sentence segmentation becomes an urgent problem to be solved.Inventive content[0003]The present invention is intended to solve one of the technical problems in the relevant techniques at least to some extent.[0004]To this end, the first object of the present invention is to propose a text splicing method to increase the accuracy of the sentenc...

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): G06F40/30G06F40/211
CPCG06F40/211G06F40/30
Inventor 孔德威
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD