cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member
Introduction
Open ended survey questions are answered as free form sentences. This plugin parses out the sentences and extracts phrases of configurable length. 1 Word, 2 Words etc.
Note: This plugin is meant to be used in conjunction with the word cloud widget.
Instructions
Download the plugin from the provided link (unzip it) and place it in the plugins folder.
C:\Program Files\Sisense\PrismWeb\plugins
If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder. 
Add the following widget script.
 
widget.on('queryend', function(w, e) {

  var maxPhraseSize = 2;
  var blackList = "DO|NOT|INCLUDE";

  prism.splitSentence (w, e, maxPhraseSize, blackList);

});
 
Settings
maxPhraseSize - Specifies the desired number of words in each extracted phrase.
e.g. If set to 2 -  Peppa Pig will display as one phrase.
       If set to 1 -  Peppa and Pig will render independently.
blackList - | delimited list of words (List in Upper Case) to ignore, customize this list base on your data. This list is appended to the a global list set below.
 
IN|INTO|I|IT'S|IS|DO|DON'T|IT|ISN'T|THAT|DID|WHO|WAS|THAT'S|THIS|TO|THE|THEN|
THEY|THEIR|THESE|THEM|IF|BUT|WE|WHAT|WHEN|WHERE|WITH|WOULD|WERE|SO|AN|A|AT|ALL|ARE|
AND|CAN|IT|NOT|OF|OFF|OR|ON|BY|BE|BEEN|BECAUSE|OUR|FOR|&|HAS|NA|N/A|
Version history
Last update:
‎03-02-2023 09:48 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

Sisense Privacy Policy