From f9150ccf2a7f4696cb4692e9f9aa4c19bab4e2e5 Mon Sep 17 00:00:00 2001 From: Wolfgang Seeker Date: Fri, 8 Apr 2016 13:38:07 +0200 Subject: [PATCH] rename vectors.tgz to vectors.bz2 because it's not compressed with gzip but bzip --- bin/init_model.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/init_model.py b/bin/init_model.py index 3bbd7c469..ca886c3e0 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -13,7 +13,7 @@ Requires: * WordNet * words.sgt.prob --- Smoothed unigram probabilities * clusters.txt --- Output of hierarchical clustering, e.g. Brown clusters - * vectors.tgz --- output of something like word2vec + * vectors.bz2 --- output of something like word2vec, compressed with bzip """ from __future__ import unicode_literals @@ -155,7 +155,7 @@ def setup_vocab(get_lex_attr, tag_map, src_dir, dst_dir): if not dst_dir.exists(): dst_dir.mkdir() - vectors_src = src_dir / 'vectors.tgz' + vectors_src = src_dir / 'vectors.bz2' if vectors_src.exists(): write_binary_vectors(str(vectors_src), str(dst_dir / 'vec.bin')) else: