public TAC2008TopicFileSet(String sTopicXMLFile,String sCorpusRootDir) throws ParserConfigurationException, SAXException, IOException {
  TopicFile=sTopicXMLFile;
  CorpusDir=sCorpusRootDir;
  DocumentBuilderFactory docBuilderFactory=DocumentBuilderFactory.newInstance();
  DocumentBuilder docBuilder=docBuilderFactory.newDocumentBuilder();
  TopicXMLDoc=docBuilder.parse(new File(sTopicXMLFile));
  Categories=null;
  TrainingFiles=null;
  TestFiles=null;
}

public TAC2008TopicFileSet ( String sTopicXMLFile , String sCorpusRootDir ) throws ParserConfigurationException , SAXException , IOException { TopicFile = sTopicXMLFile ; CorpusDir = sCorpusRootDir ; DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory . newInstance ( ) ; DocumentBuilder docBuilder = docBuilderFactory . newDocumentBuilder ( ) ; TopicXMLDoc = docBuilder . parse ( new File ( sTopicXMLFile ) ) ; Categories = null ; TrainingFiles = null ; TestFiles = null ; }
initializes the document set , given a tac2008 topic xml file .
