Examples of ViterbiAlgorithmFactory


Examples of net.sourceforge.align.filter.aligner.align.hmm.viterbi.ViterbiAlgorithmFactory

   
    Counter counter = new CharCounter();
    Calculator calculator = new NormalDistributionCalculator(counter);
   
    HmmAlignAlgorithmFactory algorithmFactory =
      new ViterbiAlgorithmFactory();
   
    AlignAlgorithm algorithm =
      new AdaptiveBandAlgorithm(algorithmFactory, calculator);
   
    Filter filter = new Aligner(algorithm);
View Full Code Here

Examples of net.sourceforge.align.filter.aligner.align.hmm.viterbi.ViterbiAlgorithmFactory

            AdaptiveBandAlgorithm.DEFAULT_MIN_BAND_MARGIN);
        float increment = createFloat(commandLine, "increment",
            AdaptiveBandAlgorithm.DEFAULT_BAND_INCREMENT_RATIO);
        HmmAlignAlgorithmFactory algorithmFactory;
        if (cls.equals("viterbi")) {
          algorithmFactory = new ViterbiAlgorithmFactory();
        } else if (cls.equals("fb")) {
          algorithmFactory = new ForwardBackwardAlgorithmFactory();
        } else {
          throw new UnknownParameterException("class");
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.