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 flag | Meaning | Chatter | Status | Notes |
|---|---|---|---|---|
+a | Do not strip @… suffixes (default strips word@s → word) | , | Missing | chatter currently always strips. |
+cm | Filter main tier the way mor does | , | Missing | Mor-grade pre-cleanup. |
+cr | Filter main tier + remove speaker codes and delimiters | , | Missing | Stripped output. |
+cjC | Filter main tier for JSON comparison (C-/p-/s- strip variants) | , | Missing | Pipeline-internal mode. |
+ca | Create output for MFA aligner | , | Missing | Niche format. |
+cb | Keep bullets in output | , | Missing | Bullet-preservation toggle. |
+d | Replace main tier with simplified %flo in output | , | Missing | OSX-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. |
+d1 | FAVE-formatted output | , | Missing | Same flo.cpp:197 switch sets substitute_flag = 2. Per-FLO rewriter arm passes the token through. |
+d2 | AntConc-formatted .txt with BOM | , | Missing | Same flo.cpp:197 switch, +d2 is an empty branch (no substitute_flag change). Per-FLO rewriter arm passes the token through. |
+d3 | LDC-formatted .txt | , | Missing | Added by upstream on 2026-10-30. No output mode is implemented here. |
Audit summary
| Bucket | Count |
|---|---|
| Done | 0 |
| Partial | 0 |
| Missing | 10 |
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:
- Strips all header lines (no
@UTF8,@Begin,@End, etc.) - Adds a
%flo:dependent tier to each utterance containing the simplified main line: just countable words plus the terminator - Strips retrace targets (words/groups before
[/],[//],[///],[/-], the fourRetraceKindvariants percrates/talkbank-model/src/model/content/retrace.rs) - Strips non-countable words (
xxx/yyy/www,0word,&~frag,&-um) - Strips events (
&=thing) and pauses - For replaced words (
[: form]), uses the replacement (corrected form) - 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).