Whenever you're ready, walk me through how you'd approach this.
Given a text corpus, perform text cleaning and implement logic for predicting probable next words.
Asked in the Round 3, Technical stage. Focus on natural language processing.
Explain how you would build the practical solution, including preprocessing, training data construction, prediction logic, evaluation, and handling unseen words or phrases. Discuss how the design would change if the predictor needed to serve interactive requests at scale.