Exemplo n.º 1
0
        public void SetUp()
        {
            string sourcePath = @"C:\_current\development\data\isr\testindex\source\";
            string indexPath  = @"C:\_current\development\data\isr\testindex\index\";

            i.DataLoader   dataLoader   = new i.DataLoader(sourcePath);
            i.IndexBuilder indexBuilder = new i.IndexBuilder(dataLoader, indexPath);
            indexBuilder.BuildIndex();
            index = new d.Index(indexPath);
        }
Exemplo n.º 2
0
 public DocNormLoader(DataLoader dataLoader, float[] idfs)
 {
     this.dataLoader = dataLoader;
     this.idfs       = idfs;
 }
Exemplo n.º 3
0
 public IndexBuilder(DataLoader dataLoader, string targetDirectoryPath)
 {
     this.dataLoader          = dataLoader;
     this.targetDirectoryPath = targetDirectoryPath;
     calculateIDFs();
 }
Exemplo n.º 4
0
 public void SetUp()
 {
     loader = new i.DataLoader(EnvironmentBuilder.SOURCE_DIRECTORY);
 }