SalienceCollection.PrepareTextFromList

<< SalienceCollection.RemoveSalienceConfiguration | Back to Salience 6 .Net Index | SalienceCollection.PrepareCollectionFromFile >>

Summary

Provides a set of related pieces of content to Salience 6 for collection-level analysis. This method, or PrepareCollectionFromFile must be called for each new group of content that should be analyzed. The text provided in the set must be 7bit ASCII or valid UTF-8.
This method is a a wrapper around the underlying C API method lxaPrepareCollection.

Syntax

public int PrepareCollectionFromList(string sName, List<String> lstText)

Parameters

sName A descriptive name for the collection
lstText A List<> structure of strings, each representing a unique piece of content within the set.

Returns

If successful, an integer return code is returned. Developers should check the integer return code to determine if warnings were issued. Otherwise, an exception is thrown with information about the failure of text preparation.

Example

TODO: Example needed for Salience 6

<< SalienceCollection.RemoveSalienceConfiguration | Back to Salience 6 .Net Index | SalienceCollection.PrepareCollectionFromFile >>