Re: accessing PowerLoom from Ruby?
"Prasan Samtani" <[email protected]> Wed, 25 Jul 2007 10:07:00 -0700
| Newsgroups | gmane.comp.ai.powerloom |
|---|---|
| Message-ID | <479348D61212AC4DB31C9906F8C7028D029340CD@EXVBE012-5.exch012.intermedia.net> |
I have built a thin XML-RPC wrapper around the Java version of Powerloom in order to interface it with Python. I could release this publicly if people have a need for it. Since Ruby comes standard with XML-RPC, using it should be fairly trivial. I can provide the following: - Source code for xml-rpc wrapper - Netbeans project files - Compiled jar - Sample client source code in python - Python utilities making it easier to talk to PowerLoom (converting s-expressions to python lists and vice-versa) Let me know if you are interested. There will be almost zero support for it, but it runs well and is being continuously improved as I'm developing it for a commercial product. --Prasan -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rich Morin Sent: Tuesday, July 24, 2007 5:21 PM To: [email protected] Subject: [PowerLoom Forum] accessing PowerLoom from Ruby? I'm interested in accessing PowerLoom from Ruby. I can think of a couple of Ways To Do It, as: Have my Ruby script start up an interactive PowerLoom session, talking to it via a pair of sockets. Mix JRuby into PowerLoom's Java implementation. The socket notion seems a bit kludgy and error-prone; the JRuby notion is far beyond my Java-fu. Can anyone suggest a Better Way To Do It? -r -- http://www.cfcl.com/rdm Rich Morin http://www.cfcl.com/rdm/resume [email protected] http://www.cfcl.com/rdm/weblog +1 650-873-7841 Technical editing and writing, programming, and web development _______________________________________________ powerloom-forum mailing list [email protected] http://mailman.isi.edu/mailman/listinfo/powerloom-forum