}
@Test
public void testInTinyDevSet() throws Exception {
// given
RealValueFileEventStream rvfes1 = new RealValueFileEventStream("src/test/resources/data/opennlp/maxent/real-valued-weights-training-data.txt");
DataIndexer testDataIndexer = new OnePassRealValueDataIndexer(rvfes1,1);
// when
QNModel trainedModel = new QNTrainer(15, true).trainModel(testDataIndexer);
String[] features2Classify = new String[] {"feature2","feature3", "feature3", "feature3","feature3", "feature3", "feature3","feature3", "feature3", "feature3","feature3", "feature3"};
double[] eval = trainedModel.eval(features2Classify);