Salience 6 API changes/additions

This page documents differences between the Salience 6 API, including the various wrappers, and the Salience 5.2 API. The API differences consist of differences in the API methods and any differences/additions to the results structures made to provide access to new functionality in Salience 6.

NOTE: The most significant addition in Salience 6 is the support for multiple "configurations". API methods exist to support adding and removing configurations, and the API methods used to retrieve results (such as document sentiment) have been overloaded to allow for retrieving results for a particular specified configuration. When no configuration is specified, results from the default configuration are returned, matching behavior to previous Salience versions.

Changes in the core C API

ItemChange
Added support for processing of content through multiple configurationsNew API method: lxaAddSalienceConfiguration
New API method: lxaRemoveSalienceConfiguration
Changes to API methods: acConfigurationID parameter added to result retrieval API methods
Added identification of intentions in document contentNew API method: lxaGetIntentions
New structure: SalienceIntention
New API method: lxaFreeIntentionList
Added support for generic classification modelsNew API method: lxaGetDocumentClasses
Added support for specification of metadata sections for contentNew API method: lxaAddSection
New API method: lxaAddSectionFromFile
New structure: SalienceSection
Changes to structure: SalienceDocumentDetails
Added support for table- and list-based sections in contentNew structure: SalienceRow
Changes to structure: SalienceDocumentDetails
Added support for enhanced intensifier and negator informationChanges to structure: SaliencePhrase
Items in new structure: SalienceSection
Placeholders for future sub-document sentiment scoresChange to structure: SalienceSentence
Change to structure: SalienceChunk

Changes in the .Net wrapper classes

ItemChange
Change to naming of main API classesSalience and SalienceCollection
Added support for processing of content through multiple configurationsNew API method: Salience.AddSalienceConfiguration
New API method: Salience.RemoveSalienceConfiguration
API methods overloaded: id parameter added to result retrieval API methods, default to empty string for default configuration
Added identification of intentions in document contentNew API method: Salience.GetDocumentIntentions
New data class: SalienceIntention
Added support for generic classification modelsNew API method: Salience.GetDocumentClasses
Added support for specification of metadata sections for contentNew API method: Salience.AddSection
New API method: Salience.AddSectionFromFile
New structure: SalienceSection
Changes to structure: SalienceDocumentDetails
Added support for table- and list-based sections in contentNew structure: SalienceRow
Changes to structure: SalienceDocumentDetails
Added support for enhanced intensifier and negator informationChanges to structure: SaliencePhrase
Items in new structure: SalienceSection
Placeholders for future sub-document sentiment scoresChange to structure: SalienceSentence
Change to structure: SalienceChunk

Changes in the Java wrapper classes

ItemChange
Added support for processing of content through multiple configurationsNew API method: Salience.addSalienceConfiguration
New API method: Salience.removeSalienceConfiguration
API methods overloaded: sConfigurationID parameter added to result retrieval API methods, default to empty string for default configuration
Added identification of intentions in document contentNew API method: Salience.getDocumentIntentions
New result class: Intention
Added support for generic classification modelsNew API method: Salience.getDocumentClasses
Added support for specification of metadata sections for contentNew API method: Salience.addSection
New API method: Salience.addSectionFromFile
Added support for table- and list-based sections in contentNew structure: Row
Changes to structure: DocumentDetails
Added support for enhanced intensifier and negator informationChanges to structure: Phrase
Items in new structure: Section
Placeholders for future sub-document sentiment scoresChange to structure: Sentence
Change to structure: Chunk

Changes in the python wrapper classes

ItemChange
Added support for processing of content through multiple configurationsNew API method: addConfiguration
New API method: removeConfiguration
API methods overloaded: acConfigurationID parameter added to result retrieval API methods, default to empty string for default configuration
Added identification of intentions in document contentNew API method: getDocumentIntentions
Added support for generic classification modelsNew API method: getDocumentClasses
Added support for specification of metadata sections for contentNew API method: addSection
New API method: addSectionFromFile
Added support for table- and list-based sections in contentChanges to results structure: getDocumentDetails
Added support for enhanced intensifier and negator informationChanges to results structure: getDocumentDetails