"""! Main encoding """
ENCODING = 'utf-8'


"""! Edge lable into graph """
EDGE_LABEL = 'label'
"""! Edge weight into graph """
EDGE_WEIGHT = 'weight'
"""! Number of occurence the edge into document """
EDGE_COUNT = 'count'
"""! Relation identifier """
EDGE_RELID = 'relid'
"""! Relation name """
EDGE_RELNAME = 'rel_name'


"""! Label of properies where the tokens into node are stored """
NODE_TOKENS = 'tokens'
"""! Number of occurence the node into document """
NODE_COUNT = 'count'
"""! The node label """
NODE_LABEL = 'label'
"""! Sarkers for determine type of node """
NODE_IS_MWE = 'is_mwe'
NODE_NE_ANNOTS = 'ne_ann_numbers'
NODE_IS_SINGLETOK = 'is_single_tok'

"""! Marker to node sources """
NODE_SOURCES = 'node_sources'
NODE_FROM_TEXT = 1
NODE_FROM_SUMO = 2
NODE_FROM_PLWN = 3

"""! Marker for plWn synset string represents synset """
NODE_PLWN_STR = 'plwn_str'

"""! Token property for WSD from WoSeDon """
TOKEN_SENSE_UKB_SYNSET_ID = 'sense:ukb:syns_id'
TOKEN_SUMO_MAP = 'sumo_map'
'''! Separator for multimple mapping the token to Sumo concepts '''
CCL_MULIMAP_SUMO_SEP = ';'


"""! Maximum number of iteration in PageRank """
PAGE_RANK_MAX_ITER = 200

"""! Maximum number of iteration in splash spreading method """
SPLASH_MAX_ITER = 3
"""! Maximum depth in splash spreading method """
SPLASH_MAX_DEPTH = 3

"""! MSR Handle """
RESOURCES_MSR_HNDL = 'msr_hndl'
"""! PlWordNet handle """
RESOURCES_PLWN_HNDL = 'plwn_graph_hndl'
"""! SUMO handle """
RESOURCES_SUMO_HNDL = 'sumo_graph_hndl'