Informaton Extraction and Text Mining
WEI Wancheng, HUANG Wenming, WANG Jing, DENG Zhenrong
2019, 33(11): 115-124.
This paper proposes a novel multi-task learning model for the automatic generation of classical poetry and couplet, which uses an encoder-decoder structure and the attention mechanism. The encoder consists of two BiLSTMs, one for keyword input, the other for classical poetry and couplet input. The decoder consists of two LSTMs, one for classical poetry output, the other for couplet output. In the multi-task learning model, the encoder parameters are shared and the decoder parameters are not shared. The encoder of model can learn the common features of classical poetry and couplet, the decoder of classical model can learn the unique features of classical poetry and couplet. So, the generalization ability of the model will be enhanced, and the performance will be much better than the single task model. At the same time, this paper innovatively introduces keyword information in the model, so that the generated classical poetry and couplet are consistent with the user's intention. At the end of this paper, automa-tic evaluation and manual evaluation are used to verify the effectiveness of the method.