NVIDIA / OpenSeq2Seq

Toolkit for efficient experimentation with Speech Recognition, Text2Speech and NLP
https://nvidia.github.io/OpenSeq2Seq
Apache License 2.0
1.54k stars 369 forks source link

Empty string can be added to ngram vector #550

Open vvasily opened 4 years ago

vvasily commented 4 years ago

https://github.com/NVIDIA/OpenSeq2Seq/blob/61204b212cfe5c9ceda2be816b9052e9caf021a9/decoders/scorer.cpp#L181

In the case if ROOT_ character is achieved in make_ngram the empty line can be added to ngram.