Package org.wikipedia.miner.model

Examples of org.wikipedia.miner.model.Wikipedia


        .println("--- Initializing Wikipedia database on server "
            + wikipediaServer
            + " with database "
            + wikipediaDatabase);
      }
      this.wikipedia = new Wikipedia(wikipediaServer, wikipediaDatabase,
          "root", null);
    } catch (Exception e) {
      System.err.println("Error initializing Wikipedia database!");
      e.printStackTrace();
    }
View Full Code Here


    topicExtractor.extractKeyphrases(fileNames);
  }

  private void loadWikipedia(boolean cacheData) throws Exception {

    wikipedia = new Wikipedia("localhost", "enwiki_20090306", "root", null);

    TextProcessor textProcessor = new CaseFolder();

    File dataDirectory = new File(
        "/Users/alyona/Data/wikipedia/data/20090306");
View Full Code Here

TOP

Related Classes of org.wikipedia.miner.model.Wikipedia

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.