# Toxicity Scoring for User Comments in New York

**Use case:** 

Analyze and score user comments for toxicity in New York community forums.

## Input

```json
{
  "maxTexts": 10,
  "texts": [
    "This is a great place to visit!",
    "You are all so stupid for thinking that.",
    "The service was okay, nothing special."
  ],
  "threshold": 0.5
}
```

## Output

```json
{
  "text": {
    "label": "Text",
    "format": "text"
  },
  "safe": {
    "label": "Safe",
    "format": "boolean"
  },
  "overallToxicity": {
    "label": "Overall toxicity",
    "format": "number"
  },
  "flagged": {
    "label": "Flagged",
    "format": "array"
  },
  "categories": {
    "label": "Category scores",
    "format": "object"
  },
  "reason": {
    "label": "Reason",
    "format": "text"
  },
  "observedAt": {
    "label": "Scored at",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Content Moderation & Toxicity Scorer](https://apify.com/scrapers_lat/content-moderation-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/content-moderation-tool) to learn more, explore other use cases, and run it yourself.