Package org.wikipedia.miner.util

Examples of org.wikipedia.miner.util.ProgressNotifier


    }

  }

  public void cacheWikipediaData(String wikipediaDataDirectory) {
    ProgressNotifier progress = new ProgressNotifier(5);
    File dataDirectory = new File(wikipediaDataDirectory);

    // cache tables that will be used extensively
    TIntHashSet validPageIds;
    try {
View Full Code Here


    File dataDirectory = new File(
        "/Users/alyona/Data/wikipedia/data/20090306");
   
    if (cacheData) {
      ProgressNotifier progress = new ProgressNotifier(5);
      // cache tables that will be used extensively
      TIntHashSet validPageIds = wikipedia.getDatabase().getValidPageIds(
          dataDirectory, 2, progress);
      wikipedia.getDatabase().cachePages(dataDirectory, validPageIds,
          progress);
View Full Code Here

TOP

Related Classes of org.wikipedia.miner.util.ProgressNotifier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.