{
  "id": "sentiment",
  "kind": "datatype",
  "status": "draft",
  "name": "Sentiment (polarity label)",
  "doc": "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": "category",
  "is_pii": false,
  "categories": [
    "texts"
  ],
  "langs": [
    "en"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "positive",
      "valid": true
    },
    {
      "value": "negative",
      "valid": true
    },
    {
      "value": "neutral",
      "valid": true
    },
    {
      "value": "very positive",
      "valid": true
    },
    {
      "value": "neu",
      "description": "short form of VADER",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Sentiment_analysis"
    }
  ],
  "translations": {
    "ru": {
      "name": "Тональность (метка)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "sentimentbyname",
        "type": "field",
        "match": "regex",
        "file": "common/analytics.yaml"
      }
    ]
  },
  "quality": {
    "score": 65,
    "missing": [
      "regexp",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/texts/sentiment.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/texts/sentiment.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/texts/sentiment.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/sentiment",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/sentiment.json"
  }
}