mwlib 列表文章
我正在尝试使用 mwlib
(半官方 Python 库)来解析维基百科并进行一些文本挖掘。到目前为止,我还没有找到任何官方文档,并且不得不依赖谷歌、奇怪的邮件列表帖子和费力地浏览源代码。
有谁知道通过mwlib
获取维基百科文章列表的方法吗?或者,如果有一种不使用 mwlib 的替代方法,那也很好。
I'm trying to use mwlib
(a semi-official Python library) to parse Wikipedia and do some text-mining. So far I've not found any official documentation, and have had to rely on Google, the odd mailinglist post and wading through the source code.
Does anyone know a way of getting a list of Wikipedia articles through mwlib
? Or if there's an alternative way that doesn't use mwlib
that's good too.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不知道这是否对您有帮助,但可以在 pypi< 处快速搜索
wikipedia
/a>.也许一些结果可能对您有帮助。
我偶然发现了 mwlib 文档。
I don't know if this will help you but do a quick search for
wikipedia
at pypi.Maybe some of the result may help you.
I stumbled upon mwlib documentation.
另一个可用的 Python 库是 wikitools。 pydoc中有一些文档,但不多。
Another python library available is wikitools. There is some documentation in pydoc, but it's not much.