** I found [http://www.mblondel.org/journal/2009/05/19/java-jruby-or-jython-for-scientific-computing-a-test-case-with-hidden-markov-models/ Mathieu Blondel's writeup] really helpful -- jahmm is a good package