Skip to content

Commit

Permalink
update config
Browse files Browse the repository at this point in the history
  • Loading branch information
trieuhl committed Aug 14, 2020
1 parent 909ed4f commit 385d85b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,18 @@ elif [ "$TASK" = "offset" ]; then
# evaluate
elif [ "$TASK" = "eval" ]; then

# paths
REFDIR="data/original_corpora/$CORPUS_NAME/$DEV_TEST/" # reference gold data
PREDDIR="$TASK_DIR/predict-$GOLD_E2E-$DEV_TEST/ev-last/ev-orig-a2/"
echo "Evaluate:"

GOLD_E2E=$3 # gold, e2e
DEV_TEST=$4 # predict for dev, test sets
EVAL_OPTION=$5 # s: softboundary; p: partialrecursive

# paths
REFDIR="data/original_corpora/$CORPUS_NAME/$DEV_TEST/" # reference gold data
PREDDIR="$TASK_DIR/predict-$GOLD_E2E-$DEV_TEST/ev-last/ev-orig-a2/"



python eval/scripts/eval-ev-$CORPUS_NAME.py -r $REFDIR -d $PREDDIR -$EVAL_OPTION

# prepare data for brat
Expand Down

0 comments on commit 385d85b

Please sign in to comment.