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: ' + str(neticleTextAnalysisAnswer.getOpinionIndex()))
# For a detailed description of provided methods please refer to the TextAnalysisAnswer class's documentation.

Project details


Download files

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

Source Distribution

neticle-textanalysis-api-sdk-3.2.2.tar.gz (7.8 kB view details)

Uploaded Source

File details

Details for the file neticle-textanalysis-api-sdk-3.2.2.tar.gz.

File metadata

  • Download URL: neticle-textanalysis-api-sdk-3.2.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9

File hashes

Hashes for neticle-textanalysis-api-sdk-3.2.2.tar.gz
Algorithm Hash digest
SHA256 422035b238788a2daca89fbf594029f6b313013bcc7337f113d3d11ad80c442f
MD5 72fdb61dec4262e8c3530e811eae57ff
BLAKE2b-256 0a59fe13e67c1531b9c273f611be6138f9ef9a99c9af6763f9aca3ffe918f2e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page