A sentence synonym conversion task based on the principle of regular expression is done, and the combination of machine learning can effectively improve the performance of the algorithm. Since there are few projects in this area in China, many people need to write their own codes, so I open source my codes to my GitHub.

Github.com/TianhaoFu/R…