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.
Changes the text of the reading.
Sets this reading as a lemma for the constructed text.
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.
Returns true if the reading is identical to the other reading. The basic test is equality of ->text attributes, but this may be wrapped or overridden by extensions.
Returns true if the reading may in theory be combined into a multi-reading segment within the collation graph. The reading must not be a meta reading, and it must not have any relationships in its own right with any others. This test may be wrapped or overridden by extensions.
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.
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.