cmusphinx / sphinx4

Pure Java speech recognition library
cmusphinx.sourceforge.net
Other
1.4k stars 587 forks source link

Fix StringIndexOutOfBoundsException #94

Closed dalewking closed 4 years ago

dalewking commented 4 years ago

The length of previous string was not checked before retrieving the first character. When it is empty it throws exception

nshmyrev commented 4 years ago

Thank you