def _make_header(token, token_attributes, export_names, delimiter):
    """Create a csv header containing the names of the token annotations."""
    line = [export_names.get(token, token)]
    for annot in token_attributes:
        line.append(export_names.get(":".join([token, annot]), annot))
    return delimiter.join(line)