Skip to content
Snippets Groups Projects
Commit f55dada0 authored by Franck Dary's avatar Franck Dary
Browse files

Carry over symlinks when copying corpus data

parent aefa36e2
No related branches found
No related tags found
No related merge requests found
...@@ -65,17 +65,17 @@ if [ ! -d "bin/$EXPNAME" ]; then ...@@ -65,17 +65,17 @@ if [ ! -d "bin/$EXPNAME" ]; then
cp -r $TEMPLATENAME bin/$EXPNAME cp -r $TEMPLATENAME bin/$EXPNAME
cp -r "data" bin/$EXPNAME/. cp -r "data" bin/$EXPNAME/.
if [ -f "$TRAIN" ]; then if [ -f "$TRAIN" ]; then
cp $TRAIN bin/$EXPNAME/data/train.conllu cp --preserve=links $TRAIN bin/$EXPNAME/data/train.conllu
fi fi
if [ -f "$DEV" ]; then if [ -f "$DEV" ]; then
cp $DEV bin/$EXPNAME/data/dev.conllu cp --preserve=links $DEV bin/$EXPNAME/data/dev.conllu
fi fi
if [ -f "$TEST" ]; then if [ -f "$TEST" ]; then
cp $TEST bin/$EXPNAME/data/test.conllu cp --preserve=links $TEST bin/$EXPNAME/data/test.conllu
fi fi
if [ -f "$W2V" ]; then if [ -f "$W2V" ]; then
mkdir -p bin/$EXPNAME/data/W2V/ mkdir -p bin/$EXPNAME/data/W2V/
cp $W2V bin/$EXPNAME/data/W2V/ cp --preserve=links $W2V bin/$EXPNAME/data/W2V/
fi fi
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment