Internet related News · 2018-08-13

How Android Pie’s Machine Learning works

android pieGoogle has explained at great length how the latest version of its Android version – Pie- works.

It said in a blog post that 1 of the features in Android 9 was Smart Linkify, a new API that adds clickable links when certain types of entities are detected in the text. This is useful when, for example, you receive an address from a friend in a messaging app & want to look it up on a map. With a Smart Linkify-annotated text, it’s a lot easier, said the post.

Smart Linkify is a new version of the existing Android Linkify API. It’s powered by a small feed-forward neural network (500kB per language) with low latency (less than 20ms on Google Pixel phones) & small inference code (250kB), & uses essentially the same machine learning technology that powers Smart Text Selection (released as part of Android Oreo) to now also create links.

Smart Linkify, said Google, was available as an open-source TextClassifier API in Android (as the generateLinks method). The models were trained using TensorFlow & exported to a custom inference library backed by TensorFlow Lite & FlatBuffers. The C++ inference library for the models was available as part of Android Open-Source framework here, & runs on each text selection & Smart Linkify API calls.

For more on the Android Pie, click here.


 

Click here to opt-out of Google Analytics