Hello,

Even I am interested in getting Wiktionary data. Is there any wiktionary
database which I can download containing list of all the words and there
respective definitions?

Thanks
Aditya Uppu

On Tue, Mar 30, 2010 at 1:13 PM, Jeff Computers <[email protected]>wrote:

> How do I know where the first definition starts? Do I use the first # sign?
> I am looking for a powerful way to parse accurately. Thanks!
>
> ---------------------------------
> Jeff - President
> JEFFCOMPUTERS LLC.
> 636-256-7901
> [email protected]
> www.JeffComputers.com
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Conrad
> Irwin
> Sent: Tuesday, March 30, 2010 1:03 PM
> To: [email protected]
> Subject: Re: [Mediawiki-api] Wiktionary API VB6
>
>
>
> On 03/30/2010 06:54 PM, Jeff Computers wrote:
> > Actually this API looks so easy, I don't think I need an a code example.
> All
> > I need is the GET url with api.php and an example that would get the
> first
> > dictionary definition for something like 'Turtle' For example, it should
> > return something like this:
> >
> >
> >
> > 1.        A land or marine reptile having a protective shell (made up of
> a
> > carapace and a plastron) enclosing its body.
> >
>
> Wiktionary doesn't have a detailed API (yet), you can get the page
> source using a GET request to
>
>
> http://en.wiktionary.org/w/api.php?action=query&prop=revisions&rvprop=conten
> t&titles=turtle
>
> Or, for just one page to:
>
> http://en.wiktionary.org/w/index.php?action=raw&title=turtle
>
> Note that the page is not "Turtle", Wiktionary is case sensitive.
>
> Once you have the page, the definition lines (and only the definition
> lines) start with a #, so they're pretty easy to find.
>
> I don't know of any VB clients, but there's some in C# at
> http://www.mediawiki.org/wiki/API:Client_code#.NET
>
> Conrad
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.791 / Virus Database: 271.1.1/2773 - Release Date: 03/30/10
> 01:32:00
>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to