3 # Create Word Signature Table
4 # (c) 1997 Martin Mares <mj@atrey.karlin.mff.cuni.cz>
7 open (U, "misc/u-upper") || die "No uppercase map";
10 /^(....)\t0x(....)$/ || die "Syntax error";
15 open (U, "misc/u-unacc") || die "No unaccent map";
18 /^(....)\t0x(....)$/ || die "Syntax error";
23 open (U, "set/sig") || die "No signature set";
26 /^(..)\t(....)\t/ || next;
31 open (U, "misc/u-cat") || die "No category map";
34 /^(....)\t/ || die "Syntax error";
36 /_C_(UPPER|LOWER)/ || next;
37 $to = (defined $upper{$from}) ? $upper{$from} : $from;
38 $to = (defined $unacc{$to}) ? $unacc{$to} : $to;
39 if (defined $sigset{$to}) { print "$from\t0x$sigset{$to}\n"; }