コード例 #1
0
 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;
 }
コード例 #2
0
        private void loadTermDocsDocTerms()
        {
            DocTermLoader dtl = new DocTermLoader(docTermCounts, termDocCounts);

            dtl.LoadFromBinaryFile(directoryPath + Helper.INDEX_TERMDOCS_FILE);
            termDocs = dtl.GetTermDocItemCollection;
            docTerms = dtl.GetDocTermItemCollection;
        }