From 2b69578cc03d772d5999b1a651c0bedbf92fded4 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Wed, 18 Sep 2019 01:48:17 +0300 Subject: Fix erroneous n in filenames --- get_embeddings.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" # truncate to top 500k tokens for efficiency for lang_code in bg en el it ro sl sq; do sed -in '1,500001!d' "${EMBS}/${lang_code}.vec" - sed -in '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec" + sed -i '1 s/^.*$/500000 300/' "${EMBS}/${lang_code}.vec" done -- cgit v1.2.3-70-g09d2