/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | CompositeGrammar.java | 201 List<Grammar> grammars = t.getPostOrderedGrammarList(); in getDelegates() local 202 grammars.remove(grammars.size()-1); // remove g (last one) in getDelegates() 203 return grammars; in getDelegates() 212 List<Grammar> grammars = new ArrayList(); in getDirectDelegates() local 215 grammars.add(child.grammar); in getDirectDelegates() 217 return grammars; in getDirectDelegates() 235 List<Grammar> grammars = new ArrayList(); in getDelegators() local 240 grammars.add(0, p.grammar); // add to head so in order later in getDelegators() 243 return grammars; in getDelegators() 280 List<Grammar> grammars = subtreeRoot.getPreOrderedGrammarList(); in getAllImportedRules() local [all …]
|
D | CompositeGrammarTree.java | 117 List<Grammar> grammars = new ArrayList<Grammar>(); in getPostOrderedGrammarList() local 118 _getPostOrderedGrammarList(grammars); in getPostOrderedGrammarList() 119 return grammars; in getPostOrderedGrammarList() 123 protected void _getPostOrderedGrammarList(List<Grammar> grammars) { in _getPostOrderedGrammarList() argument 126 child._getPostOrderedGrammarList(grammars); in _getPostOrderedGrammarList() 128 grammars.add(this.grammar); in _getPostOrderedGrammarList() 133 List<Grammar> grammars = new ArrayList<Grammar>(); in getPreOrderedGrammarList() local 134 _getPreOrderedGrammarList(grammars); in getPreOrderedGrammarList() 135 return grammars; in getPreOrderedGrammarList() 138 protected void _getPreOrderedGrammarList(List<Grammar> grammars) { in _getPreOrderedGrammarList() argument [all …]
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/ |
D | usage.apt.vm | 4 layouts for your grammars, as so: 11 +--- imports/ .g files that are imported by other grammars. 60 Note that you can create multiple executions, and thus build some grammars with different 145 Provides an explicit list of all the grammars that should 147 is smart enough to realize that imported grammars should be included but 153 antlr, so as to avoid clashes and confusion for projects that use both v2 and v3 grammars 158 Provides an explicit list of any grammars that should be excluded from 167 2.x grammars. 169 <<NB>> Take careful note that the default location for antlr grammars 178 directory is occupied by version 2.x grammars. [all …]
|
/external/srec/doc/logs/uapi/ |
D | run_robustness3.log | 16 before CreateGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 17 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 19 before CreateGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 20 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 140 before CreateGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 141 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 143 before CreateGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 144 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 264 before CreateGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) 265 after recognizer.createGrammar(/system/usr/srec/config/en.us/grammars/bothtags5.g2g) [all …]
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebSpeechRecognitionParams.h | 40 …WebSpeechRecognitionParams(const WebVector<WebSpeechGrammar>& grammars, const WebString& language,… in WebSpeechRecognitionParams() argument 41 : m_grammars(grammars) in WebSpeechRecognitionParams() 50 const WebVector<WebSpeechGrammar>& grammars() const { return m_grammars; } in grammars() function
|
/external/antlr/antlr-3.4/antlr3-maven-plugin/src/site/apt/examples/ |
D | libraries.apt | 4 as well as the ability to divide up functional components of large grammars. However it has 9 your grammar files in certain cases. If you have grammars that both use the import 13 location of your imported grammars and ANTLR will not find any vocab files in 16 The .tokens files for any grammars are generated within the same output directory structure 19 where it is placing the geenrated .java files. Hence when you locate the grammars that generate
|
D | import.apt | 3 In order to have the ANTLR plugin automatically locate and use grammars used 8 For a default layout, place your import grammars in the directory: <<<src/main/antlr3/imports>>>
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
D | functional.rb | 81 if g = grammars[ name.to_s ] 83 grammars.delete( name.to_s ) 101 def grammars method 106 grammars.length
|
/external/chromium_org/third_party/WebKit/Source/modules/speech/ |
D | SpeechRecognition.h | 54 PassRefPtr<SpeechGrammarList> grammars() { return m_grammars; } in grammars() function 55 void setGrammars(PassRefPtr<SpeechGrammarList> grammars) { m_grammars = grammars; } in setGrammars() argument
|
D | SpeechRecognitionController.h | 39 …void start(SpeechRecognition* recognition, const SpeechGrammarList* grammars, const String& lang, … in start() argument 41 m_client->start(recognition, grammars, lang, continuous, interimResults, maxAlternatives); in start()
|
/external/smali/smali/ |
D | build.gradle | 86 def grammars = fileTree(antlrSource).include('**/*.g') 91 args grammars.files 99 def grammars = fileTree(testAntlrSource).include('**/*.g') 104 args grammars.files.join(' ') 112 def grammars = fileTree(jflexSource).include('**/*.flex') 118 args grammars.files.join(' ')
|
/external/srec/srec/test/SRecTestAudio/src/ |
D | SRecTestAudio.c | 138 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */ member 263 memmove ( &data->grammars [grammar_num], &data->grammars [data->grammarCount - 1], in srec_test_delete_grammar() 283 *active_grammar = data->grammars [data->active_grammar_num].grammar; in srec_test_get_active_grammar() 294 *active_grammar_data = &data->grammars [data->active_grammar_num]; in srec_test_get_active_grammar_data() 312 if ( strcmp ( grammar_id, data->grammars [grammar_counter].grammarID ) == 0 ) in srec_test_get_grammar_from_id() 315 *is_ve_grammar = data->grammars [grammar_counter].is_ve_grammar; in srec_test_get_grammar_from_id() 404 shutdown_status = SR_GrammarDestroy ( data->grammars [grammar_num].grammar ); in ShutdownGrammarUnload() 415 …setup_status = SR_GrammarLoad (data->grammars [grammar_num].grammar_path, &data->grammars [grammar… in SetupGrammarLoad() 419 …setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary … in SetupGrammarLoad() 424 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad() [all …]
|
/external/srec/config/en.us/tcp/ |
D | bothtags5_from_saved.tcp | 1 context_load grammars/bothtags5.g2g BothTags trash not_ve 2 ##context_load grammars/bothtags5,addWords=100 BothTags trash not_ve 3 context_load grammars/enroll.g2g VoiceEnroll ROOT ve 4 ##context_load grammars/enroll VoiceEnroll ROOT ve
|
D | bothtags5.tcp | 3 # to run this script please be sure to prepare the input grammars 17 context_load grammars/bothtags5.g2g BothTags trash not_ve 18 context_load grammars/enroll.g2g VoiceEnroll ROOT ve 19 ##context_load grammars/bothtags5,addWords=100 BothTags trash not_ve 20 ##context_load grammars/enroll VoiceEnroll ROOT ve
|
D | recognize_1_live.tcp | 1 context_load grammars/bothtags5.g2g BothTags trash not_ve
|
D | recognize_10_live.tcp | 1 context_load grammars/bothtags5.g2g BothTags trash not_ve
|
/external/srec/srec/test/SRecTest/src/ |
D | SRecTest.c | 139 APPL_GRAMMAR_DATA grammars [MAX_NUM_REC_CONTEXTS]; /* Grammar data */ member 265 memmove ( &data->grammars [grammar_num], &data->grammars [data->grammarCount - 1], in srec_test_delete_grammar() 285 *active_grammar = data->grammars [data->active_grammar_num].grammar; in srec_test_get_active_grammar() 296 *active_grammar_data = &data->grammars [data->active_grammar_num]; in srec_test_get_active_grammar_data() 314 if ( strcmp ( grammar_id, data->grammars [grammar_counter].grammarID ) == 0 ) in srec_test_get_grammar_from_id() 317 *is_ve_grammar = data->grammars [grammar_counter].is_ve_grammar; in srec_test_get_grammar_from_id() 406 shutdown_status = SR_GrammarDestroy ( data->grammars [grammar_num].grammar ); in ShutdownGrammarUnload() 417 …setup_status = SR_GrammarLoad (data->grammars [grammar_num].grammar_path, &data->grammars [grammar… in SetupGrammarLoad() 421 …setup_status = SR_GrammarSetupVocabulary ( data->grammars [grammar_num].grammar, data->vocabulary … in SetupGrammarLoad() 425 …setup_status = SR_GrammarSetupRecognizer( data->grammars [grammar_num].grammar, data->recognizer ); in SetupGrammarLoad() [all …]
|
/external/srec/config/en.us/ |
D | Android.mk | 34 G2G_INSTALL_PATH=$(TARGET_OUT)/usr/srec/config/en.us/grammars 60 $(G2G_INSTALL_PATH)/enroll.g2g: $(LOCAL_PATH)/grammars/enroll.grxml $(GRXML) $(MAKE_G2G) $(DEFAULT_… 71 $(G2G_INSTALL_PATH)/%.g2g: $(LOCAL_PATH)/grammars/%.grxml $(GRXML) $(MAKE_G2G) $(DEFAULT_PAR) $(LOC…
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | README.rtf | 20 …e plugin has not been updated to recognize the new recommended file extensions for ANTLR grammars:\ 22 \cf0 Parsers and combined grammars: .g generate NameLexer.(h|m) and NameParser.(h|m) files\ 25 Parser grammars (alternatively): .gp generate NameParser.(h|m) files\
|
/external/chromium_org/content/public/test/ |
D | fake_speech_recognition_manager.cc | 54 if (config.grammars.size() > 0) in CreateSession() 55 grammar_ = config.grammars[0].url; in CreateSession()
|
/external/chromium_org/content/renderer/ |
D | speech_recognition_dispatcher.cc | 64 for (size_t i = 0; i < params.grammars().size(); ++i) { in start() 65 const WebSpeechGrammar& grammar = params.grammars()[i]; in start() 66 msg_params.grammars.push_back( in start()
|
/external/chromium_org/content/browser/speech/ |
D | google_one_shot_remote_engine.cc | 188 if (!config_.grammars.empty()) { in StartRecognition() 189 DCHECK_EQ(config_.grammars.size(), 1U); in StartRecognition() 190 parts.push_back("lm=" + net::EscapeQueryParamValue(config_.grammars[0].url, in StartRecognition()
|
/external/antlr/antlr-3.4/gunit/ |
D | README.txt | 47 gUnit is an unit testing framework for ANTLR grammars. It provides a 48 simple way to write and run automated tests for grammars in a manner
|
/external/antlr/antlr-3.4/antlr-ant/main/antlr3-task/ |
D | Readme.txt | 4 Dependency check for composed grammars added. 13 introduction of composed grammars, e.g. "import T.g".
|
/external/bison/tests/ |
D | testsuite.at | 53 # Huge artificial grammars. 57 # Checking big, real world grammars.
|