문제 설명
AttributeError: 'WordNetCorpusReader' 개체에 'get_synsets_from_word' 속성이 없습니다. (AttributeError: 'WordNetCorpusReader' object has no attribute 'get_synsets_from_word')
파이썬에서 아랍어 워드넷을 사용할 때 이 게시물을 따릅니다. 파이썬에서 아랍어 워드넷 가져오기
그리고 이 명령을 실행할 때 wn.get_synsets_from_word(u"جَمِيل")
발생 AttributeError: 'WordNetCorpusReader' 개체에 'get_synsets_from_word' 속성이 없습니다. 이 오류를 해결하고 아랍어 wordnet을 사용하는 방법 맞습니까?
참조 솔루션
방법 1:
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.
(by Eman Naguib、Assem)