BookmarkSubscribeRSS Feed

Using your SAS Contextual Analysis project rules within SAS Visual Text Analytics

Started ‎01-04-2019 by
Modified ‎01-07-2019 by
Views 2,070

Customers who currently have SAS Contextual Analysis and have installed or will install SAS Visual Text Analytics will want to take the rules built in SAS Contextual Analysis (within that product or even previously imported from SAS Enterprise Content Categorization) and use those for analyzing their data to take full advantage of the power of SAS Visual Text Analytics.  The best way to do this is to export the project rules from SAS Contextual Analysis as a .JSON file.  This is a new feature in the SAS Visual Text Analytics 8.3.  To do this, you need to use the following steps:


  1. Open up the SAS Contextual Analysis project.
  2. Click on the Export Project Settings button and save out the settings as a .JSON file.






The Export Project button is:    p2.png


  1. Save the JSON file from the Export Project window:





  1. Open Model Studio.
  2. Click on the 3 dots and choose Import -> Text Analytics





  1. On the Import Text Analytics Project screen:





Specify the following:

  • JSON file from SAS Contextual Analysis
  • A Visual Text Analytics project name
  • Language for the analysis
  • Data source for the analysis


  1. Open the imported project.





  1. Set a text variable which will be parsed.






  1. Click on the Pipelines tab.
  2. Right-click on the Categories node and Select Run.p8.png





You can see that the flow runs successfully.


Hello Team, 


I am trying to import my SAS Enterprise Content Categorization project into SAS VTA. I have converted my Categorization project in .zip file and importing but getting below error,


"An error occurred. Please contact your system administrator.

line: 1
col: 1658
SyntaxError: Invalid character
at uploadComplete (eval code:1:1658)
at o.prototype.fireEvent (eval code:6:2005)
at r.prototype.fireEvent (eval code:6:2799)
at Anonymous function (eval code:6:7185)
at a.xhr.onreadystatechange (eval code:6:11932)"


Kindly help me into this.




Version history
Last update:
‎01-07-2019 10:50 AM
Updated by:


Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.


Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags