Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
neticle-textanalysis-api-sdk
Advanced tools
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.
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.
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, TextSplitType
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.',
textSplitType=TextSplitType.SENTENCE)
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.
FAQs
Python SDK for Neticle Text Analysis API
We found that neticle-textanalysis-api-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.