Event semantic recognizing based on Markov chain