AlvisNLP

corpus processing engine

TargetStream

Synopsis

Converts into a data sink.

String conversion

The data source takes either the form of a file/directory path, or an URL. The following protocols are recognized:

If an absolute or relative path is specified, then file is assumed. Relative paths are relative to the current working directory.

XML conversion

<param value="URL"/>

or

<param file="URL"/>

or

<param path="URL"/>

URL is converted as described in the string conversion. All different forms are equivalent; the name of the used attribute has no influence on the data source type. It is thus perfectly legal to write

<param file="stream://stdout"/>

. Two other attributes allow to control finely the data source:

If

param

has children elements, then each element will be converted as a data sink. The data will be duplicated into each data sink.