It shouldn't be too hard to create a custom build with the arabic analyzer.
Take a look at PyLucene's Makefile around line 426. If this analyzer is
similar in structure to the other ones, you can add its files to the
$(ANALYZERS_JAR) file and follow the same pattern in PyLucene.i as for the
other analyzer APIs declared in there.
If this is too complicated and the LICENSE for your analyzer allows it, ie, it
is compatible with PyLucene's LICENSE (see LICENSE file) I can include it in
the next release of PyLucene which should happen shortly after Java Lucene
1.9 is released.
Concerning mod_python use, see the pylucene-dev list archives regarding
threading issues.
Andi..
On Wed, 17 Aug 2005, M Chaudhary wrote:
Hello all
We are developing a web-based application; which will perform indexing and
searching of Arabic/English text.
Brief about our application is :
1. It's a web based indexing and searching application.
2. It should index ad search the Arabic/English text
We are using Apache, Mod_Python, Lucene/Pylucene and DBXML.
PyLucene is best for Indexing using Python. But I think there is no "Arabic
Analyzer" for Python.
Aramorph is a Java based Arabic Analyzer. Can i use "ArabicAnalyzer.jar"
using Python and SWIG(i am not sure) for Arabic text analysis.
We will be using mod_python and python that why i want equivalent to Aramorph
for Python.
I have gone through a documentation of how to convert Java into Python using
"gcj" and "swig" , but i am confused about how to go about.
So please help me and tell me the exact procedure to follow to pull that jar
file in python.
Thank you
M Chaudhary
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev