ML Kit, for Mobile Machine Learning, Adds Natural Language Processing

Google has added Natural Language Processing and other functionality to ML Kit, an SDK that provides the company's machine learning expertise and technology for mobile development.

Ready-to-use base APIs that come with ML Kit can be used to create custom models for a variety of applications, including device apps or in the cloud. The kit is part of Google's Firebase mobile development platform that includes a host of tools that can add back-end functionality for the development of mobile apps, including analytics, storage, syncing, cloud functions, authentication and more.

The kit, which is still in beta, is optimized for mobile use, providing functionality for things like: image labeling; barcode scanning; text, or optical character recognition (OCR); face detection; and more.

With a recent update, ML Kit now offers two more pieces of functionality: Language Identification and Smart Reply.

"You might notice that both of these features are different from our existing APIs that were all focused on image/video processing," the team said in a post earlier this month. "Our goal with ML Kit is to offer powerful but simple-to-use APIs to leverage the power of ML, independent of the domain. As such, we are excited to expand ML Kit with solutions for Natural Language Processing (NLP)!

"NLP is a category of ML that deals with analyzing and generating text, speech, and other kinds of natural language data. We're excited to start out with two APIs: one that helps you identify the language of text, and one that generates reply suggestions in chat applications. Both of these features work fully on-device and are available on the latest version of the ML Kit SDK, on iOS (9.0 and higher) and Android (4.1 and higher)."

The new Smart Reply API, meanwhile, provides functionality that is increasingly being found in messaging apps: a list of suggested responses that can be sent as an action taken in reply to a notification or from within a mobile app.

"The API provides suggestions based on the last 10 messages in a conversation, although it still works if only one previous message is available," Google said. "It is a stateless API that fully runs on-device, so we don't keep message history in memory nor send it to a server."

The post promised more news to come about ML Kit at the company's upcoming Google I/O conference, set for May 7-9.

About the Author

David Ramel is an editor and writer for Converge360.