matrixFactory = new BandMatrixFactory(radius);
} else {
throw new UnknownParameterException("search");
}
if (cls.equals("viterbi")) {
algorithm = new ViterbiAlgorithm(calculator,
categoryMap, matrixFactory);
} else if (cls.equals("fb")) {
algorithm = new ForwardBackwardAlgorithm(calculator,
categoryMap, matrixFactory);
} else {