---
id: "sentiment"
kind: "datatype"
status: "draft"
is_pii: false
name: "Sentiment (polarity label)"
categories: ["texts"]
langs: ["en"]
quality: 65
url: "https://registry.apicrafter.io/datatype/sentiment"
---

# Sentiment (polarity label) (`sentiment`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Polarity that sentiment analysis gives a text: positive, negative or neutral, sometimes with very positive and very negative at the ends of a five-point scale, or the short forms pos, neg and neu of the VADER tool and others. Tables of tweets, reviews and survey answers count them. A numeric score of the same analysis (from -1 to 1) is a number, and the emotions of a text are emotion. Medical and laboratory test results use the same words, so a column is sentiment only when its name or table says so.

- Parent datatype: [`category`](https://registry.apicrafter.io/datatype/category.md)
- Personal data (PII): no
- Categories: Texts and articles (texts)
- Countries: global
- Languages: English (en)
- Classification: categorical

## Examples

- `positive`
- `negative`
- `neutral`
- `very positive`
- `neu` — short form of VADER

## Metacrafter rules

1 rules: 1 match the field name, 0 match values.

- `sentimentbyname` (field, `common/analytics.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Тональность (метка)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Sentiment_analysis>

## Quality

Score 65/100. Missing: regexp, negative example, mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/sentiment.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/texts/sentiment.yaml>
