Exemple #1
0
 internal static void General()
 {
     Error.ErrorAll(() =>
     {
         TextAnalsysy analsysy = Input();
         analsysy.wordList.PrepareToHashSet();
         analsysy.wordList.ComputeToUniqieValueList();
         analsysy.Write(true);
         Console.WriteLine();
         analsysy.ConvertToDirectory();
         analsysy.Write(false);
     });
 }
Exemple #2
0
        static protected TextAnalsysy Input()
        {
            TextAnalsysy text = new TextAnalsysy();

            try
            {
                Console.WriteLine("> Please Enter 1. Text :");
                text.TextToWords(Console.ReadLine());
                Console.WriteLine("> Please Enter 2. Text :");
                text.TextToWords(Console.ReadLine());
                Console.WriteLine("> Please Enter 3. Text :");
                text.TextToWords(Console.ReadLine());
            }
            catch (Exception exception)
            {
                Console.WriteLine(exception.Message);
                return(null);
            }
            return(text);
        }
Exemple #3
0
 static void Main()
 {
     TextAnalsysy.General();
 }