parlance / ctcdecode

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

Fix mem leak & add test case with language model #103

Closed unixnme closed 5 years ago

unixnme commented 5 years ago

Explicitly release scorer when the CTCBeamDecoder object is being destroyed. Add a test case that integrate a language model.

ryanleary commented 5 years ago

Thanks for the contrib. I'll test and integrate.