From a748146dd3974a88ac06179ab291700d4a6f9ab8 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 16 Oct 2015 04:24:50 +1100 Subject: [PATCH] * Update get_freqs.py script --- bin/get_freqs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/get_freqs.py b/bin/get_freqs.py index ba0640d87..123deca10 100755 --- a/bin/get_freqs.py +++ b/bin/get_freqs.py @@ -43,7 +43,7 @@ def null_props(string): def count_freqs(input_loc, output_loc): print(output_loc) - tokenizer = Tokenizer.from_dir(Vocab(), English.default_data_dir()) + tokenizer = Tokenizer.from_dir(Vocab(), spacy.en.English.default_data_dir()) counts = PreshCounter() for json_comment in iter_comments(input_loc):