def parse_word_tag_brno(line):
    """
    Parse the line and return the word and the tag. RFTagger doesn't support
    lemmata, as of Feb 2016.

    Trailing \n is stripped first so tags with a non-empty value at the end
    (commonly kIx. — ending punctuation) don’t result in an extra blank line.

    The tag’s attributes, separated by full stops, are joined together,
    skipping empty ones except the kind (k). Empty attributes have “?” as
    a value. They are often at the end of the tag (e.g. ~, not even used yet).

    Note that this function is tailored to the Brno’s attributive tagset.
    """
    word, tag = line.strip().split('\t')
    attrs = tag.split('.')

    tag = ''.join(attr for attr in attrs if attr[1] != '?' or attr[0] == 'k')

    if 'FULLSTOP' in tag:
        tag = tag.replace('FULLSTOP', '.')

    return word, tag