Brat Document Writer

Go to Product

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.

Options

Output directory
Select the output directory location.
Prefix
Specify prefix for the file name (optional).
Suffix
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

Icon
The input table containing the documents.

Output Ports

This node has no output ports

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

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.