parlance / ctcdecode

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

Using a language model with a special character representing whitespace #133

Closed NoAchache closed 4 years ago

NoAchache commented 4 years ago

Hi, I am using a character language model provided by this github repository https://github.com/viswavi/languageid , with a 'special character representing whitespace'. How do I let the decoder know that it is the case, since when I am using the LM, it is not recognizing whitespaces anymore