public HtmlPageCategorizationProcessor(Initializer initializer, Queue <Url> frontier)
 {
     extractor    = new Extractor();
     categorizer  = new Categorizer(initializer.getCategoryList());
     ranker       = new Ranker(categorizer);
     filter       = new Filter("http://", initializer.getContraints());
     queueFronier = frontier;
     taskId       = initializer.getTaskId();
 }
 public HtmlPageCategorizationProcessor(Initializer initializer,Queue<Url> frontier)
 {
     extractor = new Extractor();
     categorizer = new Categorizer(initializer.getCategoryList());
     ranker = new Ranker(categorizer);
     filter = new Filter("http://",initializer.getContraints());
     queueFronier = frontier;
     taskId = initializer.getTaskId();
 }