diff src/pagerank/LinkConvertGraph.java @ 3:b44abb9aa09f draft

add resources/article.xml
author one
date Wed, 05 Sep 2012 11:59:02 +0900
parents 1744340f8be6
children dcd59917a2dd
line wrap: on
line diff
--- a/src/pagerank/LinkConvertGraph.java	Wed Sep 05 11:56:21 2012 +0900
+++ b/src/pagerank/LinkConvertGraph.java	Wed Sep 05 11:59:02 2012 +0900
@@ -90,8 +90,8 @@
 	
 	
 	public static void main(String[] args) {
-//		final String filename = "./resource/article.xml";
-		final String filename = "/Users/aotokage/testProgram/wiki/ja-pages_current.xml";
+		final String filename = "./resources/article.xml";
+//		final String filename = "/Users/aotokage/testProgram/wiki/ja-pages_current.xml";
 		
 		LinkConvertGraph lcg;
 
@@ -102,13 +102,13 @@
 			lcg.parseXml();
 //			lcg.printHash();
 
-			FileOutputStream fos = new FileOutputStream("./resource/wikiLink.log");
+			FileOutputStream fos = new FileOutputStream("./resources/wikiLink.log");
 			lcg.printHash(fos);
 
 			HashMap<String,HashSet<String>> hash = lcg.getHash();
 
 			
-			final String filenameD = "./resource/tinkerpopDB";
+			final String filenameD = "./resources/tinkerpopDB";
 			
 			Graph graph = new TinkerGraph();
 			FileOutputStream out = new FileOutputStream(new File(filename));