Build a Smarter Content Editing Interface in Drupal with Natural Language Processing

Content is king, but finding the right media to fit your article can be a laborious task.  Imagine if rather than having to search multiple sources for the perfect stock image or pull-quote, the CMS analyzed your content as you typed, and searched your media library or APIs of your choice for related media that you could insert with a single click?

With natural-language processing, we can now add these capabilities to Drupal.  In this session, we will walk through using Watson Natural Language Understanding to create an assistive interface for media in the content editor. The concepts and keywords returned by Watson’s content analysis will be used to suggest related images that you can insert into your content without leaving the editing interface. 

In this session, you will learn: 

  • How to set up the Watson Natural Language Understanding API endpoints in Drupal 
  • How to configure the Assistive Media module to query various external APIs (YouTube, Google Custom Search)
  • How to set default parameters in the Assistive Media module (image size, image type, licensing rights, number of results returned)


Session Track


Experience level


Drupal Version

Drupal 8 (current)