AlvisNLP

corpus processing engine

RelationDefinition

Synopsis

Converts into a relation definition for TaggingElementClassifier , SelectingElementClassifier or TrainingElementClassifier .

String conversion

String conversion is not available for this type.

XML conversion

<relation>... attribute and bag definitions</relation>

The name attribute is optional.

Attribute definition:

<attr>EXPR</attr>

Bag definition:

<bag><value>VALUE</value>...</bag>

or

<bag>EXPR</bag>

The list of attribute suffixes can be given either with value tags or by FILE , the path to a file containing one suffix per line.

The relation definition can be loaded from an external file specified by the load attribute.