HomeSort by relevance Sort by last modified time
    Searched refs:SR_Grammar (Results 1 - 14 of 14) sorted by null

  /external/srec/srec/Grammar/include/
SR_GrammarImpl.h 27 #include "SR_Grammar.h"
43 * SR_Grammar implementation.
50 SR_Grammar Interface;
55 * @param self SR_Grammar handle
58 // ESR_ReturnCode(*setupAcousticModels)(SR_Grammar* self, SR_AcousticModels* models);
59 ESR_ReturnCode(*setupRecognizer)(SR_Grammar* self, SR_Recognizer* recognizer);
63 * @param self SR_Grammar handle
65 ESR_ReturnCode(*unsetupRecognizer)(SR_Grammar* self);
72 * Recognizer associated with SR_Grammar.
118 SREC_GRAMMAR_API ESR_ReturnCode SR_Grammar_CompileRule(SR_Grammar* self, const LCHAR* name)
    [all...]
SR_Grammar.h 2 * SR_Grammar.h *
35 /* forward decl needed because of SR_Recognizer.h <-> SR_Grammar.h include loop */
39 * @addtogroup SR_GrammarModule SR_Grammar API functions
92 * @param self SR_Grammar handle
100 * @param self SR_Grammar handle
109 * @param self SR_Grammar handle
120 * @param self SR_Grammar handle
136 * @param self SR_Grammar handle
144 * @param self SR_Grammar handle
159 * @param self SR_Grammar handl
    [all...]
  /external/srec/srec/Grammar/src/
SR_Grammar.c 2 * SR_Grammar.c *
22 #include "SR_Grammar.h"
28 ESR_ReturnCode SR_GrammarCompile(SR_Grammar* self)
38 ESR_ReturnCode SR_GrammarAddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word,
51 ESR_ReturnCode SR_GrammarResetAllSlots(SR_Grammar* self)
61 ESR_ReturnCode SR_GrammarAddNametagToSlot(SR_Grammar* self, const LCHAR* slot,
72 ESR_ReturnCode SR_GrammarSetDispatchFunction(SR_Grammar* self, const LCHAR* name, void* userData, SR_GrammarDispatchFunction function)
82 ESR_ReturnCode SR_GrammarSave(SR_Grammar* self, const LCHAR* filename)
92 ESR_ReturnCode SR_GrammarSetParameter(SR_Grammar* self, const LCHAR* key, void* value)
102 ESR_ReturnCode SR_GrammarSetSize_tParameter(SR_Grammar* self, const LCHAR* key, size_t value
    [all...]
SR_GrammarImpl.c 23 #include "SR_Grammar.h"
35 ESR_ReturnCode SR_Grammar_Create(SR_Grammar** self)
108 *self = (SR_Grammar*) impl;
115 ESR_ReturnCode SR_GrammarCreate(SR_Grammar** self)
130 ESR_ReturnCode SR_Grammar_Compile(SR_Grammar* self)
149 ESR_ReturnCode SR_Grammar_AddWordToSlot(SR_Grammar* self, const LCHAR* slot, const LCHAR* word,
301 ESR_ReturnCode SR_Grammar_ResetAllSlots(SR_Grammar* self)
328 ESR_ReturnCode SR_Grammar_AddNametagToSlot(SR_Grammar* self, const LCHAR* slot,
340 ESR_ReturnCode SR_Grammar_SetDispatchFunction(SR_Grammar* self, const LCHAR* functionName, void* userData, SR_GrammarDispatchFunction function)
352 ESR_ReturnCode SR_GrammarLoad(const LCHAR* grammar, SR_Grammar** self
    [all...]
  /external/srec/srec/Recognizer/include/
SR_RecognizerImpl.h 34 #include "SR_Grammar.h"
354 SR_Grammar* grammar;
426 SR_Grammar* grammar,
433 SR_Grammar* grammar,
445 SR_Grammar* grammar,
452 SR_Grammar* grammar);
457 SR_Grammar* grammar,
  /external/srec/srec_jni/
android_speech_srec_Recognizer.cpp 40 #include "SR_Grammar.h"
193 checkEsrError(env, SR_RecognizerSetupRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
207 checkEsrError(env, SR_RecognizerActivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, weight));
214 checkEsrError(env, SR_RecognizerDeactivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
227 checkEsrError(env, SR_RecognizerIsActiveRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, &rtn));
235 checkEsrError(env, SR_RecognizerCheckGrammarConsistency((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, &rtn));
344 // SR_Grammar JNI implementations
349 checkEsrError(env, SR_GrammarCompile((SR_Grammar*)grammar));
362 checkEsrError(env, SR_GrammarAddWordToSlot((SR_Grammar*)grammar, sl, wo, pr, weight, ta));
372 checkEsrError(env, SR_GrammarResetAllSlots((SR_Grammar*)grammar))
    [all...]
  /external/srec/tools/make_g2g/
make_g2g.c 29 #include "SR_Grammar.h"
47 SR_Grammar* grammar = NULL;
  /external/srec/srec/Recognizer/src/
Recognizer.c 157 ESR_ReturnCode SR_RecognizerSetupRule(SR_Recognizer* self, SR_Grammar* grammar,
179 ESR_ReturnCode SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar,
190 ESR_ReturnCode SR_RecognizerDeactivateRule(SR_Recognizer* self, SR_Grammar* grammar,
211 ESR_ReturnCode SR_RecognizerIsActiveRule(SR_Recognizer* self, SR_Grammar* grammar,
222 ESR_ReturnCode SR_RecognizerCheckGrammarConsistency(SR_Recognizer* self, SR_Grammar* grammar,
RecognizerImpl.c     [all...]
  /external/srec/srec/Grammar/
Android.mk 10 src/SR_Grammar.c \
  /external/srec/tools/parseStringTest/
parseStringTest.c 28 #include "SR_Grammar.h"
50 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout);
51 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout);
104 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout, Opts* opts)
211 ESR_ReturnCode ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* result, PFile* fout)
277 SR_Grammar* grammar = NULL;
448 ESR_ReturnCode process_single_key_line(SR_Grammar* grammar, PFile* fin, PFile* fout)
536 ESR_ReturnCode process_multi_key_line(SR_Grammar* grammar, const LCHAR* rootrule, PFile* fin, PFile* fout)
  /external/srec/srec/test/SRecTest/src/
SRecTest.c 48 #include "SR_Grammar.h"
123 SR_Grammar* grammar; /* grammar. */
167 static int srec_test_recognize_nist_file ( SR_Grammar *active_grammar, ApplicationData *data, FILE *results_file,
169 static int srec_test_recognize_pcm_file ( SR_Grammar *active_grammar, ApplicationData *data, FILE *results_file,
281 static void srec_test_get_active_grammar ( ApplicationData *data, SR_Grammar **active_grammar )
459 ESR_ReturnCode srec_test_parse (SR_Grammar *grammar, const LCHAR* trans, LCHAR* meaning, size_t *len);
768 int srec_test_reset_slots ( SR_Grammar *active_grammar )
794 int srec_test_add_word ( SR_Grammar *active_grammar, LCHAR *command_text )
854 int srec_test_compile_active_context ( SR_Grammar *active_grammar )
974 int srec_test_free_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text
    [all...]
  /external/srec/srec/test/SRecTestAudio/src/
SRecTestAudio.c 45 #include "SR_Grammar.h"
122 SR_Grammar* grammar; /* grammar. */
167 static int srec_test_recognize_live ( SR_Grammar *active_grammar, ApplicationData *data, AUDIOIN_H audio_input_handle,
279 static void srec_test_get_active_grammar ( ApplicationData *data, SR_Grammar **active_grammar )
459 ESR_ReturnCode srec_test_parse (SR_Grammar *grammar, const LCHAR* trans, LCHAR* meaning, size_t *len);
761 int srec_test_reset_slots ( SR_Grammar *active_grammar )
787 int srec_test_add_word ( SR_Grammar *active_grammar, LCHAR *command_text )
846 int srec_test_compile_active_context ( SR_Grammar *active_grammar )
965 int srec_test_free_context ( SR_Grammar *active_grammar, ApplicationData *data, LCHAR *command_text )
    [all...]
  /external/srec/tools/test_g2g/
test_g2g.c 26 #include "SR_Grammar.h"
72 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout);
190 SR_Grammar* grammar = NULL;
439 ESR_ReturnCode Parse(SR_Grammar* grammar, LCHAR* trans, PFile* fout)

Completed in 221 milliseconds