def extract_raw_features(annotation):
    """
    This function is used to extract raw features from annotations

    :param annotation: annotation object
    :return: features in dictionary
    """
    features = annotation.select('Feature')
    annotation_features = {}
    for feature in features:
        feature_name = feature.Name.text
        feature_value = feature.Value.text

        annotation_features[feature_name] = feature_value
    features_dict = dict(filter(lambda element: element[1] != 'external', annotation_features.items()))
    return features_dict