Rule of Three Triad Repetition Checker
Locate exact repeated three-unit windows in independently annotated narrative labels; overlapping windows retained, not infer Olriks law or author intent from words.
Description
Repeated narrative units can produce a three-part pattern under an explicit annotation scheme.
Repeated narrative units can produce a three-part pattern under an explicit annotation scheme.1
Adjacent identical labels identify a local repetition window, which differs from recognizing every literary use of the rule of three. Use this tool to calculate rule of three triad repetition checker from the supplied measurements and assumptions.
When to use Rule of Three Triad Repetition Checker
Use this tool to calculate rule of three triad repetition checker from the supplied measurements and assumptions. Identify the community, narrative version, source edition and interpretation context; prepare any annotations independently.
How to use Rule of Three Triad Repetition Checker and understand its results
- Identify the community, narrative version, source edition and interpretation context; prepare any annotations independently.
- Enter independentlyAnnotatedNarrativeUnitIds, using the field meanings and rules below, then run the tool.
- Read result.triadStartIndices. Interpret the fields using their units, signs and evidence conventions below.
- If input validation fails, correct the reported field and run again. Before applying the result, check reference scope, model assumptions and any missing evidence or placeholder values.
| Input field | Meaning | Value type | Requirement |
|---|---|---|---|
| independentlyAnnotatedNarrativeUnitIds | Independently annotated narrative unit ids; caller assertion or measurement requiring independent evidence | list of string | Required |
Enter at least three nonblank independently annotated narrative-unit IDs. Compare every sliding window of three adjacent IDs using exact string equality and return zero-based starts where all three match. A run of four matching IDs returns starts 0 and 1. No semantic grouping, separated triad recognition or text parsing occurs.
starts={i:unit_i=unit_(i+1)=unit_(i+2)} Use the exact units, boundary rules, ordering and missing-evidence conventions above.
| Output field | Meaning | Value type |
|---|---|---|
| result | Structured calculation or selected reference, with fields listed below | object |
| result.triadStartIndices | Triad Start Indices; follow the units, sign, ordering and evidence convention stated above | list of number |
{
"input": {
"independentlyAnnotatedNarrativeUnitIds": [
"trial",
"trial",
"trial",
"return"
]
},
"output": {
"result": {
"triadStartIndices": [
0
]
}
}
} Limitations and assumptions
Adjacent identical labels identify a local repetition window, which differs from recognizing every literary use of the rule of three. Interpretation depends on the units, sampling scope and exact model described above.
All listed fields require explicit values. Unexpected fields, incorrect types, nonfinite numbers and sparse evidence arrays fail validation; the specific bounds and alignment requirements are stated above. Extremely large inputs or outputs can also be rejected. An input error is distinct from a successful result reporting false, no matches or missing evidence.
Alternative or Complementary methods
Use Propp 31 Functions Sequence Checker for this related task: Propp's numbered functions describe an ordered analytical scheme for an adopted narrative corpus.
Use Shaggy Dog Story Anticlimax Structure Checker when its separate inputs and assumptions fit the question: A shaggy-dog story builds expectation before an anticlimactic ending.
References
-
Rule of Three Triad Repetition Checker — tool.io
Similar or alternative tools
- Propp 31 Functions Sequence Checker
Propp's numbered functions describe an ordered analytical scheme for an adopted narrative corpus.
- Shaggy Dog Story Anticlimax Structure Checker
A shaggy-dog story builds expectation before an anticlimactic ending.