NodeBrat Document Writer

Sink

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.

Input Ports

  1. Port Type: Data
    The input table containing the documents.