This is Java port of CRF++