Skip to content

Main content

Utterance Speaker Change Flag Tool

Compare adjacent utterance speaker codes literally; no speaker identity is inferred from audio.

Loading tool…

Description

Require nonempty previousSpeaker and nextSpeaker and return exact inequality as changed.

Communication records use speaker labels, acknowledgments, durations, turns, and presentation timing. A count or formatted label describes the supplied record; it does not establish understanding, agreement, or communication quality.

Require nonempty previousSpeaker and nextSpeaker and return exact inequality as changed.

When to use this tool

Use Utterance Speaker Change Flag when you need one conversation or presentation-record component under an explicit counting convention.

How to use the tool and how it works

  1. Enter previousSpeaker, nextSpeaker. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read changed. Inspect changed before interpreting the associated values.

Require nonempty previousSpeaker and nextSpeaker and return exact inequality as changed.1

Input fieldMeaning and unitsAccepted input
previousSpeakerPrevious SpeakerRequired. Text; maximum UTF-16 length 8192.
nextSpeakerNext SpeakerRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
changedWhether the stated literal transformation changed its input.Required. Boolean.
json
{
  "input": {
    "previousSpeaker": "S1",
    "nextSpeaker": "S2"
  },
  "output": {
    "changed": true
  }
}

Limitations and assumptions

  • Speaker labels are supplied and not resolved to people; no diarization, audio segmentation, turn-taking analysis, or attribution verification is performed.
  • 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

Review the complete interaction, transcript, and intended communication requirements separately.

References

  1. Calculation and input contract: communication/utterance-speaker-change-flag — tool.io

Similar or alternative tools

  • Meeting Turn Share Speaker

    Require positive integer totalTurns and speakerTurns within it, then return speakerTurns/totalTurns as turnShare.

  • News Quote Source Role Label

    Require nonempty sourceCode and a role containing nonwhitespace text, then format sourceCode [quoted as role].