Commit | Line | Data |
dbcf12a6 |
1 | package TreeOfTexts::Model::Analysis; |
2 | |
3 | use strict; |
4 | use warnings; |
dbcf12a6 |
5 | |
eb20780f |
6 | use base 'Catalyst::Model::Adaptor'; |
dbcf12a6 |
7 | |
eb20780f |
8 | __PACKAGE__->config( |
9 | class => 'Text::Tradition::Analysis', |
e367f5c0 |
10 | args => { 'traditions' => [ |
11 | { 'file' => TreeOfTexts->path_to( 't', 'data', 'florilegium.xml' ), |
eb20780f |
12 | 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_a.dot' ) }, |
e367f5c0 |
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 | ] }, |
eb20780f |
18 | ); |
dbcf12a6 |
19 | |
dbcf12a6 |
20 | 1; |