they show an example of ML when selecting a text in android and how it predicts how much text should it select depending on what it is (a full address, an email etc).. don't know how they made it but it was almost instant, I'm sure the users wont care.