/// <summary>
 /// Maps prediction response model of CustomText
 /// </summary>
 /// <param name="customTextResponse"></param>
 /// <returns>PredictionObject used by evaluation nuget</returns>
 private static PredictionObject MapCutomTextPredictionResponse(CustomTextPredictionResponse customTextResponse)
 {
     return(new PredictionObject
     {
         Classification = customTextResponse.Prediction.PositiveClassifiers ?? new List <string>(),
         Entities = MapCustomTextPredictionEntities(customTextResponse.Prediction.Extractors)
     });
 }
        /// <summary>
        /// Maps Custom Text test example and prediction response
        /// </summary>
        /// <param name="documentText"></param>
        /// <param name="labeledExample"></param>
        /// <param name="predictionResponse"></param>
        /// <param name="modelsDictionary"></param>
        /// <returns>Testing Example model used by nuget</returns>
        public static TestingExample CreateTestExample(string documentText, Example labeledExample, CustomTextPredictionResponse predictionResponse, Dictionary <string, string> modelsDictionary)
        {
            var PredictionData           = MapCutomTextPredictionResponse(predictionResponse);
            PredictionObject groundTruth = MapCustomTextLabeledExample(modelsDictionary, labeledExample);

            return(new TestingExample
            {
                Text = documentText,
                LabeledData = groundTruth,
                PredictedData = PredictionData
            });
        }