HomeSort by relevance Sort by last modified time
    Searched full:grammar (Results 1 - 25 of 320) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/srec/doc/logs/uapi/
run_ERT.log 4 Load a grammar
5 Add word to grammar slot
6 Save the grammar
7 Grammar saved
8 Recognizing against the first grammar (dynamic add-word)
11 Load the second grammar (pre-populated slot)
12 Grammar loaded
13 Recognizing against the pre-populated grammar
  /external/srec/config/en.us/grammars/
boolean.grxml 2 <grammar version="1.0" xml:lang="en-US" mode="voice" root="_boolean">
4 Boolean yes/no grammar, alternatives for yes and no can be added
5 to the grammar in the ROOT slot but this should be done carefully
16 </grammar>
rootslot.grxml 2 <grammar xml:lang="en-us" version="1.0" mode="speech" root="myRoot">
4 Root slot grammar, this is an empty grammar that can be used when
6 semantic meaning is 'V', and items should be added to the grammar
18 </grammar>
digits.grxml 2 <grammar version="1.0" xml:lang="en-US" mode="voice" root="_digits">
4 Test grammar, this digits grammar recognizes a variable number of
6 to the grammar, such as phone number constraints, length constraints
74 </grammar>
slot_test2.grxml 3 Test grammar
6 <grammar xml:lang="en-us" version="1.0" root="ROOT">
36 </grammar>
dynamic-test.grxml 2 <grammar xml:lang="en-us" version="1.0" root="ROOT">
28 </grammar>
lookup.grxml 2 <grammar xml:lang="en-us" version="1.0" root="ROOT" xmlns="http://www.w3.org/2001/06/grammar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/06/grammar http://www.w3.org/TR/speech-grammar/grammar.xsd">
5 Lookup name grammar, this is a sample grammar that can recognize
163 </grammar>
phone_type_choice.grxml 2 <grammar version="1.0" xml:lang="en-US" mode="voice" root="_phone_type_choice">
20 </grammar>
bothtags5.grxml 3 Test grammar, this grammar demonstrates the use of voicetags and
4 texttags added to the grammar. It also demonstrates how multiple
7 <grammar xml:lang="en-us" version="1.0" root="ROOT">
128 </grammar>
slot_test1.grxml 3 Test grammar, stacked slots
5 <grammar xml:lang="en-us" version="1.0" root="ROOT">
52 </grammar>
homonym_test1.grxml 3 Test grammar, here we test "hello" vs "hellow", used in places
6 <grammar xml:lang="en-us" version="1.0" root="ROOT">
131 </grammar>
homonym_test2.grxml 3 Test grammar, here we test "hello" vs "hellow", used in places
6 <grammar xml:lang="en-us" version="1.0" root="ROOT">
135 </grammar>
  /external/srec/srec/Grammar/include/
SR_Grammar.h 40 * Contains recognition grammar.
42 * A grammar consists of a list of rules.
48 * Upon adding and removing words, the grammar needs to be recompiled for the changes to
58 * Grammar dispatch function. Used for symantic processing.
71 * Contains recognition grammar.
73 * A grammar consists of a list of rules.
79 * Upon adding and removing words, the grammar needs to be recompiled for the changes to
88 * Compiles the grammar.
89 * In the case of a precompiled grammar, the function compiles those portions of the grammar
    [all...]
  /external/webkit/JavaScriptCore/
DerivedSources.make 42 Grammar.cpp \
60 # JavaScript language grammar
62 Grammar.cpp: Grammar.y
64 perl -p -e 'END { if ($$conflict) { unlink "Grammar.cpp"; die; } } $$conflict ||= /conflict/' < bison_out.txt
65 touch Grammar.cpp.h
66 touch Grammar.hpp
67 cat Grammar.cpp.h Grammar.hpp > Grammar.
    [all...]
  /external/srec/tools/make_g2g/
make_g2g.c 42 LFPRINTF(stdout,"usage: %s -base <base grammar filename> [-out <output file>] \n",exename);
47 SR_Grammar* grammar = NULL; local
107 /* get rid of the ',addWords=2000' grammar load param */
113 LFPRINTF(stdout,"Loading grammar %s from text files...\n",base);
114 CHKLOG(rc, SR_GrammarLoad(base, &grammar));
116 LFPRINTF(stdout,"Saving grammar as binary image %s...\n",outFilename);
117 CHKLOG(rc, SR_GrammarSave(grammar, outFilename));
123 if (grammar)
124 grammar->destroy(grammar);
    [all...]
  /frameworks/base/core/java/android/speech/srec/
Recognizer.java 39 * <li>Create a <code>Recognizer.Grammar</code>.
40 * <li>Setup the <code>Recognizer.Grammar</code>.
41 * <li>Reset the <code>Recognizer.Grammar</code> slots, if needed.
42 * <li>Fill the <code>Recognizer.Grammar</code> slots, if needed.
43 * <li>Compile the <code>Recognizer.Grammar</code>, if needed.
44 * <li>Save the filled <code>Recognizer.Grammar</code>, if needed.
61 * // create and load a Grammar
62 * Recognizer.Grammar grammar = recognizer.new Grammar(cdir + "/grammars/VoiceDialer.g2g")
    [all...]
  /external/libpcap/
grammar.c 277 #line 1 "grammar.y"
302 "@(#) $Header: /tcpdump/master/libpcap/grammar.y,v 1.86.2.9 2007/09/12 19:17:25 guy Exp $ (LBL)";
434 #line 138 "grammar.y"
    [all...]
Android.mk 11 grammar.c\
  /external/srec/tools/parseStringTest/
parseStringTest.c 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)
110 SR_GrammarImpl* pgrammar = (SR_GrammarImpl*)grammar;
124 Parse(grammar, trans, fout, &myopts);
138 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) & result_count);
209 /* tests the transcription against the grammar and then decided based on what was expected of the test
211 ESR_ReturnCode ParseTestSet(SR_Grammar* grammar, LCHAR* trans, LCHAR* key, LCHAR* ref, LCHAR* result, PFile* fout)
228 rc = grammar->checkParse(grammar, trans, semanticResults, (size_t*) & result_count)
277 SR_Grammar* grammar = NULL; local
    [all...]
  /external/srec/srec/Recognizer/include/
SR_Recognizer.h 258 * A pre-compiled Grammar should have undergone a model consistency check with the
262 * @param grammar Grammar containing rule
267 ESR_ReturnCode (*setupRule)(struct SR_Recognizer_t* self, struct SR_Grammar_t* grammar, const LCHAR* ruleName);
269 * Indicates if Recognizer is configured with any rules within the specified Grammar.
272 * @param hasSetupRules True if the Recognizer is configured for the Grammar
280 * @param grammar Grammar containing rule
282 * @param weight Relative weight to assign to self grammar vs. other activated grammars.
288 ESR_ReturnCode (*activateRule)(struct SR_Recognizer_t* self, struct SR_Grammar_t* grammar,
    [all...]
  /external/srec/srec_jni/
android_speech_srec_Recognizer.cpp 191 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
193 checkEsrError(env, SR_RecognizerSetupRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
205 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName, jint weight) {
207 checkEsrError(env, SR_RecognizerActivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, weight));
212 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
214 checkEsrError(env, SR_RecognizerDeactivateRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn));
224 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar, jstring ruleName) {
227 checkEsrError(env, SR_RecognizerIsActiveRule((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, rn, &rtn));
233 (JNIEnv *env, jclass clazz, jint recognizer, jint grammar) {
235 checkEsrError(env, SR_RecognizerCheckGrammarConsistency((SR_Recognizer*)recognizer, (SR_Grammar*)grammar, &rtn))
392 SR_Grammar* grammar = 0; local
405 SR_Grammar* grammar = 0; local
    [all...]
  /external/srec/tools/dictTest/
Android.mk 17 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/tools/make_ve_grammar/
Android.mk 16 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/tools/test_swiarb/
Android.mk 16 $(ASR_ROOT_DIR)/srec/Grammar/include \
  /external/srec/srec/Recognizer/src/
Recognizer.c 157 ESR_ReturnCode SR_RecognizerSetupRule(SR_Recognizer* self, SR_Grammar* grammar,
165 return self->setupRule(self, grammar, ruleName);
179 ESR_ReturnCode SR_RecognizerActivateRule(SR_Recognizer* self, SR_Grammar* grammar,
187 return self->activateRule(self, grammar, ruleName, weight);
190 ESR_ReturnCode SR_RecognizerDeactivateRule(SR_Recognizer* self, SR_Grammar* grammar,
198 return self->deactivateRule(self, grammar, ruleName);
211 ESR_ReturnCode SR_RecognizerIsActiveRule(SR_Recognizer* self, SR_Grammar* grammar,
219 return self->isActiveRule(self, grammar, ruleName, isActiveRule);
222 ESR_ReturnCode SR_RecognizerCheckGrammarConsistency(SR_Recognizer* self, SR_Grammar* grammar,
230 return self->checkGrammarConsistency(self, grammar, isConsistent)
    [all...]

Completed in 127 milliseconds

1 2 3 4 5 6 7 8 91011>>