Using seq2seq model to generate chinese couplet.
-
First, I crawle some datas from urls like :
1)http://www.5ykj.com/Article/wmzsmyyy/80876.htm
2)http://www.duiduilian.com/chunlian/
3)http://wenku.baidu.com/view/3898175883d049649a665862 ,about 17 pages
4)http://wenku.baidu.com/view/87f00ed73968011ca20091a3 ,about 105 pages
-
Second,Using the seq2seq to model it.
-
Third,you can test it .
Some interesting resules,like below:
first couplet | next couplet(by model) |
---|---|
腊梅辞旧岁 | 春鼠报新春 |
年丰人寿家家乐 | 柳暗花明处处春 |
春光无限好 | 世纪焕然新 |
五湖四海皆春色 | 万水千山尽得辉 |