browser: full score for prefixed features
[sheet.git] / browser.plp
index d6291cb69d74f5948be7819540365aeea5d31299..73db2a9e1c06b2863e2ef2facb1eea4886dccc9e 100644 (file)
@@ -56,6 +56,7 @@ my %CSTATS = (
        'p j' => 'l2',
        'j'   => 'l2',
        'p'   => 'l2',
+       'p p' => 'l2',
        'u'   => 'l0',
 );
 my %CSTATUS = (
@@ -130,7 +131,7 @@ print "</thead>\n";
 
 sub featurescore {
        # relative amount of support for given feature
-       state $statspts = { y=>10, 'y x'=>9, a=>5, 'a x'=>5, j=>2, 'p j'=>2, p=>1 };
+       state $statspts = { y=>10, 'y x'=>10, a=>5, 'a x'=>5, j=>2, 'p j'=>2, p=>1 };
        my $rank = 0;
        if (my $row = shift) {
                if ($canihas) {