API Docs
EN
Suggestion rulesActive

Review long sentences

long-sentences

Flags sentences exceeding the word limit configured for the text genre and, when the sentence can be divided, the points where it might be split.

Usage of this metric

When enabled and matches are found, the report contains one item with this metric_id in result.recommendations. Absence means no match was found, not that the metric was not evaluated.

Location in the resultresult.recommendations[]metric_id = "long-sentences"

Calculation method

Selects sentences longer than n_division_oraciones words; for those made of several segments it also returns segments, connectors and possible split boundaries.

Result interpretation

Each `occurrences` item identifies an affected span. `start` is inclusive and `end` exclusive, both measured in Unicode code points over the submitted text. `replacement`, `alternatives` and `edits` contain values only when a safe change is available. Absence means no match was found, not necessarily that the text is correct.

Limitations

Results depend on plain-text segmentation and recognizable structural markers; the signal alone does not imply a writing error.

Dependencies

language
en
implementation_version
1.2

Valid example

{
  "category": "discourse",
  "examples": null,
  "explanation": null,
  "guidance": [
    "Review the detected fragment in context."
  ],
  "id": "rec_1",
  "implementation_version": "1.2",
  "metric_id": "long-sentences",
  "metric_title": "Review long sentences",
  "occurrences": [
    {
      "alternatives": [],
      "edits": [],
      "end": 25,
      "id": "occ_1",
      "paragraph_index": 0,
      "replacement": null,
      "sentence_index": 0,
      "start": 18,
      "text": "example"
    }
  ],
  "severity": "warning",
  "summary": "Example detection returned by this metric."
}