Text::Tradition is a library for representation and analysis of collated texts,
particularly medieval ones.
A relationship connects two readings within a collation,
usually when they appear in the same place in different texts.
Creates a new relationship.
Usually called via $collation->add_relationship.
type - Can be one of spelling,
All but the last two are only valid relationships between readings that occur at the same point in the text.
The 'collated' relationship should only be used by parsers to align readings in the graph when the input information would otherwise be lost,
from an alignment table.
displayform - (Optional) The reading that should be displayed if the related nodes are treated as one.
scope - (Optional) A meta-attribute.
Can be one of 'local',
Denotes whether the relationship between the two readings holds always,
independent of context,
either within this tradition or across all traditions.
annotation - (Optional) A freeform note to attach to the relationship.
alters_meaning - Indicate whether,
the related words cause the text to have different meanings.
Possible values are 0 (no),
and >1 (yes).
non_correctable - (Optional) True if the reading would not have been corrected independently.
non_independent - (Optional) True if the variant is unlikely to have occurred independently in unrelated witnesses.