From 2bbb050500afd53254fc65ac70eea275328353da Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Tue, 18 Oct 2016 19:55:41 +0200 Subject: [PATCH] Fix default of serializer_freqs --- spacy/vocab.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/vocab.pyx b/spacy/vocab.pyx index 857b890be..55b5366c8 100644 --- a/spacy/vocab.pyx +++ b/spacy/vocab.pyx @@ -50,7 +50,7 @@ cdef class Vocab: ''' @classmethod def load(cls, path, lex_attr_getters=None, vectors=True, lemmatizer=True, - tag_map=True, serializer_freqs=None, **deprecated_kwargs): + tag_map=True, serializer_freqs=True, **deprecated_kwargs): util.check_renamed_kwargs({'get_lex_attr': 'lex_attr_getters'}, deprecated_kwargs) if tag_map is True and (path / 'vocab' / 'tag_map.json').exists(): with (path / 'vocab' / 'tag_map.json').open() as file_: