Modern-poetry 现代诗数据库

2020-02-07 Views Json | Poem1155字6 min read
featureimg

modern-poetry 现代诗数据库

Github 地址

English_version

Part1: chinese-modern-poetry 中国近现代诗

最全的中国近现代诗数据库,包含约5000首中国现代诗、3000首当代诗、三万首近现代诗。数据来源于互联网。

做这个仓库的原因: 我本人是个爱好诗歌的人,尤其是近代诗歌。但网上却缺少一个很好的中国近代诗库,所以我便抽出了时间做了这个项目。本项目采用 json 分发数据。日后本项目会加入英语的现代诗以及稍微久远一些的诗,如莎士比亚的作品。

贡献

由于抓取现代诗资源的网站的布局很乱,所以现代诗的内容以及标题可能会存在有匹配错误的情况,如果发现了问题你可以通过如下方式反馈;

  • 直接提交 PR 或者通过 issue 讨论来优化这个项目
  • 发邮件到我的邮箱 qyxtim@qq.com 来反馈问题

由于本项目不止局限于中国现代诗,也欢迎英文、法文等语言的诗歌投稿。投稿的内容可以在 issue 内讨论。如果要通过PR投稿,投稿的格式一定要参考以下格式:

// Format of posts (not for translation)
[{
	"author":"author-name",
	"title":"poem-title",
	"paragraphs":[
	"sentence-1","sentence-2"
	],
	"id":"" // Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
}, ...
]

// Format of author
[{
	"name": "author-name",
	"src": "URL",
	"id": "",// Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
	"description": "Description about author"
}, ...
]

如果你想要翻译本项目的诗或者找到本项目诗的合适翻译,可以通过如下格式提交:

// Format of posts (translation)
[{
	"author":"author-name(Chinese name)",
	"title":"poem-title",
	"translation":[
	"sentence-1","sentence-2"
	],
	"id":"", // Generated by uuid3 in python
	"origin":"poems' origin name"
}, ...
]

// Format of author
[{
	"name": "author-name",
	"src": "URL",
	"id": "",// Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
	"description": "Description about author"
}, ...
]

内容需要提交到特定语言的 translation 文件夹内。

如果你发现你想要翻译的作者已经被翻译了,但是翻译的不够好,你可以在issue里发起讨论(需要同时放上自己的翻译以及原始翻译),点赞数最高的将被收录进文件内。

注意:在PR时,请一定确保没有重复的内容。

词云

中国现代诗
中国当代诗
中国近代诗

许可证

Apache License

English_version

Part1: chinese-modern-poetry

The most comprehensive database of modern Chinese poetry contains about 5,000 modern Chinese poems, 3,000 contemporary poems and 30,000 modern Chinese poems. The data comes from the Internet.

Reasons for this repository: I am a lover of poetry, especially modern poetry. However, there is a lack of a good library of modern Chinese poems online, so I took the time to do this project. This project USES json to distribute data. The project will include modern poetry in English as well as older poetry, such as Shakespeare in the future.

Contribution

Because the layout of websites that grab modern poetry resources is very messy, there may be matching errors in the content and titles of modern poetry. If you find problems, you can give feedback in the following ways.

  • Optimize the project by submitting PR directly or through issue discussion

  • Send an email to my email address qyxtim@qq.com for feedback

Since this project is not limited to modern Chinese poetry, poems in English, French and other languages are also welcome to submit. You can discuss your idea on issues. If you want to submit through PR, you must refer to the following format:

// Format of posts

[{
	"author":"author-name",
	"title":"poem-title",
	"paragraphs":[
	"sentence-1","sentence-2"
	],
	"id":"" // Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
}, ...
]

// Format of authors
[{
	"name": "author-name",
	"src": "URL",
	"id": "",// Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
	"Description": "Description about author"
}, ...
]

If you want to translate the poetry of this project or find a suitable translation of the poetry of this project, you can submit it in the following format:

// Format of posts (translation)
[{
	"author":"author-name(Chinese name)",
	"title":"poem-title",
	"translation":[
	"sentence-1","sentence-2"
	],
	"id":"", // Generated by uuid3 in python
	"origin":"poems' origin name"
}, ...
]

// Format of author
[{
	"name": "author-name",
	"src": "URL",
	"id": "", // Generated by uuid3 in python: uuid.uuid3(uuid.NAMESPACE_URL, author-name)
	"description": "Description about author"
}, ...
]

The content needs to be submitted to a language-specific translation folder.

If you find that the author you want to translate has already been translated, but the translation is not good enough, you can initiate a discussion in issue (both your own translation and the original translation are required), and the one with the highest number of thumb up will be included in the document.

Note: in PR, please make sure there is no repetition.

Clouds

Chinese contemporary poem
Chinese modern poem
Chinese modern-time poem

License

Apache License


Big Image
EOF
本文章采用CC BY-NC-SA 4.0进行许可。转载请注明出处!
上一篇

Modern poetry 现代诗数据库爬取过程


下一篇

一天