public static void RunFeaturesTest()
        {
            var context = new FeatureTestContext
            {
                S = new[] { "p^the_man", "w^thew^man\u0394", "w^man" },
                T = new[] { "p^un_homme", "w^un", "w^homme" }
            };

            var vw = new VowpalWabbit <FeatureTestContext>("-q st --noconstant --quiet");

            vw.Native.Learn("1 |s p^the_man w^the w^man |t p^un_homme w^un w^homme");

            var prediction = vw.Learn(context, new SimpleLabel {
                Label = 1f
            }, VowpalWabbitPredictionType.Scalar);

            Console.Error.WriteLine("p2 = {0}", prediction);
        }
        public static void RunFeaturesTest()
        {
            var context = new FeatureTestContext
            {
                S     = new[] { "p^the_man", "w^thew^man\u0394", "w^man" },
                T     = new[] { "p^un_homme", "w^un", "w^homme" },
                Label = new SimpleLabel {
                    Label = 1f
                }
            };

            var vw = new VowpalWabbit <FeatureTestContext>("-q st --noconstant --quiet");

            vw.Learn <VowpalWabbitScalarPrediction>("1 |s p^the_man w^the w^man |t p^un_homme w^un w^homme");

            using (var example = vw.ReadExample(context))
            {
                var score = example.LearnAndPredict <VowpalWabbitScalarPrediction>().Value;
                Console.Error.WriteLine("p2 = {0}", score);
            }
        }