user2207665
user2207665

Reputation: 1

Wiktionary : Get list of pages for a given word

I would like to have a list of pages existing in wiktionary for a given word. The case : I search the definition of the word მამა (means dad) in georgian. There is no page for this word in the georgian wiktionary so I would like to have a list of all synonyms.

I have searched and made test with this page :

https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&prop=revisions&format=json&rvprop=ids&rvlimit=10&titles=Foo&titles=Foo

Any idea?

Thanks for the help

Upvotes: 0

Views: 349

Answers (1)

hippietrail
hippietrail

Reputation: 17004

There is no API for Wiktionary at the dictionary level, only at the wiki level, which is probably not much help. See this question for more details: How to retrieve Wiktionary word content?

So there is no API that will allow you to query for synonyms or even to query for Georgian language entries or data.

You can fetch Wiktionary pages either in raw wikitext or in HTML, and you can download entire database dumps in an XML format, which you can try to parse from scratch.

One thing that will help in the case of Georgian is that is has a unique alphabet so the vast majority of Wiktionary entries in the Georgian script will be for the Georgian language. (But there are also a very small number of entries for words in Laz, Mingrelian, Old Georgian, and Svan which will also use the Georgian script.)

Upvotes: 1

Related Questions