Receives transcriptions and segmentation and resends segmented transcription with IsLast after each segment.
More...
#include <bsapi.h>
List of all members.
Public Member Functions |
| virtual void BSAPI_METHOD | SetWaitForWholeSentence (bool waitForWholeSentence=false)=0 |
| | Set whether to wait for all the segments before sending segmented transcriptions.
|
| virtual void BSAPI_METHOD | SetSpeechLabel (const char *pSpeechLabel="voice")=0 |
| | Set speech label to be used with segmentation.
|
| virtual void BSAPI_METHOD | SetSilenceLabel (const char *pSpeechLabel="silence")=0 |
| | Set silence label to be used with segmentation.
|
| virtual void BSAPI_METHOD | SetUseRelativeTiming (bool useRelativeTiming=true)=0 |
| | Set whether to convert times relatively to the speech segment.
|
| virtual void BSAPI_METHOD | SetInheritIsLast (bool inheritIsLast=false)=0 |
| | Set whether to the last output label will inherit the IsLast from the input speech segment.
|
| virtual void BSAPI_METHOD | SetTarget (STransCallbackI *pTarget)=0 |
| | Set target object.
|
Detailed Description
Receives transcriptions and segmentation and resends segmented transcription with IsLast after each segment.
Member Function Documentation
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetInheritIsLast |
( |
bool |
inheritIsLast = false | ) |
[pure virtual] |
Set whether to the last output label will inherit the IsLast from the input speech segment.
- Parameters:
-
| inheritIsLast | enable or disable IsLast inherit |
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetSilenceLabel |
( |
const char * |
pSpeechLabel = "silence" | ) |
[pure virtual] |
Set silence label to be used with segmentation.
Sets the label value so the segments with this label coming to the OnTranscription callback will be considered as silence and will not be processed
- Parameters:
-
| pSpeechLabel | label of (silence) segments not to be processed |
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetSpeechLabel |
( |
const char * |
pSpeechLabel = "voice" | ) |
[pure virtual] |
Set speech label to be used with segmentation.
Sets the label value so the segments with this label coming to the OnTranscription callback will be considered as speech and will be processed
- Parameters:
-
| pSpeechLabel | label of (speech) segments to be processed |
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetTarget |
( |
STransCallbackI * |
pTarget | ) |
[pure virtual] |
Set target object.
Target object receives segmented features.
- Parameters:
-
| pTarget | pointer to target object |
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetUseRelativeTiming |
( |
bool |
useRelativeTiming = true | ) |
[pure virtual] |
Set whether to convert times relatively to the speech segment.
- Parameters:
-
| useRelativeTiming | enable or disable times conversion |
| virtual void BSAPI_METHOD STranscriptionSegmenterI::SetWaitForWholeSentence |
( |
bool |
waitForWholeSentence = false | ) |
[pure virtual] |
Set whether to wait for all the segments before sending segmented transcriptions.
- Parameters:
-
| waitForWholeSentence | enable or disable waiting for whole sentence |
The documentation for this class was generated from the following file: