Divooka Reference

Key Phrase Detection

5 nodes

On this page 5

Confidence

Function

PocketSphinx's confidence in the detection, from 0 to 1: how far the phrase's score was above the best of everything else that could have been said there.

Signature
Confidence(Key Phrase Detection: Key Phrase Detection) -> Number
double Confidence(KeyPhraseDetection Key Phrase Detection)

Parameters

nametypedefaultdescription
Key Phrase DetectionKey Phrase Detection—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Key Phrase Detection
Package
Audio Processing

Duration

Function

How long it lasts, in seconds.

Signature
Duration(Key Phrase Detection: Key Phrase Detection) -> Number
double Duration(KeyPhraseDetection Key Phrase Detection)

Parameters

nametypedefaultdescription
Key Phrase DetectionKey Phrase Detection—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Key Phrase Detection
Package
Audio Processing

Phrase

Function

The phrase, as it was listened for.

Signature
Phrase(Key Phrase Detection: Key Phrase Detection) -> Text
string Phrase(KeyPhraseDetection Key Phrase Detection)

Parameters

nametypedefaultdescription
Key Phrase DetectionKey Phrase Detection—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Key Phrase Detection
Package
Audio Processing

Start

Function

When it starts, in seconds from the start of the clip.

Signature
Start(Key Phrase Detection: Key Phrase Detection) -> Number
double Start(KeyPhraseDetection Key Phrase Detection)

Parameters

nametypedefaultdescription
Key Phrase DetectionKey Phrase Detection—

Returns

resultNumber
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Key Phrase Detection
Package
Audio Processing

To String

Function

The phrase, its time and its confidence on one line.

Signature
ToString(Key Phrase Detection: Key Phrase Detection) -> Text
string ToString(KeyPhraseDetection Key Phrase Detection)

Parameters

nametypedefaultdescription
Key Phrase DetectionKey Phrase Detection—

Returns

resultText
Ships with
Divooka ExploreDivooka Compute
Graph kinds
Flows Function Events Routine Constructs StateMachineState
Declared by
Key Phrase Detection
Package
Audio Processing