From 0ad09b16ad7c5686bc22b02603c7bbe126947d81 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Thu, 7 Mar 2019 17:24:57 +0100 Subject: [PATCH] Add header for morphanalysis --- spacy/tokens/morphanalysis.pxd | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 spacy/tokens/morphanalysis.pxd diff --git a/spacy/tokens/morphanalysis.pxd b/spacy/tokens/morphanalysis.pxd new file mode 100644 index 000000000..22844454a --- /dev/null +++ b/spacy/tokens/morphanalysis.pxd @@ -0,0 +1,9 @@ +from ..vocab cimport Vocab +from ..typedefs cimport hash_t +from ..structs cimport MorphAnalysisC + + +cdef class MorphAnalysis: + cdef readonly Vocab vocab + cdef hash_t key + cdef MorphAnalysisC c