port SRILM to new weights format