Is there any way to use Wikipedia API to count the number of word occurrences in Wikipedia. For example, how many times the word "Hello" appears in Wikipedia? I read the MediaWiki API docs but could not find it there! appreciate any help!

有帮助吗?

解决方案

There is no way to get a global word count from the API in a single call. If you are interested in wordcounts, then your best bet would be using the database dumps: http://dumps.wikimedia.org/backup-index.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top