Abstract: Provided are a sample generation method and apparatus. The sample generation method comprises: acquiring a plurality of text-audio pairs, wherein each text-audio pair contains a text segment and an audio segment; calculating an audio feature of an audio segment of each of the plurality of text-audio pairs, and selecting, by means of screening and according to the audio feature, a target text-audio pair and a splicing text-audio pair corresponding to the target text-audio pair from among the plurality of text-audio pairs; splicing the target text-audio pair and the splicing text-audio pair into a text-audio pair to be tested, and testing the text-audio pair to be tested; and when the text-audio pair to be tested meets a preset test condition, writing the text-audio pair to be tested into a training database.
Type:
Grant
Filed:
November 12, 2021
Date of Patent:
November 7, 2023
Assignee:
Beijing Yuanli Weilai Science and Technology Co., Ltd.
Inventors:
Dongxiao Wang, Mingqi Yang, Nan Ma, Long Xia, Changzhen Guo