incomplete commit:write trained probabilites to file and load from file
incomplete commit: viterbi implementation work in progress