2015-01-17 05:21:17 +00:00
|
|
|
from ..attrs cimport FLAG0, FLAG1, FLAG2, FLAG3, FLAG4, FLAG5, FLAG6, FLAG7
|
|
|
|
from ..attrs cimport FLAG8, FLAG9
|
|
|
|
from ..attrs cimport SIC as _SIC
|
|
|
|
from ..attrs cimport SHAPE as _SHAPE
|
|
|
|
from ..attrs cimport NORM1 as _NORM1
|
|
|
|
from ..attrs cimport NORM2 as _NORM2
|
|
|
|
from ..attrs cimport CLUSTER as _CLUSTER
|
|
|
|
from ..attrs cimport PREFIX as _PREFIX
|
|
|
|
from ..attrs cimport SUFFIX as _SUFFIX
|
|
|
|
from ..attrs cimport LEMMA as _LEMMA
|
|
|
|
from ..attrs cimport POS as _POS
|
2014-12-21 00:29:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
cpdef enum:
|
|
|
|
IS_ALPHA = FLAG0
|
|
|
|
IS_ASCII = FLAG1
|
|
|
|
IS_DIGIT = FLAG2
|
|
|
|
IS_LOWER = FLAG3
|
|
|
|
IS_PUNCT = FLAG4
|
|
|
|
IS_SPACE = FLAG5
|
|
|
|
IS_TITLE = FLAG6
|
|
|
|
IS_UPPER = FLAG7
|
|
|
|
LIKE_URL = FLAG8
|
|
|
|
LIKE_NUM = FLAG9
|
|
|
|
|
|
|
|
SIC = _SIC
|
2014-12-24 06:42:00 +00:00
|
|
|
SHAPE = _SHAPE
|
2015-01-12 00:23:44 +00:00
|
|
|
NORM1 = _NORM1
|
|
|
|
NORM2 = _NORM2
|
2014-12-21 00:29:11 +00:00
|
|
|
PREFIX = _PREFIX
|
|
|
|
SUFFIX = _SUFFIX
|
2014-12-24 06:42:00 +00:00
|
|
|
CLUSTER = _CLUSTER
|
2014-12-21 00:29:11 +00:00
|
|
|
LEMMA = _LEMMA
|
2014-12-24 06:42:00 +00:00
|
|
|
POS = _POS
|