Chinese poem automatic generation method and device

Sun Maosong,Yi Xiaoyuan,Li Ruoyu,Yang Zonghan
2019-01-01
Abstract:The embodiment of the invention discloses a Chinese poem automatic generation method and device. The method and device can automatically generate high-quality Chinese poems which are closely deducted,consistent in context and close to the human creation level. The method comprises the following steps: S1, acquiring a keyword input by a user, encoding the keyword into a vector, and storing the vector in a first region; S2, reading the most relevant content of the current poem to be generated from the first area, the second area and the third area, and generating the current poem by utilizing the most relevant content; and S3, storing the current poem in the second area, storing an important part in the poem generated last time in the third area, and executing the step S2 when judging and knowing that the whole poem is not generated completely, or ending when judging and knowing that the whole poem is generated completely.
What problem does this paper attempt to address?