示例#1
0
        private static void Main(string[] args)
        {
            Console.Title = "FrequencyLetters by JenkaBY for Itibo, 2015";

            string path = @"..\..\text\testEn1.txt";
            string path1 = @"..\..\text\testEn.txt";
            string path2 = @"..\..\text\testRu.txt";

            Text words = new Text(path);
            words.MinLimitWord = 1;
            words.MaxLimitWord = 3;
            Print(words, new ConsonantEn(), new VowelEn());

            Text words1 = new Text(path1);
            Print(words1, new ConsonantEn(), new VowelEn());

            Text words2 = new Text(path2);
            Print(words2, new ConsonantRu(), new VowelRu());

            Text words3 = new Text();
            words3.AddWords("Мама мыла раму и окна тоже");
            Print(words3, new ConsonantRu(), new VowelRu());
            Console.ReadLine();
        }