- ..
- app_spec-checkpoint.yml
- char_rnn_model-checkpoint.py
- config_poem-checkpoint.py
- data_loader-checkpoint.py
- faas_requirements-checkpoint.txt
- handler-checkpoint.py
- main-checkpoint.ipynb
- OVERVIEW-checkpoint.md
- rhyme_helper-checkpoint.py
- train-checkpoint.py
- Untitled-checkpoint.ipynb
- untitled-checkpoint.md
- word2vec_helper-checkpoint.py
- write_poem-checkpoint.py
OVERVIEW-checkpoint.md @68ba611 — view markup · raw · history · blame
概述
利用 LSTM 神经网络,输入提供的词语,输出对应的藏头诗或藏字诗。
输入
| 参数 | 描述 | 类型 |
|---|---|---|
| Chinese_word | 输入4个汉字 | str |
| style | 选择类型 | 自选 |
输出
| 参数 | 描述 | 类型 |
|---|---|---|
| Poetry | 一首古诗 | str |
实例
在输入框中输入 “小莫最棒” ,选择需要输出的诗词类型,点击提交,生成的古诗词为: 小田高枕声清晓,莫学石榴垆里中。最有雁中琴乍坛,棒中无事不相逢。 每次提交生成的结果都不一样,你可以从中选择一个最好的,赶快来体验吧~