Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public PageDownloader(IPageAnalyzer[] analyzers)
 {
     this._analyzers = analyzers;
 }
Exemplo n.º 3
0
 public WebCrawler(List <string> rootSites, IPageAnalyzer analyzer)
 {
     this.rootSites = rootSites;
     this.analyzer  = analyzer;
 }