A php implement of Hidden Markov Model