3a2b8b9f033412f91ffcc6f35bb75643ca23dd10
[scpubgit/stemmatology.git] / TreeOfTexts / lib / TreeOfTexts / Model / Analysis.pm
1 package TreeOfTexts::Model::Analysis;
2
3 use strict;
4 use warnings;
5
6 use base 'Catalyst::Model::Adaptor';
7
8 __PACKAGE__->config( 
9         class => 'Text::Tradition::Analysis',
10         args => { 'traditions' => [
11                   { 'file' => TreeOfTexts->path_to( 't', 'data', 'florilegium.xml' ),
12                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_a.dot' ) },
13                           { 'file' => TreeOfTexts->path_to( 't', 'data', 'heinrichi.xml' ),
14                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_h.dot' ) },
15                           { 'file' => TreeOfTexts->path_to( 't', 'data', 'parzival.xml' ),
16                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_p.dot' ) },
17                           ] },
18  );
19
20 1;