wiktionary

Has anyone parsed Wiktionary? [closed]

随声附和 提交于 2019-12-28 03:20:30
问题 Closed. This question is off-topic. It is not currently accepting answers. Closed last year . Locked . This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. Wiktionary is a wiki dictionary that covers many languages. It even has translations. I would be interested in parsing it and playing with the data, has anyone does anything like this before? Is there any library I can use?

Parse Wiktionary XML data dump into MySQL database using PHP

匆匆过客 提交于 2019-12-10 10:39:56
问题 Alright, I'm just trying to parse Wiktionary Data Dump provided by Wikimedia. My intention is to parse that XML data dump into MySQL database. I didn't find proper documentation regarding the structure of this XML. Also, I'm not able to open the file because it's infact really huge (~1 GB). I thought of parsing it using some PHP script but I don't have any idea about the XML structure to proceed. So If anyone had already parsed (or have idea about any tool to parse) into MySQL using PHP,

How can I use the Wiktionary API for getting pronunciation data? [closed]

为君一笑 提交于 2019-12-04 20:23:34
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I was looking for a way to get the pronunciation of any given word by querying an API of some sort. As Wiktionary comes in handy to find pronunciations of words I was trying to use their API, but how do I get the pronunciation of a specific word? It seems their API only allows getting the entire Wiki article. 回答1:

How can I use the Wiktionary API for getting pronunciation data? [closed]

女生的网名这么多〃 提交于 2019-12-03 12:45:50
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I was looking for a way to get the pronunciation of any given word by querying an API of some sort. As Wiktionary comes in handy to find pronunciations of words I was trying to use their API, but how do I get the pronunciation of a specific word? It seems their API only allows getting the entire Wiki article. Wiktionary doesn't have an API of its own. MediaWiki, the software the Wiktionary runs on does have an API but it

wikionary API - meaning of words

为君一笑 提交于 2019-12-03 09:59:31
问题 I would like get meaning of selected word using wikionary API. Content retrieve data should be the same as is presented in "Word of the day", only the basic meaning without etympology, Synonyms etc.. for example "postiche n Any item of false hair worn on the head or face, such as a false beard or wig." I tried use documentation but i can find similar example, can anybody help with this problem? 回答1: Although MediaWiki has an API ( api.php ), it might be easiest for your purposes to just use

Has anyone parsed Wiktionary? [closed]

断了今生、忘了曾经 提交于 2019-11-27 10:32:12
Wiktionary is a wiki dictionary that covers many languages. It even has translations. I would be interested in parsing it and playing with the data, has anyone does anything like this before? Is there any library I can use? (Preferably Python.) Wiktionary runs on MediaWiki, which has an API . One of the subpages for the API documentation is Client code, which lists some Python libraries . I had at one time downloaded a wiktionary dump, trying to gather together words and definitions for slavic languages. I approached it using elementtree to go thru the xml file that is the dump. I would avoid

How to retrieve Wiktionary word content?

£可爱£侵袭症+ 提交于 2019-11-27 05:53:49
How may Wiktionary's API be used to determine whether or not a word exists? Michael Mrozek The Wiktionary API can be used to query whether or not a word exists. Examples for existing and non-existing pages: http://en.wiktionary.org/w/api.php?action=query&titles=test http://en.wiktionary.org/w/api.php?action=query&titles=testx The first link provides examples on other types of formats that might be easier to parse. To retrieve the word's data in a small XHTML format (should more than existence be required), request the printable version of the page: http://en.wiktionary.org/w/index.php?title

How to retrieve Wiktionary word content?

巧了我就是萌 提交于 2019-11-26 11:46:32
问题 How may Wiktionary\'s API be used to determine whether or not a word exists? 回答1: The Wiktionary API can be used to query whether or not a word exists. Examples for existing and non-existing pages: http://en.wiktionary.org/w/api.php?action=query&titles=test http://en.wiktionary.org/w/api.php?action=query&titles=testx The first link provides examples on other types of formats that might be easier to parse. To retrieve the word's data in a small XHTML format (should more than existence be