Menu

problem while runnig the main of TrecTerrier

soumaya
2012-05-19
2012-05-19
  • soumaya

    soumaya - 2012-05-19

    public static void main(String[] args) {

        if(args.length==0)
        { args= new String[1]; 
         args[0] ="-i"; // indexing
    
        }
        try {
            TrecTerrier trecTerrier = new TrecTerrier();
            int status = trecTerrier.processOptions(args);
            trecTerrier.applyOptions(status);
        } 
        catch(Exception e )
    
        {System.err.println("Le problème:  "+e); 
        e.printStackTrace();
    
        }
    
        catch (java.lang.OutOfMemoryError oome) {
            System.err.println(oome);
            oome.printStackTrace();
            //System.exit(1);
        }
    }
    

    the problem while i'm running the main method of my class TrecTerrier is
    The option 'set' is not recognised

    what is the problem ?
    please can any one help me ?(it's really urgent)
    thank you veru much

     
  • Duy Dinh

    Duy Dinh - 2012-05-19

    Hi,
    I do not know what you mean by the 'set' option?
    What is your objective when running TrecTerrier here (indexing, retrieval, qe...)?
    The options are defined clearly in this class. So I think that you should read the comments in this class to run it with appropriate options.

    More descriptions about Terrier options should be well described on Terrier website. Please read them carefully before.

    Best,
    Duy

     
    • soumaya

      soumaya - 2012-05-19

      The option 'set' is not recognized : is the error message showed when i run my main method
      i'am trying to index with TrecTerrier

       

Log in to post a comment.