Skip to content

Values

These are string constants that define task-types used with require, or that identify template slots.

Page conventions

Settings are grouped by concern. Within each group they're listed alphabetically. A setting that serves more than one concern appears once under its primary group; secondary groups link to it.

The code tabs on each setting show one paste-able call site per language. Adapt the placeholder names (s for the Session, plus value, stream, on_event, or on_item for the operand) to your code. Each example assumes the language's standard prelude:

#include <snsr.h>
import com.sensory.speech.snsr.Snsr;
import com.sensory.speech.snsr.SnsrSession;
import snsr

For the full Session lifecycle (snsrNew, new SnsrSession(), snsr.Session(...)) see Your first program.

enroll

value string read-only

snsrRequire(s, SNSR_TASK_TYPE, SNSR_ENROLL);
s.require(Snsr.TASK_TYPE, Snsr.ENROLL);
s.require(snsr.TASK_TYPE, snsr.ENROLL)

Phrase spotter enrollment task type.

require, task-type

feature

value string read-only pre-release

snsrRequire(s, SNSR_TASK_TYPE, SNSR_FEATURE);
s.require(Snsr.TASK_TYPE, Snsr.FEATURE);
s.require(snsr.TASK_TYPE, snsr.FEATURE)

Feature extractor task type.

Pre-release

This is an experimental feature. Do not use unless recommended by Sensory.

require, task-type

feature-lvcsr

value string read-only tnl pre-release

snsrRequire(s, SNSR_TASK_TYPE, SNSR_FEATURE_LVCSR);
s.require(Snsr.TASK_TYPE, Snsr.FEATURE_LVCSR);
s.require(snsr.TASK_TYPE, snsr.FEATURE_LVCSR)

LVCSR recognizer from feature stream task type.

Pre-release

This is an experimental feature. Do not use unless recommended by Sensory.

require, task-type

feature-phrasespot

value string read-only pre-release

snsrRequire(s, SNSR_TASK_TYPE, SNSR_FEATURE_PHRASESPOT);
s.require(Snsr.TASK_TYPE, Snsr.FEATURE_PHRASESPOT);
s.require(snsr.TASK_TYPE, snsr.FEATURE_PHRASESPOT)

Phrase spotter from feature stream task type.

Pre-release

This is an experimental feature. Do not use unless recommended by Sensory.

require, task-type

feature-vad

value string read-only pre-release

snsrRequire(s, SNSR_TASK_TYPE, SNSR_FEATURE_VAD);
s.require(Snsr.TASK_TYPE, Snsr.FEATURE_VAD);
s.require(snsr.TASK_TYPE, snsr.FEATURE_VAD)

VAD from feature stream task type.

Pre-release

This is an experimental feature. Do not use unless recommended by Sensory.

require, task-type

lvcsr

value string read-only tnl

snsrRequire(s, SNSR_TASK_TYPE, SNSR_LVCSR);
s.require(Snsr.TASK_TYPE, Snsr.LVCSR);
s.require(snsr.TASK_TYPE, snsr.LVCSR)

LVCSR and STT recognizer task type.

require, task-type, LVCSR models, STT models

phrasespot

value string read-only

snsrRequire(s, SNSR_TASK_TYPE, SNSR_PHRASESPOT);
s.require(Snsr.TASK_TYPE, Snsr.PHRASESPOT);
s.require(snsr.TASK_TYPE, snsr.PHRASESPOT)

Phrase spotter task type.

Also known as wake words, key word spotting, and spotted command sets.

require, task-type, wake word models

phrasespot-vad

value string read-only

snsrRequire(s, SNSR_TASK_TYPE, SNSR_PHRASESPOT_VAD);
s.require(Snsr.TASK_TYPE, Snsr.PHRASESPOT_VAD);
s.require(snsr.TASK_TYPE, snsr.PHRASESPOT_VAD)

Phrase Spotter VAD task type.

require, task-type, tpl-spot-vad

vad

value string read-only

snsrRequire(s, SNSR_TASK_TYPE, SNSR_VAD);
s.require(Snsr.TASK_TYPE, Snsr.VAD);
s.require(snsr.TASK_TYPE, snsr.VAD)

VAD task type.

require, task-type, VAD models