constants.py
392 Bytes
MASK_VALUE = -100
FIRST = 'first'
LAST = 'last'
SEG_BEGIN = 'B'
SEG_INSIDE = 'I'
UPPERCASE = 'X'
LOWERCASE = 'x'
EMPTY = '<EMPTY>'
TOKENS = 'tokens'
SEGS = 'segs'
LEMMAS = 'lemmas'
LEMMA_CASES = 'lemma_cases'
LEMMA_RULES = 'lemma_rules'
TAGS = 'tags'
HEADS = 'heads'
ADJACENCY_MATRIX = 'adjacency_matrix'
DEPRELS = 'deprels'
SPINES = 'spines'
ANCHORS = 'anchors'
ANCHOR_HS = 'anchor_hs'