Skip to main content
Instapage

Perform Text Analysis with IBM Watson and Google Docs

Google, Microsoft, IBM and Amazon have made it easier for developers to add human cognitive capabilities (also known as artificial intelligence) within their own applications. You need not be a machine learning expert to build a computer program that can recognize objects in photographs, or one that transforms human speech to text or even a chatbot that converses with people in natural language.

The Google Photos app leverages machine learning to identify landmarks and faces in your photos. You can even build and train your own machine learning models by installing Google’s TensorFlow library on your own computer. IBM’s PowerAI lets enterprises deploy TensorFlow like frameworks in the cloud on power systems for training custom machine learning models of any size.

The IBM Code Patterns microsite hosts hundreds of ready-to-use examples around artificial intelligence. For instance, here’s an open source repo that explains how to recognize images of houses that have swimming pools. Another example on Github shows how you can easily build a system that can detect and count products on store shelves using the PowerAI platform.

Train your own Machine Learning Model

If you would like to build your own image recognition engine without the complexity of servers and TensorFlow, try this online demo of the Watson Visual Recognition engine hosted the IBM Cloud (formerly Bluemix) website.

watson-image-recognition.png

You can create your own classifier and upload a set of images to train the classifier.  It is also essential to upload a set of negative images that may look similar but are different. Train the model and, in about a minute or so, your model is ready. Upload any image and the classifier will be able to tell if it matches any of your trained bundles.

IBM Watson + Google Docs for Natural Language Understanding

The Natural Language Processing (NLP) service of IBM Watson uses machine learning to extract entities, person names, places, and understand the overall sentiment and emotion of text. Amazon Comprehend and Google Natural Language are other competing platforms that offer powerful text analysis in the cloud.

ibm-watson-nlp.png

Getting started with Watson NLP is easy and all you need is an IBM Cloud account to get started. The lite plan is free (no credit card required), it never expires and the quota resets every month automatically.

I’ve built a sample Google Apps Script based app that uses Watson NLP to analyze the text in your Google Document. Here’s how you can get started:

  1. Copy this Google Document to your Google Drive
  2. Select the text in the document, go to the IBM Watson menu and choose the Analyze text menu.
  3. Grant the necessary authorization and you’ll see get a pop-up with the list of entities found in the selected text.

The Google Apps Script is open-source and you can find a copy of the source code inside Tools > Script Editor. If you ever run into quota limits, remember to replace the credentials in the source code with your own Bluemix account.

ibm-watson-google-docs.gif

Disclaimer: The writer attended IBM Code Day in Bangalore at the invitation of IBM. The travel and accommodation were arranged and paid for by IBM.



from Digital Inspiration Technology Blog

Comments

Popular posts from this blog

How to Get SMS Alerts for Gmail via Twitter

How do you get SMS notifications on your mobile phone for important emails in your Gmail? Google doesn’t support text notifications for their email service but Twitter does. If we can figure out a way to connect our Twitter and Gmail accounts, the Gmail notifications can arrive as text on our mobile via Twitter. Let me explain:Twitter allows you to follow any @user via a simple SMS. They provide short codes for all countries (see list) and if you text FOLLOW to this shortcode following by the  username, any tweets from that user will arrive in your phone as text notifications. For instance, if you are in the US, you can tweet FOLLOW labnol to 40404 to get my tweets as text messages. Similarly, users in India can text FOLLOW labnol to 9248948837 to get the tweets via SMS.The short code service of Twitter can act as a Gmail SMS notifier. You create a new Twitter account, set the privacy to private and this account will send a tweet when you get a new email in Gmail. Follow this account …

Instagram Story links get 15-25% swipe-through rates for brands, publishers

Instagram may arrived late as a traffic source for brands and publishers, but it’s already showing early signs of success, driving new visitors to their sites and even outperforming its parent company, Facebook.For years brands, publishers and other have tried to push people from the Facebook-owned photo-and-video-sharing app to their sites. Outside of ads and excepting a recent test with some retailers, Instagram didn’t offer much help to companies looking to use it to drive traffic. So they had to find workarounds. They put links in their Instagram bios. They scrawled short-code URLs onto their pictures. And they typed out links in their captions.Then last month Instagram finally introduced an official alternative to these hacky workarounds: the ability for verified profiles to insert links in their Instagram Stories.Almost a month after the launch, 15% to 25% of the people who see a link in an Instagram Story are swiping on it, according to a handful of brands and publishers that h…

Five great tools to improve PPC ads

Every digital marketer wants to reach the top position on the search engine results. However, if you’ve recently launched a new website or your niche is saturated, starting with paid search ads sounds like a good idea.Strategically created PPC campaigns can drive leads, sales or sign-ups to your websites. You know what? In fact, businesses earn an average of $8 for every dollar they spend on Google Ads.Optimizing PPC campaigns is not easy, but it’s very powerful if you do it properly. Just like SEO, it is essential to conduct extensive keyword research, optimize ad copy, and design high-converting landing pages.Fortunately, there are a lot of effective PPC tools that will help you analyze your competitors’ PPC strategies, figure out tricks in their campaigns, and improve your PPC campaigns.If you are ready to take an evolutionary leap in your PPC advertising, take a look at my list of five amazing tools to save you time, give you crucial insights, and raise money for your business.Fiv…