Method and apparatus for generating plot in miniature theater intelligent machine, device, medium, and product
Патент · US A1
Полный текст
A method and an apparatus for generating a plot in a miniature theater intelligent machine, a device, a medium, and a product are provided. The method includes: performing word segmentation on a plot text at a current moment to generate multiple words; transforming the multiple words by bidirectional encoder representations from Transformers to generate word vectors corresponding to respective words; setting the word vectors as feature vectors corresponding to the plot text at the current moment; inputting the feature vectors and contextual information at the current moment into a trained deep learning model to determine a plot text at a next moment; and setting the plot text at the next moment as the plot text at the current moment, and returning to the step of performing word segmentation on a plot text at a current moment to generate multiple words.