Class RunViterbi2

java.lang.Object
  extended by RunViterbi2

public class RunViterbi2
extends java.lang.Object

This is a simple class for running your code if you decide to do the optional part of the assignment using second-order Markov models. You might want to extend or modify this class, or write your own. (But your code should still work properly when run with this code.)


Constructor Summary
RunViterbi2()
           
 
Method Summary
static void main(java.lang.String[] argv)
          A simple main that loads the dataset contained in the file named in the first command-line argument, builds a second-order HMM, prints it out and finds and prints the most likely state sequence for each of the output sequences.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunViterbi2

public RunViterbi2()
Method Detail

main

public static void main(java.lang.String[] argv)
                 throws java.io.FileNotFoundException,
                        java.io.IOException
A simple main that loads the dataset contained in the file named in the first command-line argument, builds a second-order HMM, prints it out and finds and prints the most likely state sequence for each of the output sequences.

Throws:
java.io.FileNotFoundException
java.io.IOException