def convert_to_text(line):
    """
    Convert conll data to text
    """
    to_print = []
    for item in line:
        try:
            if item[0] == ' ':
                to_print.append(' ')
                continue
            word, gold, tag = item.split(' ')
            if tag[0] in 'SB':
                to_print.append('[')
            to_print.append(word)
            if tag[0] in 'SE':
                to_print.append('@' + tag.split('-')[-1])
                to_print.append(']')
        except:
            print(list(item))
    return ''.join(to_print)
