How does Apple find dates, times and addresses in emails?

Open 1 Answers 24 Views Education

How does Apple find dates, times and addresses in emails?

I would love to know in iOS email client, How apple manages to create an appointment or set a destination in map by just a single click on the hyperlink created automatically in emails which contains date, time or a place? It would be really interesting to know what is the processing behind this even in the case of languages other than English?

I think they use some machine learning or run a lot of regular expression at ones. But I have a doubt that What they do to make these stuff  work on multiple languages or date time format.

So, what do you think which machine learning algorithms they are using? Can someone tell me how do they manage to extract entities in a very short time to accomplish this task?

And how do they manage to do this for multiple languages this quick? Which machine learning algorithm they are using to do this task?

1 Answer

Apple has a technology of their own called the Apple Data Detectors.It parses the text first and then detects the patterns having specific pieces of data and then applies Os-contextual actions to it.

Alternatively, the same thing can be done using the information extraction technique which automatically extracts structured info from unstructured machine-readable documents.You may use Stanford's SUTime tool which allows you to extract attributes about n-grams in a document like:
by (53.7k points)