-
Notifications
You must be signed in to change notification settings - Fork 6
module__TabularExport
#org.bibliome.alvisnlp.modules.TabularExport
Writes the corpus data structure in files in tabular format.
org.bibliome.alvisnlp.modules.TabularExport evaluates files as a list of elements with the corpus as the context element and creates a file for each result. The file is located in outDir and named after the result of fileName (evaluated as a string).
The file is a table where each line is the result of the evaluation of [lines](#lines) as a list of element with the file element as the context element.
Each line will have as many columns as the size of the [columns](#columns) array.
Each expression of [columns](#columns) is evaluated as a string with the line element as the context element.
Optional
Type: Expression[]]
Expressions that specify the contents of each column.
Optional
Type: Expression
Name of the file.
Optional
Type: Expression
Expression that specifies which element corresponds to each file.
Optional
Type: Expression
Expression that specifies which element corresponds to each line.
Optional
Type: OutputDirectory
Directory where files are written.
Optional
Type: Expression[]]
Last line of output files.
Optional
Type: Expression[]]
First line of output files.
Default value: false
Type: Boolean
Either to append the export at the end of a file, if the file exists.
Default value: UTF-8
Type: String
Character encoding of the written files.
Default value:
Type: String
Character that separates columns.
Default value: false
Type: Boolean