static int testQuestion(Parser p, int qid) throws Exception{
		
		HtmlCleaner clean = new HtmlCleaner();
		TagNode root = clean.clean(new File("./train/docs/top_docs."+qid));
		root.getElementsByName("DOCNO", true);
		TagNode[] docs = root.getElementsByName("DOCNO", true);
		HashMap<String, Integer> proper = new HashMap<String, Integer>();
		int i = 1;
		for(TagNode t : docs){
			proper.put(t.getText().toString().trim(), i);
			i++;
		}
		
		Question q = p.questions.get(qid);
		(new BaselineQuestionClassifier()).classifyQuestion(q);
		DocumentSet d = (new BaselineDocumentRetriever(p.raw_documents, p.raw_word_counts, p.raw_stem_counts)).getDocuments(q);
		ArrayList<Document> ds = d.getDocs();
		int myId = 1;
		int count = 0;
		for(Document zard : ds){
			String id = zard.getID();
			Integer found = proper.get(id);
			if(found == null)
				found = -1;
			if(found > 0 && found < 6)
				count++;
			myId++;
		}
		
		return count;
	}