Bob Paulin created JOSHUA-298:
---------------------------------

             Summary: Joshua Tutoral command contains a typo
                 Key: JOSHUA-298
                 URL: https://issues.apache.org/jira/browse/JOSHUA-298
             Project: Joshua
          Issue Type: Task
            Reporter: Bob Paulin
            Priority: Minor


On the following page: 
https://cwiki.apache.org/confluence/display/JOSHUA/Joshua+Tutorial

There are 3 typos.

1) 
{code} 
$JOSHUA/bin/pipeline.pl \
  --rundir 2 \
  --readme "Baseline phrase run" \
  --source es \
  --target en \
  --type phrase \
  --corpus $FISHER/corpus/ldc/fisher_train \
  --tune $FISHER/corpus/ldc/fisher_dev \
  --test $FISHER/corpus/ldc/fisher_dev2 \
  --maxlen 11 \
  --maxlen-tune 11 \
  --maxlent-test 11 \
  --tuner-iterations 1 \
  --lm-order 3
{code}

There is an extra t in the maxlent-test .  It should be:
{code}
$JOSHUA/bin/pipeline.pl \
  --rundir 2 \
  --readme "Baseline phrase run" \
  --source es \
  --target en \
  --type phrase \
  --corpus $FISHER/corpus/ldc/fisher_train \
  --tune $FISHER/corpus/ldc/fisher_dev \
  --test $FISHER/corpus/ldc/fisher_dev2 \
  --maxlen 11 \
  --maxlen-tune 11 \
  --maxlen-test 11 \
  --tuner-iterations 1 \
  --lm-order 3
{code}

Also within the third run there is the extra t again and a missing hyphen
{code}
$JOSHUA/bin/pipeline.pl \
  --rundir 3 \
  --readme "Baseline phrase run, picking up from run 1" \
  --source es \
  --target en \
  --type hiero \
  --first step model --no-prepare \
  --alignment 1/alignments/training.align \
  --corpus 1/data/train/corpus \
  --tune 1/data/tune/corpus  \
  --test 1/data/test/corpus \
  --maxlen 11 \
  --maxlen-tune 11 \
  --maxlent-test 11 \
  --tuner-iterations 1 \
  --lm-order 3
{code}

Should be:
{code}
$JOSHUA/bin/pipeline.pl \
  --rundir 3 \
  --readme "Baseline phrase run, picking up from run 1" \
  --source es \
  --target en \
  --type hiero \
  --first-step model --no-prepare \
  --alignment 1/alignments/training.align \
  --corpus 1/data/train/corpus \
  --tune 1/data/tune/corpus  \
  --test 1/data/test/corpus \
  --maxlen 11 \
  --maxlen-tune 11 \
  --maxlen-test 11 \
  --tuner-iterations 1 \
  --lm-order 3
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to