libZSservicesZSamazonka-comprehendZSamazonka-comprehend
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 how-syntax.

See: newPartOfSpeechTag smart constructor.

Constructors

PartOfSpeechTag' 

Fields

Instances

Instances details
Eq PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Read PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Show 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 #

NFData PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

Methods

rnf :: PartOfSpeechTag -> () #

Hashable PartOfSpeechTag Source # 
Instance details

Defined in Amazonka.Comprehend.Types.PartOfSpeechTag

FromJSON 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" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "PartOfSpeechTag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PartOfSpeechTagType)) :*: S1 ('MetaSel ('Just "score") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

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:tag:PartOfSpeechTag', partOfSpeechTag_tag - Identifies the part of speech that the token represents.

$sel:score:PartOfSpeechTag', partOfSpeechTag_score - 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.

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

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