Salience.AddSentimentDictionary

<< Salience.GetLastWarnings | Back to Salience 6 .Net Index | Salience.PrepareText >>

Summary

This method is used to apply different sentiment hand-score dictionaries (HSDs) to the sentiment analysis of documents.
Note that this method has been carried over from the .Net wrapper for Salience 4.4. The Salience 6 C API has replaced the previous underlying method with options, which that wrapper method sets appropriately.

Syntax

public int AddSentimentDictionary(string sDictionary, bool bReset)

Parameters

sDictionary String containing the path to a sentiment hand-scored dictionary (HSD)
bReset Flag to clear all previously loaded HSD files

Returns

If successful, returns an integer return code. Otherwise, an exception is thrown with information about the failure.

Example

TODO: Example needed for Salience 6

<< Salience.GetLastWarnings | Back to Salience 6 .Net Index | Salience.PrepareText >>