store tradition objects in a KiokuDB instance
[scpubgit/stemmatology.git] / lib / Text / Tradition / Collation.pm
index 7ca8db4..236a9bd 100644 (file)
@@ -34,6 +34,7 @@ has 'graph' => (
 has 'tradition' => (  # TODO should this not be ro?
     is => 'rw',
     isa => 'Text::Tradition',
+    weak_ref => 1,
     );
 
 has 'svg' => (
@@ -57,14 +58,6 @@ has 'csv' => (
     predicate => 'has_csv',
     );
 
-# Keeps track of the lemmas within the collation.  At most one lemma
-# per position in the graph.
-has 'lemmata' => (
-    is => 'ro',
-    isa => 'HashRef[Maybe[Str]]',
-    default => sub { {} },
-    );
-
 has 'wit_list_separator' => (
     is => 'rw',
     isa => 'Str',