Using Arabic WordNet for synonyms in python?
<p>I am trying to get the synonyms for arabic words in a sentence</p>

<p>If the word is in English it works perfectly, and the results are displayed in Arabic language, I was wondering if its possible to get the synonym of an Arabic word right away without writing it in english first.</p>

<p>I tried that but it didn't work &amp; I would prefer without tashkeel انتظار instead of اِنْتِظار</p>

<pre><code>from nltk.corpus import wordnet as omw
jan = omw.synsets('انتظار ')[0]
print(jan)
print(jan.lemma_names(lang='arb'))
</code></pre>