コード例 #1
0
  private static void runAllTopicAnalysisQueries(DataManager mgr, int venueId) throws Exception {
    int[] stend = mgr.getMinMaxYearForResearchDomain(venueId);
    int timestep = 1;
    runTopicDistribution(mgr, venueId, stend, timestep);
    //		runTopicCollab(mgr, venueId, stend);

  }
コード例 #2
0
 private static void importTopicsToDatabase(DataManager d, int venueId)
     throws SQLException, IOException {
   Connection conn = d.getConnection();
   int[] years = d.getMinMaxYearForResearchDomain(venueId);
   DataExporterImporter importer = new DataExporterImporter();
   String topicKWFile =
       TopicConstants.OUTPUTDIRPATH + File.separator + TopicConstants.TOPICKWFILENAME;
   String docTopicFile =
       TopicConstants.OUTPUTDIRPATH + File.separator + TopicConstants.TOPICDOCFILENAME;
   importer.importTopics(conn, venueId, years[0], years[1], docTopicFile, topicKWFile);
 }