def extract_comment_attributes(dict_elem):
    """
    Select the attributes of interest from the comment attribute dict.
    :param dict_elem: dict with parsed XML attributes
    :return: dict with selection of parsed XML attributes
    """
    return {
        'PostId': int(dict_elem['PostId']),
        'Score': dict_elem['Score'],
        'Text': dict_elem['Text']
    }