Chatter is a cross-platform application that performs strict
validation of CHAT transcripts and also can convert CHAT to XML
conforming to our XML schema. It is written in pure Java except for
a system-dependent portion that calls the CLAN editor.
Chatter requires that at least Java 8 (Java 11 is recommended) be installed on your computer.
Double check that you have the right version by typing "java -version" in the terminal window.
This Platform-independent JAR is suitable for Windows, Linux, and all other platforms that
Important note: the "send to CLAN" functionality of Chatter is currently not available on Unix, Windows, or on macOS Mojave (earlier versions of macOS are supported, as is Catalina when running CLANc).
Chatter is currently not available as a Mac OS X app. This may change in the future.
In GUI mode, Chatter operates by taking a folder and processing all
the CHAT files inside the folder, recursively through any subfolders.
(The Macintosh application allows drag and drop of a folder to the
Chatter application icon.)
The folder, call it chatfolder, is transformed to a parallel
folder of XML files, chatfolder-xml.
If there are any CHAT
validation errors, each one is listed in the GUI window.
Double-clicking on an error line will launch CLAN (in the case of
Macintosh and Windows) to load the CHAT file and highlight the line at
which the error was detected.
A file 00errors.cex will also be left in any subfolders in
which errors were detected.
The Redo button allows a convenient validate-edit cycle.
Command Line Version
For this version, there is no need to unpack chatter.jar, since it is
processed directly by java. It processes the Java class org.talkbank.chatter.App.
The usage for this command is:
$ java -cp chatter.jar org.talkbank.chatter.App [options] [file or dir]
and the options are:
-output (to output a file in file mode)
-tree (to operate on an entire directory tree; the default is to operate on a single file argument)
-outputDir d (to output a directory in tree mode)
-noValidate (for debugging only: to turn off XML validation)
-allowAnyMediaName (for debugging only: to turn off media name matching transcript name)
This works most simply by putting chatter.jar and your input files or folder into the current
working directory. In that case, if you want to convert a folder of *.cha files called myfiles
to *.xml, the command would be:
java -cp chatter.jar org.talkbank.chatter.App -inputFormat cha -outputFormat xml -tree myfiles -outputDir myoutput
The current version is 1.0-alpha-174, of October 9, 2020.