Вопрос

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