nltk “OMW” wordnet with Arabic language
问题 I'm working on python/nltk with (OMW) wordnet specifically for The Arabic language. All the functions work fine with the English language yet I can't seem to be able to perform any of them when I use the 'arb' tag. The only thing that works great is extracting the lemma_names from a given Arabic synset. The code below works fine with u'arb': The output is a list of Arabic lemmas. for synset in wn.synsets(u'عام',lang=('arb')): for lemma in synset.lemma_names(u'arb'): print lemma When I try to