X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FText%2FTradition%2FParser%2FTabular.pm;h=723c0aac76140e71b14e20edc8b2c6b2539c9e48;hb=027d819cfec7c990f32bf810203481c9f7dc1f60;hp=ba586603b42947c80cce9a147f450ed3e9da275a;hpb=c3c7961291dc2703f5d532d004d301f1cc1db96e;p=scpubgit%2Fstemmatology.git diff --git a/lib/Text/Tradition/Parser/Tabular.pm b/lib/Text/Tradition/Parser/Tabular.pm index ba58660..723c0aa 100644 --- a/lib/Text/Tradition/Parser/Tabular.pm +++ b/lib/Text/Tradition/Parser/Tabular.pm @@ -177,7 +177,7 @@ sub parse { # add them to the witness paths. foreach my $idx ( 1 .. $#{$alignment_table} ) { my $row = $alignment_table->[$idx]; - my $nodes = make_nodes( $c, $row, $idx ); + my $nodes = _make_nodes( $c, $row, $idx ); foreach my $w ( 0 .. $#{$row} ) { # push the appropriate node onto the appropriate witness path my $word = $row->[$w]; @@ -243,7 +243,7 @@ sub parse { } } -sub make_nodes { +sub _make_nodes { my( $collation, $row, $index ) = @_; my %unique; my $commonctr = 0; # Holds the number of unique readings + gaps, ex. lacunae.