PyLucene is released under the MIT license. We may change that at some point to the Apache 2 license. It is my understanding that this prevents us from including any GPL'ed code.

I do not know more about the Licenses. Can i integrate the ArabicAnalyzer in Pylucene without violating any licensing issue.

Yes of course you can, in your own version, that is not a problem. But I can't make it part of the sofware package that is made generally available on our web site.

I checked the Makefile and PyLucene.i files. I can make changes in Makefile for including external Analyzer. But it seems difficult for me for updating PyLucene.i . I am using CentOS-4.0, it is based on RedHat EL 4.0. Initially i tried to use compiled PyLucene but it was giving some Unicode problem (I forgot the exact problem). So i compiled and installed PyLucene-0.9.8 and using the same compiled PyLucene for all my machines. I think i can recompile the updated PyLucene. But the PyLucene.i file is very complex. I will be thankful if help me in updating the file. If possible give me some pointer for the same.

First of all, 0.9.8 is rather old. You should get the latest sources for PyLucene 1.0 released last month.

Look at lines 106 and 2604 in PyLucene.i to see how the GermanAnalyzer APIs are made available, it should help you do the same for your analyzer...

Andi..


Thank you
M  Chaudhary



Andi Vajda wrote:


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










_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to