Description
Return one speaker's supplied dialogue-word share.
Story planning separates the order of telling from fictional chronology, continuity records and practical writing budgets. Explicit labels, counts and invented calendar rules can make a local convention consistent without deciding narrative quality or inferring facts from manuscript prose.
Return one speaker's supplied dialogue-word share.
When to use this tool
Use Dialogue Turn Word Share when checking a supplied story-continuity, chronology, calendar or drafting-budget convention.
How to use the tool and how it works
- Enter speakerIds, wordCounts, targetSpeaker. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read targetWords, allWords, share, defined. Inspect defined before interpreting the associated values.
Return one speaker's supplied dialogue-word share. Require aligned speakerIds/wordCounts and nonnegative counts; sum all words and matching speaker words, divide when total positive, otherwise zero with defined false.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| speakerIds | Speaker Ids | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| wordCounts | Word Counts | Required. Array of safe integer; maximum items 256. |
| targetSpeaker | Target Speaker | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| targetWords | Target Words | Required. Safe integer. |
| allWords | All Words | Required. Safe integer. |
| share | Dimensionless numerator/denominator ratio under the explicit basis above. | Required. Finite number. |
| defined | Whether the stated denominator or information basis permits interpretation of the associated value; inspect before using a placeholder. | Required. Boolean. |
{
"input": {
"speakerIds": [
"A",
"B",
"A"
],
"wordCounts": [
10,
20,
30
],
"targetSpeaker": "A"
},
"output": {
"targetWords": 40,
"allWords": 60,
"share": 0.6666666666666666,
"defined": true
}
} Limitations and assumptions
- Literal speaker labels and counts are supplied; dialogue importance or actual manuscript tokenization is not inferred.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
Alternative or Complementary methods
Use the manuscript, scene outline and the chosen style/calendar policy for a complete editorial review; interpret numerical budgets in their narrative context.
References
Similar or alternative tools
- Chapter Target Remaining Word Budget
Return remaining and unreserved chapter words.
- Writing Sprint Net Word Rate
Return net writing rate after pauses.