From 6a5e035a48b4f6a2a41fc7f6832baaff820f0f5c Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 26 Jul 2015 01:36:19 +0200 Subject: [PATCH] * Ensure data files are copied for tokenizer in init_model --- bin/init_model.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/init_model.py b/bin/init_model.py index 91b02f607..7be5cef2f 100644 --- a/bin/init_model.py +++ b/bin/init_model.py @@ -46,8 +46,7 @@ def setup_tokenizer(lang_data_dir, tok_dir): 'suffix.txt'): src = lang_data_dir / filename dst = tok_dir / filename - if not dst.exists(): - copyfile(str(src), str(dst)) + copyfile(str(src), str(dst)) def _read_clusters(loc):