Exemplo n.º 1
0
        public void Perform()
        {
            var dialog = new OpenFileDialog
            {
                Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*"
            };

            if (dialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }
            var data    = fileReader.Read(dialog.FileName);
            var phrases = dataProcessor.SelectTagPhrases(data);

            keywordsStorage.LoadKeywords(phrases);
        }