Skip to content

module__org.bibliome.alvisnlp.modules.TabularExport

Robert Bossy edited this page Jul 27, 2017 · 1 revision

#org.bibliome.alvisnlp.modules.TabularExport

Synopsis

Writes the corpus data structure in files in tabular format.

Description

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.

Parameters

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

Clone this wiki locally