Journal of East China Normal University(Natural Science) ›› 2020, Vol. 2020 ›› Issue (6): 129-139.doi: 10.3969/j.issn.1000-5641.201921017

• Computer Science • Previous Articles     Next Articles

Research on a Tang Poetry automatic generation system based on an evolutionary algorithm

MU Zhaonan1, LIU Mengzhu1, SUN Jieping2, WANG Cheng3   

  1. 1. College of Computer and Information Engineering, Guizhou University of Commerce, Guiyang 550014, China;
    2. College of Computer Science, Sichuan University, Chengdu 610207, China;
    3. Guangzhou Huizhi Communication Technology Co., Ltd, Guangzhou 510630, China
  • Received:2019-08-27 Published:2020-12-01

Abstract: In this paper, research on an automatic generation algorithm for Tang poetry, one of the poetry genres, is carried out. The research work consists of the GloVe(Global Vectors for Word Representation) model to train-word vectors, an initial population scheme based on keywords and peaceful rhymes, a fitness function for grammatical and semantic weights, and a selection strategy used in tournament algorithms; the latter includes heuristic crossover and heuristic mutation operators as well as automatic generation of Tang poetry based on an evolutionary algorithm. Experiments show that by providing keywords the established model and system can achieve the initial goal for automatic generation of Tang poems. After manual modification, the proposed system can generate valuable and appreciable Tang poems.

Key words: evolutionary algorithms, automatic generation, Tang Poetry, natural language processing

CLC Number: