diff --git a/UD_any/data/pretrainEmbeddings.sh b/UD_any/data/pretrainEmbeddings.sh index cfdc6ada7591378e2501a8814d150aa5b36a0224..b22d83db8e9d5558db315cb58f4e3d596eb887ef 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 \