Considering the time complexity and accuracy of the algorithm,a solution combined dictionary and statistical analysis was presented.Using this method,the algorithm solved two problems of unregistered words and ambiguous words.The experimental results are comparatively ideal.