1   package eu.fbk.knowledgestore.populator.naf;
2   
3   import java.io.File;
4   import java.io.IOException;
5   import java.io.PrintStream;
6   
7   import javax.xml.bind.JAXBException;
8   
9   public class runPopoulator {
10  
11      /**
12       * @param args
13       * @throws IOException
14       * @throws JAXBException
15       * @throws ClassNotFoundException
16       * @throws SecurityException
17       * @throws NoSuchMethodException
18       * @throws IllegalAccessException
19       * @throws InstantiationException
20       */
21      public static void main(String[] args) throws InstantiationException, IllegalAccessException,
22              NoSuchMethodException, SecurityException, ClassNotFoundException, JAXBException,
23              IOException {
24          //PrintStream PrintStream = new PrintStream(new File("log.txt"));
25         // System.setOut(PrintStream) ;
26         // System.setErr(PrintStream);
27          // String path="/Users/qwaider/Desktop/NewsReader/download/coreset_13-19/";
28          // String path="/Users/qwaider/Desktop/NewsReader/download/coreset_8_9_10_11_12/";
29          // String path="/Users/qwaider/Desktop/NewsReader/time.xml";
30          // path="/Users/qwaider/Desktop/NewsReader/download(1)/coreset_13-19/"+"5283-38T1-F0JC-M08P.xml.naf";
31          String[] argt = {
32                 // "-d","/mnt/wind/work/test-20/2011"
33                 // , "-x", "Entity"
34                 // , "-u", "http://localhost:8080/"
35                //  "-u","http://maya:8080",
36                //  "-n","/Users/qwaider/Desktop/NewsReader/testSet/58B2-1JT1-DYTM-916F.xml_09f6656a977d7216bde58d33a5c51921.naf"
37                 //  "-d","/Users/qwaider/Documents/Projects/NWR-August-v3/v3_test_dataset/test/"
38               //    "-n","/Users/qwaider/Documents/Projects/NWR-August-v3/v3_test_dataset/out/5FN3-TY71-F11P-X2H4.xml"
39                 "-n","/Users/qwaider/Documents/Projects/NWR-September/knowledgestore/ks-distribution/target/knowledgestore/ks_test_files/10450-Apple_Computer_CEO.xml.naf"  
40               //   "-d","/Users/qwaider/Desktop/NewsReader/testMTH/DATA/",
41               //   "-d","/Users/qwaider/Desktop/NewsReader/test3/"
42                 // "-n","/Users/qwaider/Desktop/NewsReader/test3/test.naf"
43                 // "-d","/Users/qwaider/Desktop/NewsReader/populator.test/test-multifiles/input/"
44               //   "-x", "Entity" 
45                  ,"-p"
46                 // ,"-f","NAF_TESTWC.20.list"
47                  ,"-o", "rr-last2.report"
48                  ,"-or", "rr2.records" 
49                 // "-h"
50                  ,"-b","5"
51                  ,"-qs","5"
52                  //,"-ct","5"
53                  };
54          nafPopulator tt = new nafPopulator();
55          tt.main(argt);
56      }
57  
58  }