Uploaded image for project: 'Joshua (Retired)'
  1. Joshua (Retired)
  2. JOSHUA-298

Joshua Tutoral command contains a typo

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

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

      There are 3 typos.

      1)

       
      $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
      

      There is an extra t in the maxlent-test . It should be:

      $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
      

      Also within the third run there is the extra t again and a missing hyphen

      $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
      

      Should be:

      $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
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            bobpaulin Bob Paulin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: