aboutsummaryrefslogtreecommitdiffstats
path: root/get_embeddings.sh
diff options
context:
space:
mode:
authorYigit Sever2019-09-18 01:48:17 +0300
committerYigit Sever2019-09-18 01:48:17 +0300
commit2b69578cc03d772d5999b1a651c0bedbf92fded4 (patch)
tree805a4585e01c75c9170bb0ace291e1c9bee11a62 /get_embeddings.sh
parent3843cc5f372f4264bb3cffff9d0c0b7deb703b32 (diff)
downloadEvaluating-Dictionary-Alignment-2b69578cc03d772d5999b1a651c0bedbf92fded4.tar.gz
Evaluating-Dictionary-Alignment-2b69578cc03d772d5999b1a651c0bedbf92fded4.tar.bz2
Evaluating-Dictionary-Alignment-2b69578cc03d772d5999b1a651c0bedbf92fded4.zip
Fix erroneous n in filenames
Diffstat (limited to 'get_embeddings.sh')
-rwxr-xr-xget_embeddings.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_embeddings.sh b/get_embeddings.sh
index be354a6..b53d493 100755
--- a/get_embeddings.sh
+++ b/get_embeddings.sh
@@ -49,5 +49,5 @@ rm -f "${EMBS}/crawl-300d-2M.vec.zip"
49# truncate to top 500k tokens for efficiency 49# truncate to top 500k tokens for efficiency
50for lang_code in bg en el it ro sl sq; do 50for lang_code in bg en el it ro sl sq; do
51 sed -in '1,500001!d' "${EMBS}/${lang_code}.vec" 51 sed -in '1,500001!d' "${EMBS}/${lang_code}.vec"
52 sed -in '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec" 52 sed -i '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec"
53done 53done