0 ×

Brat Document Writer

KNIME Textprocessing Plug-in version 4.3.0.v202011212014 by KNIME AG, Zurich, Switzerland

This node takes the documents in the selected column and writes them, each as two files (.txt and .ann), into the selected directory. The .txt file will contain the document text, and the .ann file the terms and tags in the document. Both files will be named after the table's row keys. Users can also add an optional prefix and suffix to the file name. The created files can then be imported into the annotation tool Brat.

Note for file name: Special characters such as /, \, ?, *, :, <, >, ", | will be rejected. For Windows platform, a name that resembles any forbidden Windows filename will also be rejected. For more information about the forbidden Windows filename, please check the Microsoft website.


Output directory
Select the output directory location.
Specify prefix for the file name (optional).
Specify suffix for the file name (optional).
Overwrite existing files
Choose if existing files should be overwritten here. If this option is unchecked, the node will fail if a file already exists.
Document column
The column containing the documents.

Input Ports

The input table containing the documents.

Best Friends (Incoming)

Best Friends (Outgoing)


To use this node in KNIME, install KNIME Textprocessing from the following update site:


A zipped version of the software site can be downloaded here.

You don't know what to do with this link? Read our NodePit Product and Node Installation Guide that explains you in detail how to install nodes to your KNIME Analytics Platform.

Wait a sec! You want to explore and install nodes even faster? We highly recommend our NodePit for KNIME extension for your KNIME Analytics Platform. Browse NodePit from within KNIME, install nodes with just one click and share your workflows with NodePit Space.


You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.