ingo.iqir.tasks
Class Filtering

java.lang.Object
  extended by bpiwowar.experiments.AbstractTask
      extended by ingo.iqir.tasks.Filtering
All Implemented Interfaces:
bpiwowar.experiments.Task

public class Filtering
extends bpiwowar.experiments.AbstractTask

Class to perform adaptive filtering experiments with the geometrical framework, according to the TREC 2002 guidelines.

Author:
Ingo Frommholz

Nested Class Summary
 
Nested classes/interfaces inherited from class bpiwowar.experiments.AbstractTask
bpiwowar.experiments.AbstractTask.Information
 
Field Summary
static String NEG_SUFFIX
          The suffix for the negative result files.
 
Constructor Summary
Filtering()
           
 
Method Summary
 int execute()
          Performs the adaptive filtering run, according to the given parameters.
static void main(String[] args)
           
 
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
 

Field Detail

NEG_SUFFIX

public static final String NEG_SUFFIX
The suffix for the negative result files. Positive results are written in the given result files, while negative results (i.e. non-retrieved documents) are written in a file with the name of the result file and this suffix.

See Also:
Constant Field Values
Constructor Detail

Filtering

public Filtering()
Method Detail

execute

public int execute()
            throws Throwable
Performs the adaptive filtering run, according to the given parameters. Two files are written: a result file containing the accepted documents, according to the TREC 2002 guidelines, and a negative result file which contains the rejected documents (can be used for statistical purposes). The negative result file' name starts with the prefix neg_ and can be found where the result file is found.

Overrides:
execute in class bpiwowar.experiments.AbstractTask
Throws:
Throwable - An exception if something went wrong

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2011. All Rights Reserved.