aws-transcribe-ws-0.0.1.0: Websocket streaming to Amazon Transcribe service
Safe HaskellNone
LanguageHaskell2010

AWS.Transcribe.Item

Synopsis

Documentation

data Item Source #

A word, phrase, or punctuation mark that is transcribed from the input audio. https://docs.aws.amazon.com/transcribe/latest/dg/API_streaming_Item.html

Constructors

MkItem 

Fields

  • _confidence :: !(Maybe Double)

    A value between 0 and 1 for an Item that is a confidence score that Amazon Transcribe assigns to each word or phrase that it transcribes.

  • _content :: !(Maybe Text)

    The word or punctuation that was recognized in the input audio.

  • _iEndTime :: !(Maybe Double)

    The offset from the beginning of the audio stream to the end of the audio that resulted in the item.

  • _speaker :: !(Maybe Text)

    If speaker identification is enabled, shows the speakers identified in the real-time stream.

  • _stable :: !(Maybe Bool)

    If partial result stabilization has been enabled, indicates whether the word or phrase in the Item is stable. If Stable is true, the result is stable.

  • _iStartTime :: !(Maybe Double)

    The offset from the beginning of the audio stream to the beginning of the audio that resulted in the item.

  • _itemType :: !(Maybe ItemType)

    The type of the Item

  • _vocabularyFilterMatch :: !(Maybe Bool)

    Indicates whether a word in the item matches a word in the vocabulary filter you've chosen for your real-time stream. If true then a word in the item matches your vocabulary filter.

Instances

Instances details
Eq Item Source # 
Instance details

Defined in AWS.Transcribe.Item

Methods

(==) :: Item -> Item -> Bool #

(/=) :: Item -> Item -> Bool #

Show Item Source # 
Instance details

Defined in AWS.Transcribe.Item

Methods

showsPrec :: Int -> Item -> ShowS #

show :: Item -> String #

showList :: [Item] -> ShowS #

FromJSON Item Source # 
Instance details

Defined in AWS.Transcribe.Item

data ItemType Source #

The type of the Item

Constructors

Pronunciation

Indicates that the Item is a word that was recognized in the input audio

Punctuation

Indicates that the Item was interpreted as a pause in the input audio

Instances

Instances details
Eq ItemType Source # 
Instance details

Defined in AWS.Transcribe.Item

Show ItemType Source # 
Instance details

Defined in AWS.Transcribe.Item

FromJSON ItemType Source # 
Instance details

Defined in AWS.Transcribe.Item