![NXP Semiconductors SLN-LOCAL2-IOT User Manual Download Page 48](http://html.mh-extra.com/html/nxp-semiconductors/sln-local2-iot/sln-local2-iot_user-manual_1721901048.webp)
Table 9. ASR language type (continued)
Language type
asr_language_t code
Encoding
German (DE)
ASR_GERMAN
0x0004
French (FR)
ASR_FRENCH
0x0008
7.1.2.4 Inference engine
Figure 58. ASR inference engine snippet
The inference engine structure in
consists of the following members:
• iWhoAmI_inf: inference engine type. It indicates either the wake word or the command inference engine. Developers can
redefine or add from the list in
.
• iWhoAmI_lang: language type information for an inference engine. The type definition is described in
• handler: handler for an inference engine.
• nGroups: the number of groups for an inference engine. The default value is 2, as each OOB demo consists of base
model (counted as a group) plus wake word group or command group n.
• addrGroup[2]: base + keyword group (either ww or cmd).
• addrGroupMapID: the address that contains the MapIDs.
• idToKeyword: the string list that indicates which command/wake word is detected. The string is printed out in a terminal
window.
• memPool: memory pool address in SRAM for an inference engine.
• memPoolSize: size of an inference engine in a memory pool.
• next: pointer to the next inference engine in a linked list. If it is not in a linked list, the value should be NULL.
Table 10. Inference engine types
Inference engine type
asr_inference_t code
Encoding
Unknown
UNDEFINED_INFERENCE
0x0000
Wake Word
ASR_WW
0x0001
Commands for Smart Home (IoT)
ASR_CMD_IOT
0x0002
Table continues on the next page...
NXP Semiconductors
Far-field local voice control framework
SLN-LOCAL2-IOT Developer’s Guide, Rev. 0, 19 April 2021
User's Guide
48 / 87