Salience.ExplainConceptMatches

<< Salience.GetConceptDefinedTopics | Back to Salience 6 .Net Index | Salience.GetDocumentCategories >>

Summary

Returns a formatted block of text listing the concept topics determined for the text via the Salience 6 Concept Matrix, as well as individual terms that occur in the text that generate the matches. Before calling this method, you must specify a concept topic list using the Concept Topic List option.
This method has a longer execution time than the call to GetConceptDefinedTopics and should be reserved for use in diagnostic or research interfaces or other application areas where a longer execution time is feasible.
The id parameter is an optional parameter to specify which configuration to return results for. Content can be processed by multiple configurations in one pass by prior calls to Salience.AddSalienceConfiguration. Omitting this parameter or passing an empty string returns results based on the default configuration.
This method is a a wrapper around the underlying C API method lxaExplainConceptMatches.

Syntax

public string ExplainConceptMatches(String id="")

Parameters

id Optional: The identifier for a specific configuration for results.

Returns

If successful, string containing a formatted block of text is returned. Each line in the text string returned contains either a topic label and overall match score or (indented) a document term contributing to the match for a certain topic and the term match score. Otherwise, an exception is thrown with information about the failure.

Example

TODO: Example needed for Salience 6

<< Salience.GetConceptDefinedTopics | Back to Salience 6 .Net Index | Salience.GetDocumentCategories >>