Searched refs:nametag (Results 1 - 10 of 10) sorted by path

/external/srec/srec/Grammar/include/
H A DSR_Grammar.h52 * Two types of slots exist: word slots and nametag slots
83 * Two types of slots exist: word slots and nametag slots
142 * Adds nametag to rule slot.
146 * @param nametag Nametag to be added to the grammar
147 * @param weight value to associate with nametag when adding to grammar; use to determine cost when parsing
148 * @param tag eScript semantic expression (tag) for the nametag
154 const SR_Nametag* nametag, int weight, const LCHAR* tag);
353 * @param nametag Nametag to be added to the slot
354 * @param weight value to associate with nametag when adding to grammar; use to determine cost when parsing
355 * @param tag eScript semantic expression (tag) for the nametag
[all...]
H A DSR_GrammarImpl.h153 const SR_Nametag* nametag, int weight,
/external/srec/srec/Grammar/src/
H A DSR_Grammar.c62 const SR_Nametag* nametag, int weight, const LCHAR* tag)
69 return self->addNametagToSlot(self, slot, nametag, weight, tag);
61 SR_GrammarAddNametagToSlot(SR_Grammar* self, const LCHAR* slot, const SR_Nametag* nametag, int weight, const LCHAR* tag) argument
H A DSR_GrammarImpl.c329 const SR_Nametag* nametag, int weight, const LCHAR* tag)
331 SR_NametagImpl* nametagImpl = (SR_NametagImpl*) nametag;
328 SR_Grammar_AddNametagToSlot(SR_Grammar* self, const LCHAR* slot, const SR_Nametag* nametag, int weight, const LCHAR* tag) argument
/external/srec/srec/Nametag/include/
H A DSR_Nametags.h46 * Loads a nametag collection.
54 * Saves a nametag collection.
62 * Adds nametag to collection.
65 * @param nametag Nametag to be added
67 ESR_ReturnCode(*add)(struct SR_Nametags_t* self, SR_Nametag* nametag);
70 * Removes nametag from collection.
73 * @param id ID of nametag to be removed
91 * @param nametag Nametag at index
93 ESR_ReturnCode(*get)(struct SR_Nametags_t* self, const LCHAR* id, SR_Nametag** nametag);
101 * @param nametag Nameta
[all...]
H A DSR_NametagsImpl.h68 SREC_NAMETAG_API ESR_ReturnCode SR_NametagsAddImpl(SR_Nametags* self, SR_Nametag* nametag);
80 SREC_NAMETAG_API ESR_ReturnCode SR_NametagsGetImpl(SR_Nametags* self, const LCHAR* id, SR_Nametag** nametag);
84 SREC_NAMETAG_API ESR_ReturnCode SR_NametagsGetAtIndexImpl(SR_Nametags* self, size_t index, SR_Nametag** nametag);
/external/srec/srec/Nametag/src/
H A DNametags.c43 ESR_ReturnCode SR_NametagsAdd(SR_Nametags* self, SR_Nametag* nametag) argument
50 return self->add(self, nametag);
73 ESR_ReturnCode SR_NametagsGet(SR_Nametags* self, const LCHAR* id, SR_Nametag** nametag) argument
80 return self->get(self, id, nametag);
83 ESR_ReturnCode SR_NametagsGetAtIndex(SR_Nametags* self, size_t index, SR_Nametag** nametag) argument
90 return self->getAtIndex(self, index, nametag);
H A DNametagsImpl.c148 /* Delimit end of nametag ID */
172 psprintf(tokenName, L("nametag[%s]"), id);
199 SR_NametagImpl* nametag; local
236 CHKLOG(rc, nametags->getValueAtIndex(nametags, i, (void **)&nametag));
238 CHKLOG(rc, nametag->Interface.getID(&nametag->Interface, &id));
240 if (LSTRLEN(id) + 1 + LSTRLEN(nametag->value) + 2 >= NAMETAG_LENGTH)
246 psprintf(nametagBuffer, L("%s %s\n"), id, nametag->value);
260 psprintf(tokenName, L("nametag[%s]"), id);
261 CHKLOG(rc, SR_EventLogToken_BASIC(impl->eventLog, impl->logLevel, tokenName, nametag
276 SR_NametagsAddImpl(SR_Nametags* self, SR_Nametag* nametag) argument
332 SR_NametagsGetImpl(SR_Nametags* self, const LCHAR* id, SR_Nametag** nametag) argument
347 SR_NametagsGetAtIndexImpl(SR_Nametags* self, size_t index, SR_Nametag** nametag) argument
386 SR_Nametag* nametag; local
[all...]
/external/srec/srec/test/SRecTest/src/
H A DSRecTest.c137 SR_Nametag *nametag; /* The nametag generated by the last recognition. */ member in struct:ApplicationData_t
138 SR_Nametags *nametags; /* The active nametag collection. */
1289 if ( data->nametag != NULL )
1299 esr_status = SR_NametagSetID ( data->nametag, nametagID );
1305 esr_status = SR_GrammarAddNametagToSlot ( active_grammar, slot, data->nametag, weightNumber, value );
1436 if ( data->nametag != NULL )
1442 esr_status = SR_NametagSetID ( data->nametag, nametagID );
1446 esr_status = SR_NametagsAdd ( data->nametags, data->nametag );
1450 data->nametag
1484 SR_Nametag *nametag; local
[all...]
/external/srec/srec/test/SRecTestAudio/src/
H A DSRecTestAudio.c136 SR_Nametag *nametag; /* The nametag generated by the last recognition. */ member in struct:ApplicationData_t
137 SR_Nametags *nametags; /* The active nametag collection. */
1205 if ( data->nametag != NULL )
1215 esr_status = SR_NametagSetID ( data->nametag, nametagID );
1219 esr_status = SR_GrammarAddNametagToSlot ( active_grammar, slot, data->nametag, weightNumber, NULL );
1351 if ( data->nametag != NULL )
1357 esr_status = SR_NametagSetID ( data->nametag, nametagID );
1361 esr_status = SR_NametagsAdd ( data->nametags, data->nametag );
1365 data->nametag
1399 SR_Nametag *nametag; local
[all...]

Completed in 171 milliseconds