Factorial Hidden Markov Models (FHMM) implemented for discrete observation values (like words)