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

Command Status Matrix

Status: Current Last updated: 2026-05-12 04:26 EDT

Status of all CLAN commands in the Rust reimplementation.

Coverage: 70/70 CLAN binaries (100%). Every CLAN binary in OSX-CLAN/src/unix/bin/ has a corresponding module. The 6 NLP commands (MOR, POST, MEGRASP, etc.) are deliberately not implemented but produce clear error messages. Additionally, 7 implemented commands are outside that local binary inventory: COMPLEXITY, CORELEX, WDSIZE, LAB2CHAT, RTF2CHAT, ROLES, and TRIM.

CategoryCountGolden Tests
Validation1—
Analysis3453
Transforms2330
Converters1515
Not implemented6—
Total7998

Validation Commands (1)

CommandStatusNotes
CHECKImplementedFull flag support (+cN, +eN, +gN, +u), 161 error numbers mapped

Analysis Commands (34)

CommandStatusGolden TestsParity
CHAINSImplementedYesVerified
COMPLEXITYImplementedYesNew (auto-detects UD/legacy)
CORELEXImplementedYesNew command
CHIPImplementedYes100%
CODESImplementedYesVerified
COMBOImplementedYesVerified
COOCCURImplementedYesVerified
DISTImplementedYes100%
DSSImplementedYesVerified
EVALImplementedYesVerified
EVAL-DImplemented—Variant of EVAL (DementiaBank norms)
FLUCALCImplementedYesVerified
FREQImplementedYesVerified
FREQPOSImplementedYesVerified
GEMLISTImplementedYesVerified
IPSYNImplementedYesVerified
KEYMAPImplementedYesVerified
KIDEVALImplementedYesVerified
KWALImplementedYesVerified
MAXWDImplementedYes100%
MODREPImplementedYesVerified
MLTImplementedYes100%
MLUImplementedYes100%
MORTABLEImplementedYesVerified
PHONFREQImplementedYesVerified
RELYImplementedYesVerified
SCRIPTImplementedYesVerified
SUGARImplementedYesVerified
TIMEDURImplementedYes100%
TRNFIXImplementedYesVerified
UNIQImplementedYes99% (1 accepted)
VOCDImplementedYes100%
WDLENImplementedYes100%
WDSIZEImplementedYesNew (mor stem lengths)

Transform Commands (23)

CommandStatusGolden Tests
CHSTRINGImplementedYes
COMBTIERImplementedYes
COMPOUNDImplementedYes
DATACLEANImplementedYes
DATESImplementedYes
DELIMImplementedYes (4 accepted divergences)
FIXITImplementedYes
FIXBULLETSImplementedYes
FLOImplementedYes
GEMImplementedYes (2 tests: all gems + filtered)
INDENTImplementedYes (CLAN binary has infinite-loop bug, Rust-only)
LINESImplementedYes
LONGTIERImplementedYes
LOWCASEImplementedYes
MAKEMODImplementedYes
ORTImplementedYes
POSTMORTEMImplementedYes
QUOTESImplementedYes
REPEATImplementedYes
RETRACEImplementedYes
ROLESImplementedYes
TIERORDERImplementedYes
TRIMImplementedYes (2 tests: exclude-mor + exclude-all)

Format Converters (15)

CommandStatusNotes
CHAT2TEXTImplementedPlain text export
CHAT2ELANImplementedReverse of ELAN2CHAT
CHAT2PRAATImplementedPraat TextGrid export (bidirectional in praat2chat module)
CHAT2SRTImplementedSRT subtitle export
CHAT2VTTImplementedWebVTT subtitle export (Rust-side extension of the SRT converter; not in CLAN)
ELAN2CHATImplementedELAN XML import
LAB2CHATImplementedLAB format import
LENA2CHATImplementedLENA ITS import
LIPP2CHATImplementedLIPP format import
PLAY2CHATImplementedPLAY format import
PRAAT2CHATImplementedPraat TextGrid import
RTF2CHATImplementedRich Text import
SALT2CHATImplementedSALT format import
SRT2CHATImplementedSubtitle import
TEXT2CHATImplementedPlain text import

Deliberately Not Implemented (6)

These commands depend on the legacy CLAN MOR data model (trie-based lexicons, HMM/Brill taggers, MaxEnt parsers) which is incompatible with the UD-style morphological representation used in the current CHAT grammar. Use batchalign’s neural pipeline instead.

CommandPurposeRationale
MOR / MOR_PMorphological analysis~11K lines C, trie lexicon + 5 rule engines, legacy format
POSTPOS disambiguationRequires ^-separated ambiguity format not in grammar
MEGRASPDependency parsingRequires trained MaxEnt model weights
POSTLISTPOST database listingOperates on proprietary binary format
POSTMODRULESPOST rule modificationOperates on proprietary binary format
POSTTRAINPOST model trainingOperates on proprietary binary format

Compatibility-Alias Subcommands

These CLAN binaries have their own clap subcommand variant — exposed under the same name as the legacy CLAN binary — but are categorized as compatibility aliases in crates/chatter/chatter-cli/src/cli/args/clan_commands.rs (search for CompatibilityAlias). The dedicated subcommand exists so legacy CLAN scripts that invoke the binary by name continue to work.

Five subcommand names are bucketed as CompatibilityAlias: check, fixit, indent, longtier, and gemfreq. Only gemfreq is documented in detail here because its dispatch target differs from its name; the other four (check, fixit, indent, longtier) are listed in the main category tables above and dispatch to their namesakes through the standard pipeline.

SubcommandDispatches toNotes
gemfreqfreq (with --gem required)See GEMFREQ. Implemented via Gemfreq enum variant + clap ArgGroup::required(true) on --gem; routes to AnalysisCommandName::Freq.