Multi-pattern matching algorithm for Chinese-English mixed environment