Text Analysis - Save Variable(s) - Categories

From Q
Jump to: navigation, search

Save variables to the data set containing the categories. Where there are multiple input variables, multiple sets of variables are added for each.

This QScriptfeature saves the categories from a Automatic Categorization - List of Items, Automatic Categorization - Unstructured Text, Automatic Categorization - Entity Extraction or Text Analysis - Advanced - Setup Text AnalysisInsert > Text Analysis > Automatic Categorization > List of Items/Unstructured Text/Entity Extraction or Insert > Text Analysis > Advanced > Setup Text Analysis output as a Pick One or Pick Any - Compact questionNominal or Binary Multi - Compact variable set.

Technical Details

The variables created from this QScriptfeature may become invalid and need to be deleted and recreated if the output from Automatic Categorization - List of Items, Automatic Categorization - Unstructured Text, Automatic Categorization - Entity Extraction or Automatic Categorization - Advanced - Setup Text AnalysisInsert > Text Analysis > Automatic Categorization > List of Items/Unstructured Text/Entity Extraction or Insert > Text Analysis > Advanced > Setup Text Analysis has changed, either due to the input text variable being modified or the input settings modified.

This QScript requires version 5.5.1 to be executed.

Code

includeWeb('QScript Functions for Saving Text Analysis Variables');

saveTextAnalysisVariables('Save Variable(s) - Categories');