import opennlp.tools.ml.model.TwoPassDataIndexer;
import opennlp.tools.util.ObjectStream;
public abstract class AbstractEventTrainer extends AbstractTrainer implements EventTrainer {
public static final String DATA_INDEXER_PARAM = "DataIndexer";
public static final String DATA_INDEXER_ONE_PASS_VALUE = "OnePass";
<BUG>public static final String DATA_INDEXER_TWO_PASS_VALUE = "TwoPass";
public AbstractEventTrainer() {</BUG>
}
@Override
public boolean isValid() {

import opennlp.tools.ml.model.TwoPassDataIndexer;
import opennlp.tools.util.ObjectStream;
public abstract class AbstractEventTrainer extends AbstractTrainer implements EventTrainer {
public static final String DATA_INDEXER_PARAM = "DataIndexer";
public static final String DATA_INDEXER_ONE_PASS_VALUE = "OnePass";
public static final String DATA_INDEXER_TWO_PASS_VALUE = "TwoPass";
public static final String DATA_INDEXER_ONE_PASS_REAL_VALUE = "OnePassRealValue";
protected Map<String,String> reportMap = new HashMap<>();
public AbstractEventTrainer() {
}
@Override
public boolean isValid() {
