mirror of https://github.com/explosion/spaCy.git
* Ensure data files are copied for tokenizer in init_model
This commit is contained in:
parent
ab93898ac6
commit
6a5e035a48
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue