Dictionary and Mapping Labels

You can apply a label to any user-defined dictionary or mapping when you load that object. Labels enable to you perform sentiment analysis against a predetermined set of dictionaries and mappings without having to specify a list of dictionaries. For example, you might have a set of dictionaries labeled "music" and a set labeled "movies." The default user dictionaries automatically have a label of "default."

A single dictionary or mapping can have multiple labels. For example, you might label a white list of artists as both "painters" and "renaissance." You could load the dictionary by loading either label. A label can only apply to one dictionary of each type. For example, you cannot have two dictionaries of stop words that share the same label. If you apply a label to multiple dictionaries of the same type, Pulse uses the most recently applied label.

You can view the labels associated with your current dictionaries using the GetAllLoadedDictionaries() function. You can also view the label associated with your current mapping using the GetLoadedMapping() function.