Ejemplo n.º 1
0
        //extact all pages for a set of categories from Russian Wikipedia
        //table - categories

        static public void PutToFileAllPagesForCategoriesRU()
        {
            SortedDictionary <String, String> categories = PostGrePlugIn.getTableCategoriesAsDictionary();
            List <List <String> >             pages      = HTMLDigger.ReturnWikiPagesForCategories(categories);

            ObjectToSource.ComplexListToSource <String>(Common.pagesFilonCategory, pages);
        }
Ejemplo n.º 2
0
        //extact all pages for a set of keywords from Russian Wikipedia
        static public void PutToFileAllPagesForKeyWordsRU()
        {
            SortedDictionary <String, Int64> keys       = PostGrePlugIn.getTableKeysAsDictionary();
            List <List <String> >            categories = HTMLDigger.ReturnWikiPages(keys);

            ObjectToSource.ComplexListToSource <String>(Common.pagesFile, categories);
        }