A three-step machine learning approach to predict market bubbles with financial news