public DocumentLabBase() { this.windsorContainer = new WindsorContainer(); this.windsorContainer.Install(FromAssembly.This()); this.ocr = windsorContainer.Resolve <IOcr>(); this.imageProcessor = windsorContainer.Resolve <IImageProcessor>(); this.pageAnalyzer = windsorContainer.Resolve <IPageAnalyzer>(); this.pageTrimmer = windsorContainer.Resolve <IPageTrimmer>(); this.documentInterpreter = new Interpreter(); }
public PageDownloader(IPageAnalyzer[] analyzers) { this._analyzers = analyzers; }
public WebCrawler(List <string> rootSites, IPageAnalyzer analyzer) { this.rootSites = rootSites; this.analyzer = analyzer; }