def METHOD_NAME(
    matches: List[Dict[Text, Any]]
) -> List[Dict[Text, Any]]:
    extracted = []
    for match in matches:
        value = extract_value(match)
        entity = {
            "start": match["start"],
            "end": match["end"],
            "text": match.get("body", match.get("text", None)),
            "value": value,
            "confidence": 1.0,
            "additional_info": match["value"],
            "entity": match["dim"],
        }
        extracted.append(entity)
    return extracted