* Add stop-word flag

This commit is contained in:
Matthew Honnibal 2015-01-21 18:22:31 +11:00
parent 6646bfc5df
commit ef49b8c179
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,5 @@
from ..attrs cimport FLAG0, FLAG1, FLAG2, FLAG3, FLAG4, FLAG5, FLAG6, FLAG7 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 SIC as _SIC
from ..attrs cimport SHAPE as _SHAPE from ..attrs cimport SHAPE as _SHAPE
from ..attrs cimport NORM1 as _NORM1 from ..attrs cimport NORM1 as _NORM1
@ -22,6 +22,7 @@ cpdef enum:
IS_UPPER = FLAG7 IS_UPPER = FLAG7
LIKE_URL = FLAG8 LIKE_URL = FLAG8
LIKE_NUM = FLAG9 LIKE_NUM = FLAG9
IS_STOP = FLAG10
SIC = _SIC SIC = _SIC
SHAPE = _SHAPE SHAPE = _SHAPE