From 01df00396bedffc1fb54dbfe3cc0689a89dfdabf Mon Sep 17 00:00:00 2001 From: Franck Dary <franck.dary@lis-lab.fr> Date: Mon, 3 Aug 2020 11:10:47 +0200 Subject: [PATCH] copy glove folder to exp folder to compile executables --- UD_any/data/pretrainEmbeddings.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/UD_any/data/pretrainEmbeddings.sh b/UD_any/data/pretrainEmbeddings.sh index cfdc6ad..b22d83d 100755 --- a/UD_any/data/pretrainEmbeddings.sh +++ b/UD_any/data/pretrainEmbeddings.sh @@ -13,8 +13,11 @@ if [ $2 == "LETTERS" ]; then MINCOUNT=10 fi + +cp -r $GLOVE . +GLOVE="GloVe/" CURDIR="$(pwd)" -cd $GLOVE && make && cd $CURDIR \ +cd $GLOVE && make clean && make && cd $CURDIR \ && $HORIZONTAL $1 $2 > in.text \ && $GLOVE"build/vocab_count" -min-count $MINCOUNT < in.text > vocab.txt \ && $GLOVE"build/cooccur" -symmetric 0 -window-size 10 -vocab-file vocab.txt -memory 8.0 -overflow-file tempoverflow < in.text > cooccurrences.bin \ -- GitLab