Key Phrase Detection
5 nodes
On this page 5
Confidence
FunctionPocketSphinx'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
| name | type | default | description |
|---|---|---|---|
| Key Phrase Detection | Key Phrase Detection | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Key Phrase Detection
- Package
- Audio Processing
Duration
FunctionHow long it lasts, in seconds.
Signature
Duration(Key Phrase Detection: Key Phrase Detection) -> Number
double Duration(KeyPhraseDetection Key Phrase Detection)
Parameters
| name | type | default | description |
|---|---|---|---|
| Key Phrase Detection | Key Phrase Detection | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Key Phrase Detection
- Package
- Audio Processing
Phrase
FunctionThe phrase, as it was listened for.
Signature
Phrase(Key Phrase Detection: Key Phrase Detection) -> Text
string Phrase(KeyPhraseDetection Key Phrase Detection)
Parameters
| name | type | default | description |
|---|---|---|---|
| Key Phrase Detection | Key Phrase Detection | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Key Phrase Detection
- Package
- Audio Processing
Start
FunctionWhen 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
| name | type | default | description |
|---|---|---|---|
| Key Phrase Detection | Key Phrase Detection | — |
Returns
| result | Number |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Key Phrase Detection
- Package
- Audio Processing
To String
FunctionThe 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
| name | type | default | description |
|---|---|---|---|
| Key Phrase Detection | Key Phrase Detection | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Key Phrase Detection
- Package
- Audio Processing