Feature Requests item #2018652, was opened at 2008-07-15 15:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2018652&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ardjan Zwartjes (ardjan_zwartjes)
Assigned to: Nobody/Anonymous (nobody)
Summary: Export an API from the textops module.

Initial Comment:
I'm currently developing some openser modules and frequently encounter 
situations where I need functionality similar to things implemented in the 
textops module. Instead of copying functionality from textops it would be nice 
to have an API exported by the textops module to include in other modules 
(similar to what is done in the TM module and RR module). 

After talking about this option on the devel mailing list 
(http://lists.openser.org/pipermail/devel/2008-July/014712.html) I have created 
the attached patch against openser 1.3.2 TLS (the version I'm using). I have 
tested this code and it seems to work.

Currently I only export the following functions:
append_hf
remove_hf
search_append
search

which covers most of the functionality I need, if you guys think this 
functionality is useful and can be added to OpenSER I'm willing to spend some 
more time to add the other textops functions ass well and update the 
documentation to include the exported functions.

I hope this code can be used.

Kind regards,
Ardjan Zwartjes

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2018652&group_id=139143

_______________________________________________
Devel mailing list
Devel@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to