uk.ac.gla.dcs.renaissance.mg4j.tasks
Class BuildStorage

java.lang.Object
  extended by bpiwowar.experiments.AbstractTask
      extended by uk.ac.gla.dcs.renaissance.mg4j.tasks.BuildStorage
All Implemented Interfaces:
bpiwowar.experiments.Task

public class BuildStorage
extends bpiwowar.experiments.AbstractTask


Nested Class Summary
static class BuildStorage.IndexTermDictionary
           
static interface BuildStorage.TermDictionary
           
 
Nested classes/interfaces inherited from class bpiwowar.experiments.AbstractTask
bpiwowar.experiments.AbstractTask.Information
 
Constructor Summary
BuildStorage()
           
 
Method Summary
 int execute()
           
static CompactDocument getDocument(int fieldIndex, BreakIterator sentenceDetector, it.unimi.dsi.mg4j.index.TermProcessor processor, BuildStorage.TermDictionary dict, it.unimi.dsi.mg4j.document.Document document)
          Build a compact representation from a document
 
Methods inherited from class bpiwowar.experiments.AbstractTask
getName, getParent, init, processTrailingArguments, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildStorage

public BuildStorage()
Method Detail

execute

public int execute()
            throws Throwable
Overrides:
execute in class bpiwowar.experiments.AbstractTask
Throws:
Throwable

getDocument

public static CompactDocument getDocument(int fieldIndex,
                                          BreakIterator sentenceDetector,
                                          it.unimi.dsi.mg4j.index.TermProcessor processor,
                                          BuildStorage.TermDictionary dict,
                                          it.unimi.dsi.mg4j.document.Document document)
                                   throws IOException
Build a compact representation from a document

Parameters:
fieldIndex -
sentenceDetector -
text -
document -
compactDocument -
Returns:
Throws:
IOException


Copyright © 2011. All Rights Reserved.