org.egothor.cache.apps
Class QdfCounter

java.lang.Object
  extended by org.egothor.cache.apps.QdfCounter

public class QdfCounter
extends java.lang.Object

Console application that computes query/document term frequencies of a tanker.


Constructor Summary
QdfCounter()
           
 
Method Summary
static void main(java.lang.String[] args)
          Prints to the console computed query/document term frequencies.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QdfCounter

public QdfCounter()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Prints to the console computed query/document term frequencies. Takes two arguments - input file with query term frequencies and location of the index

Input data file should have a format of tab separated fields of query term frequency and term.

Output to the console has a format of tab separated fields of query/document term frequency, query frequency, document frequency and term.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception - when a problem occurred