wikionary API - meaning of words

后端 未结 4 590
北恋
北恋 2021-02-02 03:41

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 e

4条回答
  •  有刺的猬
    2021-02-02 04:29

    OK, I admit defeat.

    There are some files relating to Wiktionary in Pywikipediabot and I looking at the code, it does look like you should be able to get it to parse meaning/definition fields for you.

    However the last half an hour has convinced me otherwise. The code is not well written and I wonder if it has ever worked.

    So I defer to idealmachine's answer, but I thought I would post this to save anyone else from making the same mistakes. :)

提交回复
热议问题