diff options
author | Yigit Sever | 2019-09-16 22:29:39 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-16 22:29:39 +0300 |
commit | 4ce4680754128371acbfcd771d516fa6229ba440 (patch) | |
tree | 068352fedb5698fbb7e7435984ee43818ee3fabe | |
parent | facc57ba71729c6fc968994ba20f1330125181de (diff) | |
download | Evaluating-Dictionary-Alignment-4ce4680754128371acbfcd771d516fa6229ba440.tar.gz Evaluating-Dictionary-Alignment-4ce4680754128371acbfcd771d516fa6229ba440.tar.bz2 Evaluating-Dictionary-Alignment-4ce4680754128371acbfcd771d516fa6229ba440.zip |
Don't use unnecessary space
-rwxr-xr-x | get_embeddings.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/get_embeddings.sh b/get_embeddings.sh index 0c5d918..dde7839 100755 --- a/get_embeddings.sh +++ b/get_embeddings.sh | |||
@@ -38,6 +38,9 @@ wget -nc -q https://dl.fbaipublicfiles.com/fasttext/vectors-crawl/cc.sl.300.vec. | |||
38 | echo "Extracting embeddings" | 38 | echo "Extracting embeddings" |
39 | 39 | ||
40 | for LANG in sq bg el it ro sl; do | 40 | for LANG in sq bg el it ro sl; do |
41 | gunzip -fc "${EMBS}/cc.${LANG}.300.vec.gz" > "${EMBS}/${LANG}.1M.vec" | 41 | gunzip "${EMBS}/cc.${LANG}.300.vec.gz" |
42 | rm -f "${EMBS}/cc.${LANG}.300.vec.gz" | 42 | mv "${EMBS}/cc.${LANG}.300.vec.gz" "${EMBS}/${LANG}.1M.vec" |
43 | done | 43 | done |
44 | |||
45 | unzip -ofq "${EMBS}/crawl-300d-2M.vec.zip" -d "${EMBS}" | ||
46 | mv "${EMBS}/crawl-300d-2M.vec" "${EMBS}/en.vec" | ||