Exemple #1
0
        static void Fixture()
        {
            if (SubmissionGenerator.EssayParagraph == null)
            {
                SubmissionGenerator.EssayParagraph = Learning.LearnFrom("Test-Markov-Essay.txt");

                StringMarkovFingerprint fingerPrint = new StringMarkovFingerprint(SubmissionGenerator.EssayParagraph);

                string dump = fingerPrint.Dump();

                System.IO.File.WriteAllText(TestHelper.GetTempFilePath("txt"), dump);
            }
        }