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

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

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