Salience.GetPOSTaggedText

<< Salience.GetUserEntityTaggedText | Back to Salience 6 .Net Index | Salience.GetSentimentTaggedText >>

Summary

Returns the text marked up with the part-of-speech (POS) tag identified for each token within the text. This is helpful for investigating issues with results that may be caused by inaccurate part-of-speech tagging.
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 lxaGetPOSMarkup.

Syntax

public string GetPOSTaggedText(String id="")

Parameters

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

Returns

If successful, returns string containing the document text with part-of-speech tags applied to all tokens. Otherwise, an exception is thrown with information about the failure.

Example

TODO: Example needed for Salience 6

<< Salience.GetUserEntityTaggedText | Back to Salience 6 .Net Index | Salience.GetSentimentTaggedText >>