Skip to content

module__FSOVFileReader

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

#org.bibliome.alvisnlp.modules.FSOVFileReader

Synopsis

Project-specific text file reader.

Description

org.bibliome.alvisnlp.modules.FSOVFileReader reads text files in the same way as TextFileReader. Additionally, for each file read, it also reads metadata in a file with the same name with the .xml extension.

Parameters

Optional

Type: SourceStream

Path to the source directory or source file.

Optional

Type: InputDirectory

Directory where to find metadata files.

Optional

Type: Mapping

Constant features to add to each document created by this module

Optional

Type: Mapping

Constant features to add to each section created by this module

Optional

Type: Integer

Maximum number of lines per document.

Optional

Type: Integer

Maximum number of characters per document. No limit if not set.

Default value: body

Type: String

Name of the section containing the contents of the document.

Default value: UTF-8

Type: String

Character set of the input files.

Default value: title

Type: String

Name of the section containing the title of the document.

Clone this wiki locally