public void debugOutput(String filePrefix) {

		File topicFolder = new File(filePrefix + "topicAssignment");

		if (!topicFolder.exists()) {
			System.out.println("creating directory" + topicFolder);
			topicFolder.mkdir();
		}

		File childTopKStnFolder = new File(filePrefix + "topKStn");
		if (!childTopKStnFolder.exists()) {
			System.out.println("creating top K stn directory\t"
					+ childTopKStnFolder);
			childTopKStnFolder.mkdir();
		}

		File stnTopKChildFolder = new File(filePrefix + "topKChild");
		if (!stnTopKChildFolder.exists()) {
			System.out.println("creating top K child directory\t"
					+ stnTopKChildFolder);
			stnTopKChildFolder.mkdir();
		}

		int topKStn = 10;
		int topKChild = 10;
		for (_Doc d : m_trainSet) {
			if (d instanceof _ParentDoc) {
				printParentTopicAssignment(d, topicFolder);
			} else if (d instanceof _ChildDoc) {
				printChildTopicAssignment(d, topicFolder);
			}
			// if(d instanceof _ParentDoc){
			// printTopKChild4Stn(topKChild, (_ParentDoc)d, stnTopKChildFolder);
			// printTopKStn4Child(topKStn, (_ParentDoc)d, childTopKStnFolder);
			// }
		}

		String parentParameterFile = filePrefix + "parentParameter.txt";
		String childParameterFile = filePrefix + "childParameter.txt";

		printParameter(parentParameterFile, childParameterFile, m_trainSet);
		// printTestParameter4Spam(filePrefix);

		String similarityFile = filePrefix + "topicSimilarity.txt";
		discoverSpecificComments(similarityFile);
		printEntropy(filePrefix);
		printTopKChild4Parent(filePrefix, topKChild);
		printTopKChild4Stn(filePrefix, topKChild);
		printTopKChild4StnWithHybrid(filePrefix, topKChild);
		printTopKChild4StnWithHybridPro(filePrefix, topKChild);
		printTopKStn4Child(filePrefix, topKStn);
	}