constant

constant

hanlp_common.constant.HANLP_URL = 'https://file.hankcs.com/hanlp/'

Resource URL.

hanlp_common.constant.HANLP_VERBOSE = False

Enable verbose or not.

hanlp_common.constant.IDX = '_idx_'

Key for index.

hanlp_common.constant.PAD = '<pad>'

Padding token.

hanlp_common.constant.UNK = '<unk>'

Unknown token.