Home
last modified time | relevance | path

Searched refs:num_words_to_add (Results 1 – 7 of 7) sorted by relevance

/external/srec/srec/include/
Dsrec_context.h202 int FST_LoadContext(const char* synbase, srec_context** pcontext, int num_words_to_add);
205 int FST_LoadWordMap(wordmap** pwmap, int num_words_to_add, PFile* fp);
208 int num_words_to_add, PFile* fp);
226 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add);
Dsimapi.h1608 int num_words_to_add);
/external/srec/srec/Semproc/include/
DSR_SemanticGraph.h62 …d)(struct SR_SemanticGraph_t* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add);
DSR_SemanticGraphImpl.h126 …cGraph_Load(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add);
/external/srec/srec/ca/
Dsyn_srec.c75 char *synbase, int num_words_to_add) in CA_LoadSyntaxAsExtensible() argument
83 rc = FST_LoadContext(synbase, &hSyntax->synx, num_words_to_add); in CA_LoadSyntaxAsExtensible()
/external/srec/srec/Semproc/src/
DSemanticGraphImpl.c266 …romTextFiles(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add) in SR_SemanticGraph_LoadFromTextFiles() argument
340 wordmap_create(&semgraph->scripts, i, num_scripts, (int)AVG_SCRIPTS_PER_WORD*num_words_to_add); in SR_SemanticGraph_LoadFromTextFiles()
370 PLogError(L("ESR_READ_ERROR: internal error adding script (%d)"), num_words_to_add); in SR_SemanticGraph_LoadFromTextFiles()
410 max_num_arc_tokens = num_arcs + (arcID)num_words_to_add; in SR_SemanticGraph_LoadFromTextFiles()
584 …icGraph_Load(SR_SemanticGraph* self, wordmap* ilabels, const LCHAR* basename, int num_words_to_add) in SR_SemanticGraph_Load() argument
594 rc = SR_SemanticGraph_LoadFromTextFiles(self, ilabels, basename, num_words_to_add); in SR_SemanticGraph_Load()
/external/srec/srec/crec/
Dsrec_context.c132 int FST_LoadReverseWordGraph(srec_context* context, int num_words_to_add,
157 int num_words_to_add) in FST_LoadContext() argument
176 rc = FST_LoadWordMap(&context->olabels, num_words_to_add, fp); in FST_LoadContext()
183 rc = FST_LoadGraph(context, context->ilabels, context->olabels, num_words_to_add, fp); in FST_LoadContext()
190 rc = FST_LoadReverseWordGraph(context, num_words_to_add, fp); in FST_LoadContext()
331 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add) in wordmap_create() argument
338 Interface->max_words = (wordID)(num_words + num_words_to_add); in wordmap_create()
342 Interface->max_chars = num_chars + num_words_to_add * AVG_CHARS_PER_WORD; in wordmap_create()
349 if (num_words_to_add >= 0) in wordmap_create()
351 hashArgs.capacity = num_words + num_words_to_add + 10; in wordmap_create()
[all …]