def format_dict_item(lemma, ppos, spos) -> str:
    """ Formats information about analysis dictionary item. """
    spos_string = '' if spos is None else f',{spos}'
    return f'[{lemma}:{ppos}{spos_string}] '