UnloadLabeledDictionary

Unloads a specific dictionary from a Pulse session. The dictionary continues to exist, and a user can later reload the dictionary, if needed.

You cannot unload a default dictionary, but you can replace it by loading a custom user-defined dictionary.

Syntax

SELECT unloadLabeledDictionary(USING PARAMETERS listname='listname'[, language='lang'] [, label='label']) OVER();

Parameters

Argument Description

listName

The type of the dictionary that you want to unload. listName must be one of:

  • pos_words
  • neg_words
  • neutral_words
  • stop_words
  • white_list

See Dictionaries and Mappings for details on each list type.

language

The language:

  • 'english' or 'en'
  • 'spanish' or 'es'
label The label of the dictionary that you want to unload.

Examples

select unloadLabeledDictionary(USING PARAMETERS listname='neg_words',
label='custom_negatives') OVER();
				
success
---------
t
(1 row)
				

See Also