Code is available at https://github.com/k2-fsa/sherpa