Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Instances
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.