Text::Tradition::Collation::Reading - represents a reading (usually a word) in a collation.
Text::Tradition is a library for representation and analysis of collated texts, particularly medieval ones. A 'reading' refers to a unit of text, usually a word, that appears in one or more witnesses (manuscripts) of the tradition; the text of a given witness is composed of a set of readings in a particular sequence
Creates a new reading in the given collation with the given attributes. Options include:
One of 'text', 'is_start', 'is_end', or 'is_lacuna' is required.
Accessor methods for the given attributes.
A meta attribute (ha ha), which should be true if any of our 'special' booleans are true. Implies that the reading does not represent a bit of text found in a witness.
Calls Collation's related_readings with $self as the first argument.
Calls Collation's reading_witnesses with $self as the first argument.
Returns a list of Reading objects that immediately precede $self in the collation.
Returns a list of Reading objects that immediately follow $self in the collation.
Backwards compatibility method, to add a transposition relationship between $self and $other_reading. Don't use this.
To install Text::Tradition, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Tradition
CPAN shell
perl -MCPAN -e shell install Text::Tradition
For more information on module installation, please visit the detailed CPAN module installation guide.