Eman Naguib
Eman Naguib

Reputation: 23

AttributeError: 'WordNetCorpusReader' object has no attribute 'get_synsets_from_word'

when using arabic wordnet in python , I follow this post Import Arabic Wordnet in python

and when run this command wn.get_synsets_from_word(u"جَمِيل") raise AttributeError: 'WordNetCorpusReader' object has no attribute 'get_synsets_from_word' how solve this error and use arabic wordnet correctly?

Upvotes: 1

Views: 1646

Answers (1)

Assem
Assem

Reputation: 12097

This Arabic Wordnet has no relation to Wordnet but the name. Wordnet has not that function wn.get_synsets_from_word. You should download Arabic Wordnet from here.

Upvotes: 1

Related Questions