java - arabic query expansion - Lucene -


using lucene, there way expand arabic query term synonyms ? found wordnet there no code arabic language.

sample code please ....

thanks in advance

arabic analysis funcitonality can found in org.apache.lucene.analysis.ar package.

if looking arabic language stemming , such, should use arabicanalyzer. roll components of own analyzer, in case, arabicstemfilter , arabicnormalizationfilter key pieces.

if looking synonym replacement, synonymfilter should work fine in whatever language please.


Comments

Popular posts from this blog

javascript - How to name a jQuery function to make a browser's back button work? -

collision detection - C++ library for mesh to mesh intersection: what is available? -

python - Django-easy-pdf: xhtml2pdf reporting reportlab 2.2+ is required, but 3.0 installed -