9

I'd like to get the part of speech and maybe the definition for English words.

I found a link like this: http://en.wikipedia.org/w/api.php?action=query&list=search&srwhat=text&srsearch=don%27t

but it doesn't seem to get me the results I see on Wiktionary for the word "don't".

Do you know any url where I can query the api to search for a word?

Nemo
  • 2,441
  • 2
  • 29
  • 63
Andrew
  • 6,254
  • 16
  • 59
  • 93
  • That's searching wikipedia. You probably want to search against http://en.wiktionary.org/w/api.php?action=query&list=search&srwhat=text&srsearch=don%27t – Glen Solsberry Sep 12 '11 at 12:41
  • still don't get what I want. I get some text that it's not on the Wiktionary website page. – Andrew Sep 12 '11 at 12:45
  • I guess my list parameter is not right, I guess there should be something else than search. Any idea? – Andrew Sep 12 '11 at 12:48

1 Answers1