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' ) }, |
1d7aff91 |
13 | { 'file' => TreeOfTexts->path_to( 't', 'data', 'besoin.xml' ), |
14 | 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_b.dot' ) }, |
e367f5c0 |
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' ) }, |
1d7aff91 |
19 | { 'file' => TreeOfTexts->path_to( 't', 'data', 's158.xml' ), |
20 | 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_s.dot' ) }, |
e367f5c0 |
21 | ] }, |
eb20780f |
22 | ); |
dbcf12a6 |
23 | |
dbcf12a6 |
24 | 1; |