Introduction - If you have any usage issues, please Google them yourself
The basic idea of the algorithm is to calculate the probability that the text belongs to class, the text is equal to the probability categories are categories of each word in the text of the comprehensive expression of the probability