From: Steinar H. Gunderson Date: Sun, 3 Jun 2012 09:53:28 +0000 (+0200) Subject: As a hotfix, do not use not-yet-started languages. Avoids issues with duplicated... X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5d811d8049a3f14cb586d4e9eb195de18036ded1;p=wloh As a hotfix, do not use not-yet-started languages. Avoids issues with duplicated locales. --- diff --git a/train.pl b/train.pl index 9b1e0dc..19d9271 100755 --- 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 = ();