Exemplo n.º 1
0
        private static void Initialize(string dictionaryFilename)
        {
            Console.WriteLine("Parsing dictionary...");
            var allWords = GetAllWords(dictionaryFilename);

            Console.WriteLine("Building word graph (this may take a few moments)...");
            var wordGraph = new WordGraph(allWords);

            Transformer = new WordTransformer(wordGraph);
        }
 public HomeController(
     ITraineeProvider traineeProvider,
     IProjectProvider projectProvider,
     WordTransformer wordTransformer,
     ICurrentUserFactory userFactory)
     : base(userFactory)
 {
     _traineeProvider = traineeProvider;
     _projectProvider = projectProvider;
     _wordTransformer = wordTransformer;
 }
Exemplo n.º 3
0
 public void Setup()
 {
     _wordTransformer = Kernel.Get <WordTransformer>();
 }