static void Main(string[] args)
        {
            Console.WriteLine("Идёт анализ решений...");
            var folder = Folders.SuspiciousSources;

            if (args.Length != 0)
            {
                folder = new DirectoryInfo(args[0]);
            }
            var documents = DocumentLoader.LoadAllStateNames(folder)
                            .Select(documentName => new DocumentContent(documentName))
                            .ToList();
            var levenshteinCalculator = new LevenshteinCalculator();
            var comparisonResults     = levenshteinCalculator
                                        .CompareDocumentsPairwise(documents
                                                                  .Select(d => d.Tokens)
                                                                  .ToList()
                                                                  )
                                        .OrderBy(GetNormalizedDistance)
                                        .Take(5);

            Console.WriteLine("Анализ окончен\n Топ-5 самых похожих пар:\n");

            GenerateReport(documents, comparisonResults);
        }
 public void SetUp()
 {
     levenshteinCalculator = new LevenshteinCalculator();
 }