Salience

The Salience Developer Hub

Welcome to the Salience developer hub. You'll find comprehensive guides and documentation to help you start working with Salience as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started

Python Wrapper

The python wrapper provided for Salience 6 allows the underlying Salience 6 engine to be integrated easily into python scripts.

Note that it is a wrapper around the Salience 6 C API. When deploying the wrapper, you will also need to ensure the underlying Salience Engine and third-party libraries are also available to your python environment. Also, because there are a few different python distributions, you may need to compile the python wrapper for your environment using the wrapper source code and setup scripts provided. The Salience 6 distribution includes a pre-compiled python wrapper compatible with Python3.6 (by default) and Python2.7.

openSession
openShortFormSession
closeSession
addConfiguration
removeConfiguration
getVersion
getLastWarnings
dumpEnvironment
resetThemes
runModelSmokeTest

prepareText
prepareTextFromFile
addSection
addSectionFromFile
prepareCollectionFromList
prepareCollectionFromFile

getDocumentDetails
getSummary
getDocumentSentiment
getDocumentThemes
getQueryDefinedTopics
getConceptDefinedTopics
explainConceptMatches
getDocumentCategories
getDocumentClasses
getDocumentIntentions

getNamedEntities
getUserEntities
getNamedEntityRelationships
getNamedEntityOpinions
getUserEntityRelationships
getUserEntityOpinions

getCollectionThemes
getCollectionFacets
getCollectionQueryDefinedTopics
getCollectionConceptDefinedTopics
getCollectionEntities
getCollectionUserEntities

getNamedEntityTaggedText
getUserEntityTaggedText
getNamedOpinionTaggedText
[getUserOpinionTaggedText](doc:python-marked-text#section-getuseropiniontaggedtext
getPOSTaggedText
getSentimentTaggedText

Updated 9 months ago

Python Wrapper


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.