/external/srec/srec/Semproc/include/ |
SR_SemanticProcessor.h | 47 ESR_ReturnCode(*checkParse)(struct SR_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount); 55 ESR_ReturnCode(*checkParseByWordID)(struct SR_SemanticProcessor_t* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_SemanticResult** result, size_t* resultCount);
|
SR_SemanticProcessorImpl.h | 66 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticProcessor_CheckParse(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, const LCHAR* transcription, SR_SemanticResult** result, size_t* resultCount); 70 SREC_SEMPROC_API ESR_ReturnCode SR_SemanticProcessor_CheckParseByWordID(SR_SemanticProcessor* self, SR_SemanticGraph* semgraph, wordID* wordIDs, SR_SemanticResult** result, size_t* resultCount);
|
/external/srec/srec/Semproc/src/ |
SemanticGraphImpl.c | 132 PLogError(L("ESR_READ_ERROR: could not seek to semgraph data")); 288 SR_SemanticGraphImpl* semgraph = (SR_SemanticGraphImpl*) self; local 296 semgraph->ilabels = ilabels; 321 - output labels referenced in the semgraph are the integers (wordmap index) prepending with '_' 323 - output labels stored in the semgraph are actually integers which are equal to 340 wordmap_create(&semgraph->scripts, i, num_scripts, (int)AVG_SCRIPTS_PER_WORD*num_words_to_add); 368 if (wordmap_add_word(semgraph->scripts, oword) != lineNo) 414 semgraph->arc_token_list = NEW_ARRAY(arc_token,max_num_arc_tokens, L("semgraph.wordgraph")); 415 arc_token_list = semgraph->arc_token_list 604 SR_SemanticGraphImpl* semgraph = (SR_SemanticGraphImpl*) self; local [all...] |
SemanticProcessorImpl.c | 91 static const LCHAR* lookUpWord(SR_SemanticGraphImpl* semgraph, wordID wdid); 96 static const LCHAR* lookUpScript(SR_SemanticGraphImpl* semgraph, const LCHAR* script_label); 101 static ESR_ReturnCode accumulate_scripts(SR_SemanticGraphImpl* semgraph, script_list* scripts, sem_partial_path* path_root); 250 static ESR_ReturnCode checkpath_forwardByWordID(SR_SemanticGraphImpl* semgraph, 264 for (atok = atoken_start; atok; atok = ARC_TOKEN_PTR(semgraph->arc_token_list, atok->next_token_index)) 268 atok->ilabel, atok->ilabel!=MAXwordID?semgraph->ilabels->words[atok->ilabel]:"max", atok->olabel); 273 if (atok->ilabel < semgraph->ilabels->num_slots && atok->ilabel != WORD_EPSILON_LABEL && 274 wordmap_whether_in_rule(semgraph->ilabels, *currentWord, atok->ilabel)) 277 atok_use = arc_tokens_find_ilabel(semgraph->arc_token_list, semgraph->arcs_for_slot[atok->ilabel], *currentWord) 490 SR_SemanticGraphImpl* semgraph = (SR_SemanticGraphImpl*) graph; local 796 SR_SemanticGraphImpl* semgraph = (SR_SemanticGraphImpl*) graph; local [all...] |
/external/srec/srec/Grammar/src/ |
SR_GrammarImpl.c | 74 * (Since this function gets called by 'New', a semgraph and semproc are always 77 rc = SR_SemanticGraphCreate(&impl->semgraph); 254 /* successful, now add word & tag to semgraph */ 255 CHKLOG(rc, impl->semgraph->addWordToSlot(impl->semgraph, slot, word, tag, 1)); 259 /* successful, now add word & tag to semgraph */ 260 CHKLOG(rc, impl->semgraph->addWordToSlot(impl->semgraph, slot, word, tag, 0)); 307 rc = impl->semgraph->reset(impl->semgraph); [all...] |
/external/srec/srec/Grammar/include/ |
SR_GrammarImpl.h | 85 SR_SemanticGraph* semgraph; member in struct:SR_GrammarImpl_t
|
/external/srec/tools/parseStringTest/ |
parseStringTest.c | 177 rc = pgrammar->semproc->checkParseByWordID(pgrammar->semproc, pgrammar->semgraph,
|
/external/srec/srec/Recognizer/src/ |
RecognizerImpl.c | [all...] |