Frage

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!

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top