diff options
author | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2009-02-09 19:00:35 +0300 |
---|---|---|
committer | phkoehn <phkoehn@1f5c12ca-751b-0410-a591-d2e778427230> | 2009-02-09 19:00:35 +0300 |
commit | 8d5aef137b8da29817ae26e20d1255a72234ab89 (patch) | |
tree | 4a3f16089fe21a71bda2a2aea8945f9d617a6a44 /scripts/recaser | |
parent | a62f8ee31630caf230100ff5e34e773d94afcf43 (diff) |
bug fix
git-svn-id: https://mosesdecoder.svn.sourceforge.net/svnroot/mosesdecoder/trunk@2113 1f5c12ca-751b-0410-a591-d2e778427230
Diffstat (limited to 'scripts/recaser')
-rwxr-xr-x | scripts/recaser/train-truecaser.perl | 2 | ||||
-rwxr-xr-x | scripts/recaser/truecase.perl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/recaser/train-truecaser.perl b/scripts/recaser/train-truecaser.perl index 603ccac21..295ad9330 100755 --- a/scripts/recaser/train-truecaser.perl +++ b/scripts/recaser/train-truecaser.perl @@ -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; diff --git a/scripts/recaser/truecase.perl b/scripts/recaser/truecase.perl index 5554ffbc0..0197385ba 100755 --- a/scripts/recaser/truecase.perl +++ b/scripts/recaser/truecase.perl @@ -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); |