Skip to content

AbhishekGhosh/Google-Docs-Script-to-Run-IBM-Watson-For-Text-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Google Docs Script to Run IBM Watson For Text Analysis

Here is ready to use Google Docs Script to Run IBM Watson For Text Analysis. Original was written by Amit Agarwal, however the script was not shared with GNU GPL 3.0 License restricting direct usage to his own demo. Full guide - Using IBM Watson For Text Analysis with Google Docs.

For this script, you'll need :

  1. IBM Cloud/Bluemix trial or paid account
  2. Google Apps account to add scripts

How to use it?

  1. On Google Docs of Google Apps open any text document.
  2. Go to Tools menu, then click Script Editor option menu.
  3. A new window from `script.google.com/a/` will open.
  4. Copy-paste the above snippet and save it.
  5. Reload the Google Docs of Google Apps window with your text document.
  6. You'll notice that a new button named `★ IBM Watson` appeared beside Help menu of Google docs.
  7. Now select text, click that `★ IBM Watson` option to bring down option menu, click select `Analyze Text`.
  8. IBM Watson will ask for permission, allow it.
  9. Then you'll get the result as pop-up window.
  10. That's it
 

Important

Change the credidential in snippet. Currrent working one is of Amit Agarwal.