Closed karbachinsky closed 8 years ago
I forgot to mark init() as protected, sorry.
Thank you for the report.
Application should never create grammar with default constructor without calling newProperties. It leads to more serious issues than just missing logMath. Someone has to look why it happens.
Ok, I'll try to check.
Fixed in a bit different way, thank you.
Also in sf tracker https://sourceforge.net/p/cmusphinx/bugs/428/
I have a JSGF grammar with weights.
And got exception when using this grammar. The problem is that JSGFGrammar is initialized with default constructor in FlatLinguist and logMath reamins null.