# Classify News Headlines by Section

**Use case:** 

Assign news headlines to sections like sports, politics or tech so editors organize feeds and archives automatically.

## Input

```json
{
  "texts": [
    "Central bank raises interest rates to curb rising inflation"
  ],
  "categories": [
    "politics",
    "business",
    "sports",
    "technology",
    "entertainment"
  ],
  "multiLabel": false
}
```

## Output

```json
{
  "text": {
    "label": "Text",
    "format": "text"
  },
  "label": {
    "label": "Label",
    "format": "text"
  },
  "labels": {
    "label": "Labels",
    "format": "array"
  },
  "confidence": {
    "label": "Confidence",
    "format": "number"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "multiLabel": {
    "label": "Multi-label",
    "format": "boolean"
  },
  "truncated": {
    "label": "Truncated",
    "format": "boolean"
  },
  "observedAt": {
    "label": "Classified at",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Bulk Text Classifier & Tagger](https://apify.com/scrapers_lat/text-classifier-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/text-classifier-tool) to learn more, explore other use cases, and run it yourself.