def METHOD_NAME() -> Tuple[str, int]:
    """Execute the analyzer function."""
    # Parse the request params
    try:
        req_data = AnalyzerRequest(request.get_json())
        if not req_data.text:
            raise Exception("No text provided")
        if not req_data.language:
            raise Exception("No language provided")
        recognizer_result_list = self.engine.METHOD_NAME(
            text=req_data.text,
            language=req_data.language,
            correlation_id=req_data.correlation_id,
            score_threshold=req_data.score_threshold,
            entities=req_data.entities,
            return_decision_process=req_data.return_decision_process,
            ad_hoc_recognizers=req_data.ad_hoc_recognizers,
            context=req_data.context,
        )
        return Response(
            json.dumps(
                recognizer_result_list,
                default=lambda o: o.to_dict(),
                sort_keys=True,
            ),
            content_type="application/json",
        )
    except TypeError as te:
        error_msg = (
            f"Failed to parse /analyze request "
            f"for AnalyzerEngine.analyze(). {te.args[0]}"
        )
        self.logger.error(error_msg)
        return jsonify(error=error_msg), 400
    except Exception as e:
        self.logger.error(
            f"A fatal error occurred during execution of "
            f"AnalyzerEngine.analyze(). {e}"
        )
        return jsonify(error=e.args[0]), 500