private void loadTermDocsDocTerms(string sourceDirectory) { d.DocTermLoader dtl = new d.DocTermLoader(docTermCounts, termDocCounts); dtl.LoadFromTextFile(sourceDirectory + d.Helper.SOURCE_TERMDOCS_FILE); termDocs = dtl.GetTermDocItemCollection; docTerms = dtl.GetDocTermItemCollection; }
private void loadTermDocsDocTerms() { DocTermLoader dtl = new DocTermLoader(docTermCounts, termDocCounts); dtl.LoadFromBinaryFile(directoryPath + Helper.INDEX_TERMDOCS_FILE); termDocs = dtl.GetTermDocItemCollection; docTerms = dtl.GetDocTermItemCollection; }