Op Wednesday 06 February 2008 05:23:31 schreef Markus Weimer: > 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.
Well, one of my favourite Java libraries made it into the email address of this list, and I must say, I was hoping to get some good solutions to the problem of linear algebra in a JVM here. Has this problem been discussed beforehand? I have only used linear algebra packages well before there was Java, so I wonder how to go about it now. Regards, Paul Elschot
