Text analysis is a part of the data analysis, NLP is a useful method to conduct text analysis, which can help us find the most frequent words in a corpus. In order to find out the complaint comments of the airline companies, I use TDM and machine learning to select the those comments, and the accuracy of my model is nearly 70%.