From ef49b8c1796987ca40b0061ae4fc5046a96827e2 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Wed, 21 Jan 2015 18:22:31 +1100 Subject: [PATCH] * Add stop-word flag --- spacy/en/attrs.pxd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/en/attrs.pxd b/spacy/en/attrs.pxd index ab0365738..a7a209ce8 100644 --- a/spacy/en/attrs.pxd +++ b/spacy/en/attrs.pxd @@ -1,5 +1,5 @@ from ..attrs cimport FLAG0, FLAG1, FLAG2, FLAG3, FLAG4, FLAG5, FLAG6, FLAG7 -from ..attrs cimport FLAG8, FLAG9 +from ..attrs cimport FLAG8, FLAG9, FLAG10 from ..attrs cimport SIC as _SIC from ..attrs cimport SHAPE as _SHAPE from ..attrs cimport NORM1 as _NORM1 @@ -22,6 +22,7 @@ cpdef enum: IS_UPPER = FLAG7 LIKE_URL = FLAG8 LIKE_NUM = FLAG9 + IS_STOP = FLAG10 SIC = _SIC SHAPE = _SHAPE