parlance / ctcdecode

PyTorch CTC Decoder bindings
MIT License
829 stars 245 forks source link

#41: Add fix for incorrect output scores #42

Closed ryanleary closed 7 years ago

ryanleary commented 7 years ago

The input modification for (presumably numerical) "stability" introduces a bias which is then improperly handled by taking the negative beam probability.

Ensure that this change doesn't cause numerically unstable results/investigate alternative workarounds and then merge.