nltk / nltk_data

NLTK Data
1.47k stars 1.05k forks source link

Wordnet: Request for access to all synsets of OMW languages #109

Open HRezaei opened 6 years ago

HRezaei commented 6 years ago

I need wn.all_synsets(lang='fas') and also synset.definition(lang='fas')

fcbond commented 6 years ago

Currently you cannot do this directly, but you can ask for all synsets, then loop through and only look at synsets with Persian lemmas. There are no definitions for Persian at the moment.

On Sat, Feb 3, 2018 at 12:01 PM, Hosein Rezaei notifications@github.com wrote:

I need wn.all_synsets(lang='fas') and also synset.definition(lang='fas')

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nltk/nltk_data/issues/109, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD8xjuAyb2roj0jRCqrtqHUrEsYN2CFks5tQ9oCgaJpZM4R4CCb .

-- Francis Bond http://www3.ntu.edu.sg/home/fcbond/ Division of Linguistics and Multilingual Studies Nanyang Technological University

HRezaei commented 6 years ago

Thanks for your replay, May this feature be available in future releases? Are definitions already available for any other language than English?

fcbond commented 6 years ago

My pleasure.

Thanks for your replay, May this feature be available in future releases?

Yes, I hope so.

Are definitions already available for any other language than English?

Yes, but not in OMW yet, they should be in the next release (which we are working on now).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nltk/nltk_data/issues/109#issuecomment-362803782, or mute the thread https://github.com/notifications/unsubscribe-auth/ABD8xmUINy5mJPJdN-L8jgj_QBw2oc60ks5tRFVqgaJpZM4R4CCb .

-- Francis Bond http://www3.ntu.edu.sg/home/fcbond/ Division of Linguistics and Multilingual Studies Nanyang Technological University