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); }); }
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); }
static void Main() { TextAnalsysy.General(); }