2019-07-12 18:59:47 +03:00
|
|
|
from . cimport symbols
|
|
|
|
|
2017-09-17 20:28:53 +03:00
|
|
|
cdef enum attr_id_t:
|
2022-09-02 10:08:40 +03:00
|
|
|
NULL_ATTR = 0
|
|
|
|
IS_ALPHA = symbols.IS_ALPHA
|
|
|
|
IS_ASCII = symbols.IS_ASCII
|
|
|
|
IS_DIGIT = symbols.IS_DIGIT
|
|
|
|
IS_LOWER = symbols.IS_LOWER
|
|
|
|
IS_PUNCT = symbols.IS_PUNCT
|
|
|
|
IS_SPACE = symbols.IS_SPACE
|
|
|
|
IS_TITLE = symbols.IS_TITLE
|
|
|
|
IS_UPPER = symbols.IS_UPPER
|
|
|
|
LIKE_URL = symbols.LIKE_URL
|
|
|
|
LIKE_NUM = symbols.LIKE_NUM
|
|
|
|
LIKE_EMAIL = symbols.LIKE_EMAIL
|
|
|
|
IS_STOP = symbols.IS_STOP
|
|
|
|
IS_BRACKET = symbols.IS_BRACKET
|
|
|
|
IS_QUOTE = symbols.IS_QUOTE
|
|
|
|
IS_LEFT_PUNCT = symbols.IS_LEFT_PUNCT
|
|
|
|
IS_RIGHT_PUNCT = symbols.IS_RIGHT_PUNCT
|
|
|
|
IS_CURRENCY = symbols.IS_CURRENCY
|
2016-03-10 15:01:34 +03:00
|
|
|
|
2022-09-02 10:08:40 +03:00
|
|
|
ID = symbols.ID
|
|
|
|
ORTH = symbols.ORTH
|
|
|
|
LOWER = symbols.LOWER
|
|
|
|
NORM = symbols.NORM
|
|
|
|
SHAPE = symbols.SHAPE
|
|
|
|
PREFIX = symbols.PREFIX
|
|
|
|
SUFFIX = symbols.SUFFIX
|
2015-01-26 14:22:09 +03:00
|
|
|
|
2022-09-02 10:08:40 +03:00
|
|
|
LENGTH = symbols.LENGTH
|
|
|
|
CLUSTER = symbols.CLUSTER
|
|
|
|
LEMMA = symbols.LEMMA
|
|
|
|
POS = symbols.POS
|
|
|
|
TAG = symbols.TAG
|
|
|
|
DEP = symbols.DEP
|
|
|
|
ENT_IOB = symbols.ENT_IOB
|
|
|
|
ENT_TYPE = symbols.ENT_TYPE
|
|
|
|
HEAD = symbols.HEAD
|
|
|
|
SENT_START = symbols.SENT_START
|
|
|
|
SPACY = symbols.SPACY
|
|
|
|
PROB = symbols.PROB
|
2015-01-26 14:22:09 +03:00
|
|
|
|
2022-09-02 10:08:40 +03:00
|
|
|
LANG = symbols.LANG
|
2019-07-12 18:59:47 +03:00
|
|
|
ENT_KB_ID = symbols.ENT_KB_ID
|
2022-09-02 10:08:40 +03:00
|
|
|
MORPH = symbols.MORPH
|
2020-01-06 16:57:34 +03:00
|
|
|
ENT_ID = symbols.ENT_ID
|
2020-02-22 16:13:06 +03:00
|
|
|
|
2022-09-02 10:08:40 +03:00
|
|
|
IDX = symbols.IDX
|