The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Text::Tradition::HasStemma - add-on to associate stemma hypotheses to Text::Tradition objects

DESCRIPTION

It is often the case that, for a given text tradition, the order of copying of the witnesses can or should be reconstructed (or at least the attempt should be made.) This class is a role that can be applied to Text::Tradition objects to record stemma hypotheses. See the documentation for Text::Tradition::Stemma for more information.

METHODS

stemmata

Return a list of all stemmata associated with the tradition.

stemma_count

Return the number of stemma hypotheses defined for this tradition.

stemma( $idx )

Return the Text::Tradition::Stemma object identified by the given index.

clear_stemmata

Delete all stemma hypotheses associated with this tradition.

add_stemma( $dotfile )

Initializes a Text::Tradition::Stemma object from the given dotfile, and associates it with the tradition.

LICENSE

This package is free software and is provided "as is" without express or implied warranty. You can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Tara L Andrews <aurum@cpan.org>