Question

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!

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top