Esempio n. 1
0
        public void Visualizate(string text, string picturePath)
        {
            var tagCloud = AlgorithmTagCloud.GetTagCloud(text, layoter, processor, metric);

            if (vizInfo.TryGetSize(out var size) && (size.Width < tagCloud.Width || size.Height < tagCloud.Height))
            {
                Console.WriteLine($"so small size, width and height should be more or equals: {tagCloud.Width}, {tagCloud.Height}");
                return;
            }
            TagCloudVisualization.Visualize(tagCloud, picturePath, vizInfo);
        }
Esempio n. 2
0
        public void Visualize(string text, string picturePath)
        {
            var tagCloud = AlgorithmTagCloud.GetTagCloud(text, layoter, processor, metric);

            TagCloudVisualization.Visualize(tagCloud, picturePath, vizInfo);
        }