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

copy glove folder to exp folder to compile executables

parent 3de41e7a
No related branches found
No related tags found
No related merge requests found
...@@ -13,8 +13,11 @@ if [ $2 == "LETTERS" ]; then ...@@ -13,8 +13,11 @@ if [ $2 == "LETTERS" ]; then
MINCOUNT=10 MINCOUNT=10
fi fi
cp -r $GLOVE .
GLOVE="GloVe/"
CURDIR="$(pwd)" CURDIR="$(pwd)"
cd $GLOVE && make && cd $CURDIR \ cd $GLOVE && make clean && make && cd $CURDIR \
&& $HORIZONTAL $1 $2 > in.text \ && $HORIZONTAL $1 $2 > in.text \
&& $GLOVE"build/vocab_count" -min-count $MINCOUNT < in.text > vocab.txt \ && $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 \ && $GLOVE"build/cooccur" -symmetric 0 -window-size 10 -vocab-file vocab.txt -memory 8.0 -overflow-file tempoverflow < in.text > cooccurrences.bin \
......
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