Skip to content

Instantly share code, notes, and snippets.

@luhonghai
Created November 26, 2014 08:38
Show Gist options
  • Save luhonghai/179872bb1e4863a5432d to your computer and use it in GitHub Desktop.
Save luhonghai/179872bb1e4863a5432d to your computer and use it in GitHub Desktop.
Configuration configuration = new Configuration();
configuration.setUseGrammar(true);
configuration.setGrammarName("necessarily");
configuration.setGrammarPath("/Development/Sphinx/grammar");
configuration.setAcousticModelPath("file:///Development/Sphinx/wsj-en-us");
configuration.setDictionaryPath("file:///Development/Sphinx/dict/cmuphonemedict");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment