Tara Andrews > Text-Tradition-1.3 > Text::Tradition::Parser::CTE

Download:
Text-Tradition-1.3.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Text::Tradition::Parser::CTE

DESCRIPTION ^

Parser module for Text::Tradition, given a TEI file exported from Classical Text Editor.

METHODS ^

parse

my @apparatus = read( $xml_file );

Takes a Tradition object and a TEI file exported from Classical Text Editor using double-endpoint-attachment critical apparatus encoding; initializes the Tradition from the file.

interpret( $reading, $lemma )

Given a string in $reading and a corresponding lemma in $lemma, interpret what the actual reading should be. Used to deal with apparatus-ese shorthands for marking transpositions, prefixed or suffixed words, and the like.

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

syntax highlighting: