From: Tara L Andrews <tla\@mit.edu>
Date: Sun, 15 Apr 2012 21:53:36 +0000 (+0200)
Subject: remove refs to deprecated relationship type 'meaning'
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8331a4d9b70a88b2a2cfdfba09c43daeb6aa398;p=scpubgit%2Fstemmatology.git

remove refs to deprecated relationship type 'meaning'
---

diff --git a/lib/Text/Tradition/Collation/RelationshipStore.pm b/lib/Text/Tradition/Collation/RelationshipStore.pm
index 55d6943..4bd219c 100644
--- a/lib/Text/Tradition/Collation/RelationshipStore.pm
+++ b/lib/Text/Tradition/Collation/RelationshipStore.pm
@@ -37,7 +37,7 @@ my $t = Text::Tradition->new(
     );
 my $c = $t->collation;
 
-my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'meaning' } );
+my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'lexical' } );
 is( scalar @v1, 1, "Added a single relationship" );
 is( $v1[0]->[0], 'n21', "Got correct node 1" );
 is( $v1[0]->[1], 'n22', "Got correct node 2" );
diff --git a/t/data/besoin.xml b/t/data/besoin.xml
index aae88af..60b5dea 100644
--- a/t/data/besoin.xml
+++ b/t/data/besoin.xml
@@ -60363,11 +60363,6 @@
       <data key="de7">global</data>
       <data key="de6">1p poss/main </data>
     </edge>
-    <edge source="n187" target="n188" id="e13">
-      <data key="de2">meaning</data>
-      <data key="de7">global</data>
-      <data key="de6">synonyms</data>
-    </edge>
     <edge source="n194" target="n195" id="e14">
       <data key="de2">grammatical</data>
       <data key="de7">global</data>
@@ -60472,11 +60467,6 @@
       <data key="de7">global</data>
       <data key="de6">verb mood</data>
     </edge>
-    <edge source="n640" target="n641" id="e37">
-      <data key="de2">meaning</data>
-      <data key="de7">global</data>
-      <data key="de6">opposites</data>
-    </edge>
     <edge source="n643" target="n644" id="e38">
       <data key="de2">grammatical</data>
       <data key="de7">global</data>
diff --git a/t/text_tradition_collation_relationshipstore.t b/t/text_tradition_collation_relationshipstore.t
index 6b9db2b..01c888d 100644
--- a/t/text_tradition_collation_relationshipstore.t
+++ b/t/text_tradition_collation_relationshipstore.t
@@ -23,7 +23,7 @@ my $t = Text::Tradition->new(
     );
 my $c = $t->collation;
 
-my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'meaning' } );
+my @v1 = $c->add_relationship( 'n21', 'n22', { 'type' => 'lexical' } );
 is( scalar @v1, 1, "Added a single relationship" );
 is( $v1[0]->[0], 'n21', "Got correct node 1" );
 is( $v1[0]->[1], 'n22', "Got correct node 2" );