The establishment of public opinion forecasting and early-warning through the methods of grey forecasting and pattern recognition