(text,mention_data)
return bio
:param text: 一段文本
    :param mention_data: 文本中mention列表
    :return: 标记列表
def get_bio_list(text,mention_data):
    '''

    :param text: 一段文本
    :param mention_data: 文本中mention列表
    :return: 标记列表
    '''
    bio=[0]*len(text)
    for mention in mention_data:
        men=mention['mention']
        offset=int(mention['offset'])
        bio[offset:offset+len(men)]=get_bio(men)
    return bio
def get_bio_list ( text , mention_data ) : bio = [ 0 ] * len ( text ) for mention in mention_data : men = mention [ 'mention' ] offset = int ( mention [ 'offset' ] ) bio [ offset : offset + len ( men ) ] = get_bio ( men ) return bio