Merge branch 'master' of github.com:moses-smt/mosesdecoder

This commit is contained in:
Hieu Hoang 2014-12-12 10:04:58 +00:00
commit 5ae5a630a6

View File

@ -2115,7 +2115,7 @@ sub create_ini {
my $path = `pwd`; chop($path);
$fn = $path."/".$fn;
}
$type = "SRILM" unless defined $type; # default to SRILM if no type given
$type = "KENLM" unless defined $type; # default to KENLM if no type given
if ($type =~ /^\d+$/) {
# backwards compatibility if the type is given not as string but as a number