Skip to content

module__AnimalReader

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

#org.bibliome.alvisnlp.modules.AnimalReader

Synopsis

Project-specific file reader.

Description

org.bibliome.alvisnlp.modules.AnimalReader 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 for the text body.

Default value: UTF-8

Type: String

Character encoding of input files.

Default value: title

Type: String

Name of the section of the document title.

Clone this wiki locally