From 867a4a000c3082e418f39359a31b10ffb5e1d049 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sat, 20 Dec 2014 07:28:27 +1100 Subject: [PATCH] * Export set_morph_from_dict function --- spacy/morphology.pxd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spacy/morphology.pxd b/spacy/morphology.pxd index a6f020159..9ef6e51fe 100644 --- a/spacy/morphology.pxd +++ b/spacy/morphology.pxd @@ -16,3 +16,6 @@ cdef class Morphologizer: cdef PreshMapArray _cache cdef int lemmatize(self, const univ_tag_t pos, const Lexeme* lex) except -1 cdef int set_morph(self, const int i, TokenC* tokens) except -1 + + +cdef int set_morph_from_dict(Morphology* morph, dict props) except -1