2015-01-17 05:21:17 +00:00
|
|
|
from ..attrs cimport FLAG0, FLAG1, FLAG2, FLAG3, FLAG4, FLAG5, FLAG6, FLAG7
|
2015-01-21 07:22:31 +00:00
|
|
|
from ..attrs cimport FLAG8, FLAG9, FLAG10
|
2015-01-22 15:08:25 +00:00
|
|
|
from ..attrs cimport ORTH as _ORTH
|
2015-01-17 05:21:17 +00:00
|
|
|
from ..attrs cimport SHAPE as _SHAPE
|
2015-01-23 19:17:03 +00:00
|
|
|
from ..attrs cimport LOWER as _LOWER
|
|
|
|
from ..attrs cimport NORM as _NORM
|
2015-01-17 05:21:17 +00:00
|
|
|
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
|
2015-01-23 19:17:03 +00:00
|
|
|
from ..attrs cimport TAG as _TAG
|
2015-04-07 03:54:53 +00:00
|
|
|
from ..attrs cimport DEP as _DEP
|
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
|
2015-01-21 07:22:31 +00:00
|
|
|
IS_STOP = FLAG10
|
2014-12-21 00:29:11 +00:00
|
|
|
|
2015-01-22 15:08:25 +00:00
|
|
|
ORTH = _ORTH
|
2014-12-24 06:42:00 +00:00
|
|
|
SHAPE = _SHAPE
|
2015-01-23 19:17:03 +00:00
|
|
|
LOWER = _LOWER
|
|
|
|
NORM = _NORM
|
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
|
2015-01-23 19:17:03 +00:00
|
|
|
TAG = _TAG
|
2015-04-07 03:54:53 +00:00
|
|
|
DEP = _DEP
|