Exemple #1
0
 public TextToTagsTranslator(IWordsNormalizer wordsNormalizer, Hunspell hunspell,
                             IWordsFilter wordsFilter, IRectangleCloudLayouter layouter)
 {
     this.wordsNormalizer = wordsNormalizer;
     this.hunspell        = hunspell;
     this.wordsFilter     = wordsFilter;
     this.layouter        = layouter;
 }
Exemple #2
0
 public TagCloudCreator(IWordsForCloudGenerator wordsForCloudGenerator,
                        IWordsReader wordsReader,
                        IWordsNormalizer wordsNormalizer,
                        ICloudDrawer cloudDrawer,
                        string inputFile,
                        string boringWordsFile)
 {
     this.wordsNormalizer        = wordsNormalizer;
     this.cloudDrawer            = cloudDrawer;
     this.wordsReader            = wordsReader;
     this.wordsForCloudGenerator = wordsForCloudGenerator;
     this.inputFile       = inputFile;
     this.boringWordsFile = boringWordsFile;
 }
Exemple #3
0
 public TagCloudCreatorFactory(IWordsForCloudGeneratorFactory wordsForCloudGeneratorFactory,
                               IColorGeneratorFactory colorGeneratorFactory,
                               ICloudDrawerFactory cloudDrawerFactory,
                               ITagCloudLayouterFactory tagCloudLayouteFactory,
                               IPointsFactory pointsFactory,
                               IWordsReader wordsReader,
                               IWordsNormalizer wordsNormalizer)
 {
     this.tagCloudLayouteFactory        = tagCloudLayouteFactory;
     this.wordsForCloudGeneratorFactory = wordsForCloudGeneratorFactory;
     this.colorGeneratorFactory         = colorGeneratorFactory;
     this.cloudDrawerFactory            = cloudDrawerFactory;
     this.pointsFactory   = pointsFactory;
     this.wordsNormalizer = wordsNormalizer;
     this.wordsReader     = wordsReader;
 }