Status: Current Last updated: 2026-09-13
Install Batchalign with the command in the TalkBank/batchalign README.
- macOS: Open Terminal. Apple explains where to find it.
- Windows: Open the Start menu, type
PowerShell, and select PowerShell. Microsoft's PowerShell guide includes startup help. - Linux: Open the Terminal application from your applications menu. On many systems, Ctrl-Alt-T opens it directly.
Paste this command and press Enter:
batchalign --helpIf Batchalign prints a list of commands, it is ready.
This example adds %mor and %gra tiers to every CHAT file in a folder:
batchalign morphotag "/Users/me/Documents/My Corpus"In PowerShell, a Windows path looks like this:
batchalign morphotag "C:\Users\me\Documents\My Corpus"Batchalign accepts either one CHAT file or a folder. Use quotation marks around
paths containing spaces. Unless you specify an output folder, morphotag
updates the files in place.
Model downloads: The first use of a backend may download its models. Download size and startup time depend on the backend and language. Later runs reuse model files from disk.
Caching: Batchalign saves text and audio backend results in a local LMDB cache. Repeat runs can reuse matching results, although startup and file processing still take time. See Caching for details.
batchalign [GLOBAL OPTIONS] COMMAND [COMMAND OPTIONS] [PATHS...]- Global options go before the command.
- Most processing commands use
-o/--outfor a destination directory. - Omitting
-o/--outmeans in-place processing when the command supports it.
batchalign transcribe ~/recordings/ -o ~/transcripts/ --lang engTo use the local OpenAI Whisper package instead of the default Rev.AI engine:
batchalign transcribe ~/recordings/ -o ~/transcripts/ \
--engine openai --lang engTo use a local Whisper model:
batchalign transcribe ~/recordings/ -o ~/transcripts/ \
--engine whisper --lang engbatchalign align ~/corpus/ -o ~/aligned/Common useful flags:
batchalign align ~/corpus/ -o ~/aligned/ --engine whisper
batchalign align ~/corpus/ -o ~/aligned/ --utr-engine whisperbatchalign morphotag ~/corpus/ -o ~/tagged/Useful variants:
batchalign morphotag ~/corpus/ -o ~/tagged/ --retokenize
batchalign morphotag ~/corpus/ -o ~/tagged/ --keep-existingbatchalign align ~/corpus/ -o ~/aligned/
batchalign -v align ~/corpus/ -o ~/aligned/
batchalign -vv align ~/corpus/ -o ~/aligned/
batchalign -vvv align ~/corpus/ -o ~/aligned/- Batchalign Desktop (Experimental) — in-repo GUI shell status and scope
- CLI Reference
- Performance
- Rev.AI Integration
- Python API