Skip to main content

Python SDK for Neticle Text Analysis API

Project description

Who we are

Neticle's proprietary sentiment and semantic analysis technology works with outstanding human-level precision. We know how to get insights automatically from texts and we build products and services applying this technology.

About this package

Neticle Text Analysis provides market leading, humanly accurate sentiment and semantic analysis toolkits for in-house corporate use. Or are you looking for NLP (natural language processing)? Yes, that's what we do.

Getting Started

This package was meant to use with Neticle's Text Analysis API. For further information please visit the project's home page.

Start with importing the package into your project:

from textanalysis_python_sdk import NeticleException, TextAnalysis

After this you can easily use the API with the following code snippet:

textAnalysisApi = TextAnalysis(token='REPLACE-WITH-YOUR-TOKEN')
neticleTextAnalysisAnswer = None
try:
    neticleTextAnalysisAnswer = textAnalysisApi.getTextAnalyzed(language='en',
        input='This is a very good example text.')
except NeticleException as e:
    print('Something went wrong while getting the answer from Neticle Text Analysis API! The error message is: ' + str(e))

# Few example methods:
print('The provided text decorated with HTML spans around recognized entities, synonyms and phrases: ' + neticleTextAnalysisAnswer.getFullHTMLText())
print('The overall sentiment score (opinion index) calculated from the provided text: ' + neticleTextAnalysisAnswer.getOpinionIndex())
# For a detailed description of provided methods please refer to the TextAnalysisAnswer class's documentation.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for neticle-textanalysis-api-sdk, version 3.0.0
Filename, size File type Python version Upload date Hashes
Filename, size neticle_textanalysis_api_sdk-3.0.0-py3-none-any.whl (9.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size neticle-textanalysis-api-sdk-3.0.0.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page