com.hrstc.trec
Class FileConverter

java.lang.Object
  extended by com.hrstc.trec.FileConverter

public class FileConverter
extends java.lang.Object

FileConverter.java Takes result file from lucene and qrel file and combines them in the file that could be used for training input...output Created on October 17, 2004, 2:39 PM

Author:
wani

Field Summary
(package private)  java.io.File outFile
           
(package private)  java.io.File qRelFile
           
(package private)  java.io.File resultFile
           
 
Constructor Summary
FileConverter(java.lang.String resultFileName, java.lang.String qRelName, java.lang.String outFileName)
          Creates a new instance of FileConverter
 
Method Summary
 void convert()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

resultFile

java.io.File resultFile

qRelFile

java.io.File qRelFile

outFile

java.io.File outFile
Constructor Detail

FileConverter

public FileConverter(java.lang.String resultFileName,
                     java.lang.String qRelName,
                     java.lang.String outFileName)
Creates a new instance of FileConverter

Parameters:
resultFileName -
qRelName -
outFileName -
Method Detail

convert

public void convert()
             throws java.io.IOException
Throws:
java.io.IOException

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Parameters:
args - the command line arguments
Throws:
java.io.IOException