happytails.ai

Repetition distance checker

Open Repetition distance checker on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.

Tool capabilities

{
  "id": "repetition-distance-checker",
  "category": "text-tools",
  "built": true,
  "requirements": "Choose 2 to 8 consecutive words and at least 2 to 100 occurrences. Comparison ignores intervening punctuation and uses NFC normalization and the selected case setting. Overlapping occurrences remain visible. Token-start distance and tokens between phrases are distinct measures; all positions are included in the full report. Repetition is not automatically an error. Use up to 500000 text characters and 20000 word tokens. Reports allow up to 10000 matches or repeated phrase groups. JSON and CSV preserve the full report, with bounded exports up to 40 million characters and 500000 CSV records. Analysis runs locally with a 10-second timeout. Preview search and sort cover the first 200 rows; copy returns the summary. Download the full report for every row. Your text is not uploaded.",
  "implementation": {
    "fields": [
      {
        "key": "phraseLength",
        "label": "Words per phrase",
        "value": "3",
        "type": "text",
        "inputMode": "numeric",
        "maxLength": 8,
        "min": 2,
        "max": 8,
        "step": 1,
        "help": "2–8"
      },
      {
        "key": "minimumOccurrences",
        "label": "Minimum occurrences",
        "value": "2",
        "type": "text",
        "inputMode": "numeric",
        "maxLength": 8,
        "min": 2,
        "max": 100,
        "step": 1,
        "help": "2–100"
      },
      {
        "key": "caseMode",
        "label": "Case comparison",
        "value": "fold",
        "type": "select",
        "values": [
          "fold",
          "exact"
        ],
        "labels": {
          "fold": "Locale-aware lowercase",
          "exact": "Case-sensitive"
        }
      }
    ],
    "presentation": "metrics",
    "inputMaxLength": 500000,
    "inputErrorCode": "TEXT_DIAGNOSTICS_INPUT",
    "note": "Choose 2 to 8 consecutive words and at least 2 to 100 occurrences. Comparison ignores intervening punctuation and uses NFC normalization and the selected case setting. Overlapping occurrences remain visible. Token-start distance and tokens between phrases are distinct measures; all positions are included in the full report. Repetition is not automatically an error. Use up to 500000 text characters and 20000 word tokens. Reports allow up to 10000 matches or repeated phrase groups. JSON and CSV preserve the full report, with bounded exports up to 40 million characters and 500000 CSV records. Analysis runs locally with a 10-second timeout. Preview search and sort cover the first 200 rows; copy returns the summary. Download the full report for every row. Your text is not uploaded.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 500000,
      "inputMode": "text",
      "label": "Your text",
      "placeholder": "Type or paste your input…",
      "help": "Up to 500,000 characters. Review the settings before running.",
      "helpParts": [
        "Up to 500,000 characters.",
        "Review the settings before running."
      ],
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}

Page guide

Find recurring multiword phrases and measure the distance between their occurrences.

How to use Repetition distance checker
  1. Paste your own passage as plain text.
  2. Choose explicit matching or analysis settings.
  3. Review the bounded table and download complete JSON or CSV.

Useful next steps

Know exactly what is measured

Choose 2 to 8 consecutive words and at least 2 to 100 occurrences. Comparison ignores intervening punctuation and uses NFC normalization and the selected case setting. Overlapping occurrences remain visible. Token-start distance and tokens between phrases are distinct measures; all positions are included in the full report. Repetition is not automatically an error.

Keep the full report

Use up to 500000 text characters and 20000 word tokens. Reports allow up to 10000 matches or repeated phrase groups. JSON and CSV preserve the full report, with bounded exports up to 40 million characters and 500000 CSV records. Analysis runs locally with a 10-second timeout. Preview search and sort cover the first 200 rows; copy returns the summary. Download the full report for every row. Your text is not uploaded. Offsets refer to the original UTF-16 text. Machine report keys and your content are preserved. Formula-protected CSV changes risky cell prefixes; import columns as text when preserving exact identifiers.