mwlib 列表文章

发布于 2024-12-28 12:43:29 字数 253 浏览 2 评论 0原文

我正在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

污味仙女 2025-01-04 12:43:29

我不知道这是否对您有帮助,但可以在 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.

东风软 2025-01-04 12:43:29

另一个可用的 Python 库是 wikitools。 pydoc中有一些文档,但不多。

Another python library available is wikitools. There is some documentation in pydoc, but it's not much.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文