15cac2c4e77b0ebd831153eeca7e203577505853
[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', 'besoin.xml' ),
14                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_b.dot' ) },
15                           { 'file' => TreeOfTexts->path_to( 't', 'data', 'heinrichi.xml' ),
16                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_h.dot' ) },
17                           { 'file' => TreeOfTexts->path_to( 't', 'data', 'parzival.xml' ),
18                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_p.dot' ) },
19                   { 'file' => TreeOfTexts->path_to( 't', 'data', 's158.xml' ),
20                           'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_s.dot' ) },
21                           ] },
22  );
23
24 1;