ITranscribeSentimentFilter
Interface in AWS.Transcribe
Interface for SentimentFilter.
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 sentiments.
Negate
property Negate: TOptional<Boolean>
Specifies whether to negate the condition.
Set to True to flag speech that does not contain the specified sentiments. Set to False to flag speech that contains the specified sentiments.
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 sentiments.
Sentiments
property Sentiments: TList<string>
Specifies the sentiments to flag.
Valid values: POSITIVE | NEGATIVE | NEUTRAL | MIXED.
Methods
AddSentiment
function AddSentiment(const ASentiment: string): Integer;
Add a sentiment to Sentiments.
Parameters
| Name | Description |
|---|---|
ASentiment | Specify a sentiment to add to Sentiments. Valid values:|||. |
Returns
Returns the index of the sentiment added to Sentiments.