System.out.println("testCreateGenusWordConditionalProbList");
InputStream dstream = System.class.getResourceAsStream("/test/classifier/testGenus_probList.txt");
Reader in = new InputStreamReader( dstream );
TrainingInfo train = new TrainingInfo();
train.createGenusWordProbList(in);
GenusWordConditionalProb gProb = train.getWordConditionalProbObject(8);
int genusIndex = gProb.getGenusIndex();
float prob = gProb.getProbability();
assertEquals(genusIndex, 4);
assertEquals(prob, -0.15, 0.1);
gProb = train.getWordConditionalProbObject(1865);
genusIndex = gProb.getGenusIndex();
prob = gProb.getProbability();
assertEquals(genusIndex, 0);
assertEquals(prob, -0.5, 0.1);
}