Stochastic edit distance implementation using OpenFst