* NLP tools you will not find in other APIs.
Extract rich insight into what users are expressing in your application by identifying a wide range of language utterances.
“ I'm writing because I'm worried about my retirement plan. I'm about to retire in a year but this nasty market crash has slashed my life investments in half. I really need your advice! ”
I'm writing because I'm worried about my retirement plan. I'm about to retire in a year but this nasty market crash has slashed my life
investments in half. I really need your advice! |
Spot the people, places, organizations, and dates discussed in your texts. We enrich your content with semantic knowledge, so you can dissect the subject easily.
“ Tesla ORG almost died earlier this year, Elon Musk PER said in an interview with AXIOS ORG that aired on HBO ORG . Musk PER said the company was "bleeding money like crazy" as it worked through the Model 3 MISC production ramp in the spring and summer. ”
Teslascore: 0.9654
Elon Muskscore: 0.9959
AXIOS Mediascore: 0.0052
HBOscore: 0.1508
Tesla Model 3score: 0.0087 |
Spot the people, places, organizations, and dates discussed in your texts. We enrich your content with semantic knowledge, so you can dissect the subject easily.
Our API can analyze your unstructured content and extract important tasks, including a concise representation of priority patterns.
“ Hi John, we need to finish the templates this week. Please send me your changes as soon as you can. Also let me know your available times for the meeting before the end of the next week. ”
Hi John, we need to finish the templates this week. Please send me your changes as soon as you can.
Also let me know your available times for the meeting
before the end of the next week. |
Create a user account to generate your user credentials, install our Python SDK and you are ready to start analyzing your texts.
# pip install codeq-nlp-api
from codeq_nlp_api import CodeqClient
client = CodeqClient(user_id="YOUR_USER_ID", user_key="YOUR_USER_KEY")
text = "This model is an expensive alternative with useless battery."
document = client.analyze(text)
Create an account to generate your user credentials, then install our Python SDK. You're ready to start analyzing your texts!
Define your own NLP pipeline based on the linguistic tools that you require for your application.
pipeline = "speech_acts, emotions, sentiment, sarcasm"
text = "This model is an expensive alternative with useless battery."
document = client.analyze(text, pipeline)
for sentence in document.sentences:
print(sentence)
"""
Output:
{
"speech_acts": "['Statement']",
"sentiments": "['Negative']",
"emotions": "['Disgust/Dislike']",
"sarcasm": "Non-sarcastic",
}
"""