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 Reference

Status: Current Last updated: 2026-03-30 13:40 EDT

Complete reference for all 33 CLAN analysis commands available in the TalkBank extension. Run any command via right-click Run CLAN Analysis… or the Command Palette. See Running CLAN Commands for the general workflow.

All commands

CommandCategoryDescriptionRequiresExample use case
chainsCodingTraces code chains and sequences on the %cod tier%cod tierAnalyzing sequential patterns in coded behaviors
chipProfilingChild/parent interaction profile – measures responsiveness and initiationMulti-speaker fileStudying parent-child conversational dynamics
codesCodingFrequency counts of coding tier codes%cod tierSummarizing annotation categories across a session
comboSearchBoolean keyword search with AND/OR operatorsInput: search expressionFinding utterances with specific word combinations (e.g., want+cookie)
complexityProfilingSyntactic complexity ratio from the %gra dependency tier%gra tierMeasuring subordination and embedding depth
cooccurFrequencyWord co-occurrence counting within utterances–Studying lexical associations and collocations
corelexFrequencyCore vocabulary analysis – identifies frequent, high-utility words–Checking whether a child uses age-appropriate core words
distFrequencyWord distribution and dispersion analysis across the transcript–Detecting whether target words cluster in one part of the session
dssProfilingDevelopmental Sentence Scoring – weighted grammatical complexity%mor tier; English onlyClinical assessment of grammatical maturity (ages 2;0–6;11)
evalAssessmentCombined language evaluation with normative comparison–Adult language assessment against healthy norms
evaldAssessmentDementia-specific evaluation using DementiaBank norms–Screening language decline in dementia populations
flucalcOtherFluency calculation – measures disfluency types and rates–Assessing stuttering severity and disfluency patterns
freqFrequencyWord and morpheme frequency counts with type-token ratio–Basic vocabulary analysis, word lists for any transcript
freqposFrequencyFrequency broken down by part-of-speech from %mor tier%mor tierAnalyzing grammatical category distribution (e.g., noun-to-verb ratio)
ipsynProfilingIndex of Productive Syntax – 56 or 100-item structural checklist%mor tier; English onlyAssessing range of syntactic structures in child language
keymapCodingKeyword-based contingency mapping between coded eventsInput: keyword codesStudying temporal relationships between coded behaviors
kidevalAssessmentChild language evaluation with age-normed comparison. Panel auto-detects language and activity from file headers.–Clinical assessment comparing a child to typically developing peers
kwalSearchKeyword-in-context search – finds utterances containing target wordsInput: keywordsFinding all instances of a target word with surrounding context
maxwdFrequencyLongest words per speaker–Checking lexical sophistication or spotting transcription errors
mltProfilingMean Length of Turn – utterances and words per conversational turnMulti-speaker fileMeasuring conversational participation and verbosity
mluProfilingMean Length of Utterance – morphemes per utterance–The most common measure of grammatical development in children
modrepFrequencyModel and replica analysis of imitation patternsMulti-speaker fileStudying what children imitate from adult speech
mortableMorphologyMorpheme frequency table based on a user-defined scriptInput: .cut script fileCustom morphological analysis (e.g., counting specific inflections)
phonfreqFrequencyPhonological segment frequency from the %pho tier%pho tierPhonological inventory analysis, sound acquisition studies
relyOtherInter-rater reliability between two transcriptionsInput: second .cha fileVerifying transcription agreement between two coders
scriptOtherCompares a transcript against a template for structural conformanceInput: template .cha fileChecking that a transcript follows a required protocol structure
sugarProfilingSampling Utterances and Grammatical Analysis Elicited in Narrative–Narrative language assessment using the SUGAR protocol
timedurOtherTime duration computed from bullet timing marksBullet timestampsCalculating speaking time, pause duration, session length
trnfixOtherCompares two dependent tiers for mismatchesMultiple dependent tiersQuality control: finding alignment errors between %mor and %gra
uniqFrequencyFinds repeated and unique utterances–Detecting echolalia, formulaic language, or duplicate transcription lines
vocdProfilingVocabulary Diversity – D statistic (sample-size-corrected TTR)Minimum ~50 tokensComparing lexical diversity across speakers or sessions
wdlenFrequencyWord length distribution (character counts)–Studying word length patterns for phonological or literacy research
wdsizeFrequencyVocabulary size and character length statistics from %mor stems%mor tierTracking cumulative vocabulary growth

Commands by category

Frequency (11 commands)

Word counting, vocabulary, and distribution analysis. See Frequency & Distribution for detailed descriptions.

  • freq – word frequency counts
  • freqpos – frequency by part of speech
  • wdlen – word length distribution
  • wdsize – vocabulary size
  • maxwd – longest words
  • phonfreq – phonological segment frequency
  • modrep – model and replica (imitation)
  • cooccur – word co-occurrence
  • corelex – core vocabulary
  • dist – word distribution
  • uniq – unique/repeated utterances

Profiling (8 commands)

Structural and developmental measures of language. See Profiling Commands for detailed descriptions.

  • mlu – Mean Length of Utterance
  • mlt – Mean Length of Turn
  • vocd – Vocabulary Diversity (D)
  • dss – Developmental Sentence Scoring
  • ipsyn – Index of Productive Syntax
  • chip – child/parent interaction profile
  • complexity – syntactic complexity ratio
  • sugar – SUGAR narrative sampling

Assessment (3 commands)

Normative comparison against reference databases. See Assessment Tools for detailed descriptions.

  • kideval – child language assessment
  • eval – general language assessment
  • evald – dementia assessment

Search (2 commands)

Finding utterances by keyword or pattern.

  • kwal – keyword in context
  • combo – Boolean keyword search (AND/OR)

Coding (3 commands)

Working with coding tiers (%cod).

  • codes – code frequency counts
  • chains – code chains and sequences
  • keymap – keyword contingency mapping

Morphology (1 command)

Custom morphological tabulation.

  • mortable – morpheme frequency table from a script

Other (5 commands)

Specialized tools for specific tasks.

  • flucalc – fluency/disfluency calculation
  • rely – inter-rater reliability
  • script – template comparison
  • timedur – timing duration
  • trnfix – tier mismatch detection

Library files used by commands

Several commands use rule files from the clan-info/lib/ directory. These files ship with the extension and are discovered automatically by the language server.

CommandLibrary pathFiles
dssclan-info/lib/dss/eng.cut, engu.cut, bss.cut, jpn.cut
ipsynclan-info/lib/ipsyn/eng.cut, eng-100.cut
kidevalclan-info/lib/kideval/15 database files (see Assessment Tools)
eval / evaldclan-info/lib/eval/4 database files (see Assessment Tools)
corelexclan-info/lib/corelex/cat.cut, cinderella.cut, cookie.cut, cookie-short.cut, cookie_modern.cut, sandwich.cut, umbrella.cut, window.cut
flucalcclan-info/lib/fluency/ALLflucodes.cut

Next steps