use strict;
use warnings;
use Getopt::Long;
-use Lingua::Features::Structure;
use Text::Tradition::Directory;
-use XML::Easy::Syntax qw/ $xml10_name_rx $xml10_namestartchar_rx /;
use TryCatch;
binmode STDOUT, ':utf8';
my $scope = $dir->new_scope();
my $lookfor = $ARGV[0] || '';
foreach my $tinfo ( $dir->traditionlist() ) {
+ next if $tinfo->{'name'} eq 'xxxxx';
next unless $tinfo->{'name'} =~ /$lookfor/ || $tinfo->{'id'} eq $lookfor;
my $tradition = $dir->lookup( $tinfo->{'id'} );
+ say "Looking at tradition " . $tradition->name;
my $c = $tradition->collation;
# Anywhere in the graph that there is a reading that joins only to a single