The keyboard uses machine learning algorithms to analyze keystrokes and language patterns. It generates predictions for the next word or phrase based on a user’s typing history and adjusts predictions over time to match the user’s writing style. It can also suggest predictive emojis.