k2-fsa / icefall

https://k2-fsa.github.io/icefall/
Apache License 2.0
792 stars 267 forks source link

Decoding using LM with Contextual biasing (Hotwords) #1600

Open kerolos opened 4 weeks ago

kerolos commented 4 weeks ago

1- Is it possible to use a LM (RNNLM or n-gram) at the same time adding Hotwords in ONNX ? 2- How can I change the display word, for example word contains special characters or with hyphen. I had tried to put the desired special words with @SPECIALWORD in ( --hotwords-file ) , but it does not work (the tokens_type i used is bpe) ?, However in the old system By using Phone Based lexicon we can display any words have special character ! Thanks in advance