Skip to main content
Version: 2.1

ITranscribeTranscriptFilter

Interface in AWS.Transcribe

Interface for TranscriptFilter.

Properties​

AbsoluteTimeRange​

property AbsoluteTimeRange: ITranscribeAbsoluteTimeRange

Type: ITranscribeAbsoluteTimeRange

Used to specify a time range (in milliseconds) in your audio, during which to search for the specified words or phrases.

Negate​

property Negate: TOptional<Boolean>

Specifies whether to negate the condition.

Set to True to flag speech that does not contain the specified words or phrases. Set to False to flag speech that contains the specified words or phrases.

ParticipantRole​

property ParticipantRole: string

Specifies the participant that you want to flag.

Valid values: AGENT | CUSTOMER. When not specified, it's equivalent to specifying both participants.

RelativeTimeRange​

property RelativeTimeRange: ITranscribeRelativeTimeRange

Type: ITranscribeRelativeTimeRange

Used to specify a time range (in percentage) in your media, during which to search for the specified words or phrases.

Targets​

property Targets: TList<string>

Specifies the words or phrases to flag.

TranscriptFilterType​

property TranscriptFilterType: string

Specifies the filter type.

Only valid value: EXACT.

Methods​

AddTarget​

function AddTarget(const ATarget: string): Integer;

Add a word or phrase to Targets.

Parameters

NameDescription
ATargetSpecify a word or phrase to add to Targets.

Returns

Returns the index of the word or phrase added to Targets.