Diacope Interrupted Repetition Distance Checker

Enumerate exact interrupted-token repetitions, retaining all nonadjacent pairs and actual intervening token counts, not infer diacope intent.

Description

Diacope involves repetition separated by intervening material.

Diacope involves repetition separated by intervening material.1

Enumerating exact token pairs exposes lexical distances without establishing a deliberate rhetorical device.

When to use Diacope Interrupted Repetition Distance Checker

Use this tool when you need to review the specific lexical, time-budget, or annotation operation described below. Establish the language, clause boundaries, transcription basis, source context, or evidence annotations required by this particular tool.

How to use Diacope Interrupted Repetition Distance Checker and understand its results

  1. Establish the language, clause boundaries, transcription basis, source context, or evidence annotations required by this particular tool.
  2. Enter lexicalTokens, following the field table and calculation rules below, then run the tool.
  3. Read result. Inspect the nested fields in the output table below and keep any missing evidence or selected indices visible.
  4. Correct any input issues and run again. Before using a successful result, review its units, signs, evidence coverage, and stated model or reference assumptions.
Input fieldMeaningValue typeRequirement
lexicalTokensLexical tokenslist of stringRequired

Enter 1–64 nonblank exact tokens. For every pair with equal strings and second index at least two after the first, return zero-based [first,second] and the number of intervening tokens. All qualifying pairs are retained, even within a longer repeated sequence.

gap=b−a−1 for a<b−1 and token_a=token_b

Read these symbols with the field meanings and branch or reference rules above.

Output fieldMeaningValue type
resultObject containing the fields belowobject
result.repeatedTokenPairsAll qualifying zero-based nonadjacent equal-token index pairslist
result.interveningTokenCountsNumber of tokens strictly between each returned pairlist
json
{
  "input": {
    "lexicalTokens": [
      "go",
      "now",
      "go",
      "home",
      "go"
    ]
  },
  "output": {
    "result": {
      "repeatedTokenPairs": [
        [
          0,
          2
        ],
        [
          0,
          4
        ],
        [
          2,
          4
        ]
      ],
      "interveningTokenCounts": [
        1,
        3,
        1
      ]
    }
  }
}

Limitations and assumptions

Clause boundaries, transcriptions, role labels, and contextual judgments are supplied evidence. The result describes this exact lexical or annotation operation, not inferred intent, historical origin, persuasive effect, or argument soundness.

Missing required fields, unknown fields, wrong types, and violated calculation rules return input issues. Arrays must be dense, with no missing cells. Ordinary string lists allow at most 128 strings of at most 128 UTF-16 units each. Extremely large composite outputs are rejected.

Alternative or Complementary methods

For a related task, use Palilogia Exact Word Immediate Repeat Checker: Immediate lexical repetition can be described through maximal runs of the same token. Counting those runs measures form while leaving rhetorical intention to contextual interpretation. For a complementary step, use Epizeuxis Triple Immediate Repetition Checker: Triple immediate repetition can be counted as a maximal run of the same lexical token. The observed run length describes form while leaving intention and emphasis to interpretation.

References

  1. Diacope Interrupted Repetition Distance Checker — tool.io

Similar or alternative tools

  • Palilogia Exact Word Immediate Repeat Checker

    Immediate lexical repetition can be described through maximal runs of the same token. Counting those runs measures form while leaving rhetorical intention to contextual interpretation.

  • Epizeuxis Triple Immediate Repetition Checker

    Triple immediate repetition can be counted as a maximal run of the same lexical token. The observed run length describes form while leaving intention and emphasis to interpretation.

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies