cmusphinx / sphinx4

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

factor out base functionality of JSGF vs. GrXML to avoid GrXML derivi… #77

Closed timobaumann closed 6 years ago

timobaumann commented 6 years ago

…ng from JSGF.

fixes issue https://github.com/cmusphinx/sphinx4/issues/76

timobaumann commented 6 years ago

I'm not entirely happy with the refactoring: I tried hard to leave anything that was public in the base class, so that it remains accessible for GrXMLGrammar. Funny enough, this includes loadJSGF... However, most classes should not be called JSGFxyz since they're not tied to JSGF. But that's for another day.

nshmyrev commented 6 years ago

Thank you!