mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 13:23:25 +03:00
Merge branch 'master' of github.com:moses-smt/mosesdecoder
This commit is contained in:
commit
5ae5a630a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user