mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-11-10 10:59:21 +03:00
bug fix
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2113 1f5c12ca-751b-0410-a591-d2e778427230
This commit is contained in:
parent
a62f8ee316
commit
8d5aef137b
@ -9,7 +9,7 @@ binmode(STDOUT, ":utf8");
|
||||
|
||||
# apply switches
|
||||
my ($MODEL,$CORPUS);
|
||||
die("train-recaser.perl --model recaser --corpus cased")
|
||||
die("train-truecaser.perl --model truecaser --corpus cased")
|
||||
unless &GetOptions('corpus=s' => \$CORPUS,
|
||||
'model=s' => \$MODEL) && defined($CORPUS) && defined($MODEL);
|
||||
my %CASING;
|
||||
|
@ -9,7 +9,7 @@ binmode(STDOUT, ":utf8");
|
||||
|
||||
# apply switches
|
||||
my $MODEL;
|
||||
die("truecase.perl --model recaser < in > out")
|
||||
die("truecase.perl --model truecaser < in > out")
|
||||
unless &GetOptions('model=s' => \$MODEL);
|
||||
|
||||
my (%BEST,%KNOWN);
|
||||
|
Loading…
Reference in New Issue
Block a user