A Bottom-up Hidden Tree Markov Model