store tradition objects in a KiokuDB instance
[scpubgit/stemmatology.git] / TreeOfTexts / lib / TreeOfTexts / Model / Analysis.pm
CommitLineData
dbcf12a6 1package TreeOfTexts::Model::Analysis;
2
3use strict;
4use warnings;
dbcf12a6 5
eb20780f 6use base 'Catalyst::Model::Adaptor';
dbcf12a6 7
eb20780f 8__PACKAGE__->config(
9 class => 'Text::Tradition::Analysis',
e367f5c0 10 args => { 'traditions' => [
e4386ba9 11 { 'file' => TreeOfTexts->path_to( 't', 'data', 'florilegium.xml' ),
12 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_a.dot' ) },
231d71fc 13 { 'file' => TreeOfTexts->path_to( 't', 'data', 'besoin.xml' ),
14 'stemmadot' => TreeOfTexts->path_to( 't', 'data', 'stemma_b.dot' ) },
e4386ba9 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' ) },
231d71fc 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
5b89f7ce 241;