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

W2v files found in corpus directory are now pasted into model/data/W2V

parent 225428d1
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ fi
TRAIN=$(find $CORPUS -type f -name '*train*.conllu')
DEV=$(find $CORPUS -type f -name '*dev*.conllu')
TEST=$(find $CORPUS -type f -name '*test*.conllu')
W2V=$(find $CORPUS -type f -name '*.w2v')
if has_space "$TRAIN" || has_space "$DEV" || has_space "$TEST";
then
......@@ -72,5 +73,9 @@ if [ ! -d "bin/$EXPNAME" ]; then
if [ -f "$TEST" ]; then
cp $TEST bin/$EXPNAME/data/test.conllu
fi
if [ -f "$W2V" ]; then
mkdir -p bin/$EXPNAME/data/W2V/
cp $W2V bin/$EXPNAME/data/W2V/
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