From the course: Text Analytics and Predictions with Python Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Predictive text concepts

Predictive text concepts - Python Tutorial

From the course: Text Analytics and Predictions with Python Essential Training

Start my 1-month free trial

Predictive text concepts

- [Instructor] Predictive text is another popular application for text mining and analytics When you compose a text on your smartphone, or type a search term into Google, you see recommendations for the current or the next word. That is predictive text at work. The goal for predictive text is to recommend the next word based on the previous words that you have typed. It can also recommend the current word in the same manner based on the letters you have typed. Predictive text enables you to choose a word from a list instead of typing. This saves time and effort especially when using small devices like smartphones. So how does predictive text work? We use engrams for this purpose. Engrams are basically a set of co-occurring words within a given window. It is used to identify word sequence patterns. First, there is a corpus of sentences collected from usage specific to the context. We then use engram's techniques to build a database of previous word and possible next word. This engrams…

Contents