]> git.sesse.net Git - wloh/commitdiff
As a hotfix, do not use not-yet-started languages. Avoids issues with duplicated...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Jun 2012 09:53:28 +0000 (11:53 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 3 Jun 2012 09:53:28 +0000 (11:53 +0200)
train.pl

index 9b1e0dcb923ef580014df114878e4a666a7c8199..19d9271455a509d7392ae70e1342bf4e4382c7f3 100755 (executable)
--- a/train.pl
+++ b/train.pl
@@ -80,7 +80,7 @@ sub train_model {
 
 sub find_all_locales {
        my $dbh = shift;
-       my $q = $dbh->prepare('SELECT kultur FROM fotballspraak');
+       my $q = $dbh->prepare('SELECT kultur FROM fotballspraak WHERE nyestesesong<>-1');
        $q->execute;
 
        my @locales = ();