Skip to content

Commit

Permalink
Decoder#unset_search no longer required in grammar configuration [Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
watsonbox committed Apr 27, 2015
1 parent 598ccaf commit 6c0446d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/pocketsphinx/configuration/grammar.rb
Expand Up @@ -12,7 +12,6 @@ def initialize(*args, &block)#(grammar_path = nil)
# Since JSGF strings are not supported in Pocketsphinx configuration (only files),
# we use the post_init_decoder hook to configure the JSGF
def post_init_decoder(decoder)
decoder.unset_search
decoder.set_jsgf_string(grammar.raw)
decoder.set_search
end
Expand Down

0 comments on commit 6c0446d

Please sign in to comment.