Predictive Text Pitch

Michael Noetel
11/1/17

The Problem

You're running home and typing a text to your partner. Don't you wish you had an app that could finish your sentences as well as your partner can. That is, do it:

  • quickly
  • efficiently
  • quite accurately

How I Solved the Problem

I took 1 million tweets, 100 thousand blogs, and 100 thousand newspaper articles to figure out what people most frequently say.
I then created a data table that was efficent to store and access. When the user enters a sentence, my app finds the word that is most likely to finish the sentence.
Longer strings tend to give better predictions becuase there's more context. It's hard to predict what comes after “the” but easier after “what is the” (time). As a result, my app searches the last 4 words first, then 3 words, then 2, then 1. Let's see it in action.

Example Solution

Since you are an Australian company, let's see what our app thinks of the country. We type in the box on the left and the output comes on the right.
Example user interface

How Good is the Solution

It's impossible to predict text with perfect accuracy, and industry grade solutions only get 30% of predictions correct. My solution is about half as accurate but does it in a faction of the time and a fraction of the storage footprint than other 'competitiors' (benchmarks on forum):

Me vs. comparison
Overall top-1 precision: 12.79% vs. 14.02%
Average runtime: 3.82 msec vs. 6.56 msec
Total memory used: 102.66 MB vs. 543.20 MB