amazonka-comprehend-2.0: Amazon Comprehend SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Comprehend.Types.PartOfSpeechTag

Description

 
Synopsis

Documentation

data PartOfSpeechTag Source #

Identifies the part of speech represented by the token and gives the confidence that Amazon Comprehend has that the part of speech was correctly identified. For more information about the parts of speech that Amazon Comprehend can identify, see Syntax in the Comprehend Developer Guide.

See: newPartOfSpeechTag smart constructor.

Constructors

PartOfSpeechTag' 

Fields

Instances

Instances details
FromJSON PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Generic PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Associated Types

type Rep PartOfSpeechTag :: Type -> Type #

Read PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Show PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

NFData PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Methods

rnf :: PartOfSpeechTag -> () #

Eq PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Hashable PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

type Rep PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

type Rep PartOfSpeechTag = D1 ('MetaData "PartOfSpeechTag" "Amazonka.Comprehend.Types.PartOfSpeechTag" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" 'False) (C1 ('MetaCons "PartOfSpeechTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartOfSpeechTagType))))

newPartOfSpeechTag :: PartOfSpeechTag Source #

Create a value of PartOfSpeechTag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:score:PartOfSpeechTag', partOfSpeechTag_score - The confidence that Amazon Comprehend has that the part of speech was correctly identified.

$sel:tag:PartOfSpeechTag', partOfSpeechTag_tag - Identifies the part of speech that the token represents.

partOfSpeechTag_score :: Lens' PartOfSpeechTag (Maybe Double) Source #

The confidence that Amazon Comprehend has that the part of speech was correctly identified.

partOfSpeechTag_tag :: Lens' PartOfSpeechTag (Maybe PartOfSpeechTagType) Source #

Identifies the part of speech that the token represents.