Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FLO – Simplified Fluent Output

Status: Current Last updated: 2026-11-13

Purpose

Reimplements CLAN’s flo command, which generates a %flo: dependent tier containing a simplified, “fluent” version of each utterance’s main line.

See the CLAN manual for the original command documentation.

Usage

chatter-clan flo file.cha

Options

The upstream changelog dated October 30, 2026 adds +d3 for LDC-formatted text output. This implementation has no +d3 output mode. The CLI rejects the option invocation. Its default CHAT transform remains the supported path.

This command has no command-specific flags beyond the shared -o, --output <PATH> (default: stdout). See Output Formats for the transform output flag.

CLAN +-flag coverage audit

FLO is a transform: input CHAT in, output CHAT (with the new %flo: tier) out. No banner; no shared CommonAnalysisArgs.

Sources: OSX-CLAN/src/clan/flo.cpp::usage, crates/talkbank-clan/src/transforms/flo.rs.

FLO-specific +-flags (from flo.cpp::usage)

CLAN flagMeaningChatterStatusNotes
+aDo not strip @… suffixes (default strips word@s → word),Missingchatter currently always strips.
+cmFilter main tier the way mor does,MissingMor-grade pre-cleanup.
+crFilter main tier + remove speaker codes and delimiters,MissingStripped output.
+cjCFilter main tier for JSON comparison (C-/p-/s- strip variants),MissingPipeline-internal mode.
+caCreate output for MFA aligner,MissingNiche format.
+cbKeep bullets in output,MissingBullet-preservation toggle.
+dReplace main tier with simplified %flo in output,MissingOSX-CLAN/src/clan/flo.cpp:197: bare +d (or +d0) sets substitute_flag = 1 (flo line replaces main line). chatter emits %flo: as a new dependent tier alongside the original main tier, no substitute-flag consumer. Per-FLO rewriter arm in clan_args.rs passes the token through so clap reports the literal +d argument rather than the misleading --display-mode rewrite.
+d1FAVE-formatted output,MissingSame flo.cpp:197 switch sets substitute_flag = 2. Per-FLO rewriter arm passes the token through.
+d2AntConc-formatted .txt with BOM,MissingSame flo.cpp:197 switch, +d2 is an empty branch (no substitute_flag change). Per-FLO rewriter arm passes the token through.
+d3LDC-formatted .txt,MissingAdded by upstream on 2026-10-30. No output mode is implemented here.

Audit summary

BucketCount
Done0
Partial0
Missing10

FLO has the largest “Missing” bucket relative to surface size of any audited command, the chatter implementation supports only the default flo file.cha invocation (emit %flo tier, keep main). Every variant flag is missing. Most of the variants are niche output-format selectors (FAVE, MFA, AntConc) rather than analysis- shape changes; defer until a researcher requests one.

Behavior

Processing steps:

  1. Strips all header lines (no @UTF8, @Begin, @End, etc.)
  2. Adds a %flo: dependent tier to each utterance containing the simplified main line: just countable words plus the terminator
  3. Strips retrace targets (words/groups before [/], [//], [///], [/-], the four RetraceKind variants per crates/talkbank-model/src/model/content/retrace.rs)
  4. Strips non-countable words (xxx/yyy/www, 0word, &~frag, &-um)
  5. Strips events (&=thing) and pauses
  6. For replaced words ([: form]), uses the replacement (corrected form)
  7. Keeps existing dependent tiers (%mor, %gra, etc.)

The %flo: tier is inserted at position 0 (before other dependent tiers).

Differences from CLAN

  • Operates on AST rather than raw text.
  • Uses the framework transform pipeline (parse -> transform -> serialize -> write).