Hi,
One of my contributions to Elefant is an adapter to the Java Version of UIMA
which allows you to pipe Python strings through a UIMA annotation engine and
get feature vectors to work with back. This was done using JPype: <
http://jpype.sourceforge.net/>, a tool which links the JVM to the CPython
VM.

I choose this non-obvious approach because we use native code Python
extensions for the matrix operations, an area where Java regrettably lacks
behind big time compared to native code. So, Jython was out of the question
as I don't know any way to access a CPython extension from Jython. I found
JPype to do the job and to do it well (the overhead per Cross-VM call was
around 1ms on my laptop). So for those craving for a state-of-the-art Python
with decent extensions and access to Java code, this might be an option.

Greetings from Canberra,

Markus

Reply via email to