Computers are great at working with structured data like spreadsheets and database tables. But we humans usually communicate in words, not in tables. That’s unfortunate for computers. A lot of information in the world is unstructured — raw text in English or another human language. How can we get a computer to understand the unstructured text and extract data from it?
NLP is short for natural language processing while NLU is the shorthand for natural language understanding. Similarly named, the concepts both deal with the relationship between natural language (as in, what we as humans speak, not what computers understand) and artificial intelligence.
They share a common goal of making sense of concepts represented in unstructured data, like language, as opposed to structured data like statistics, actions, etc. To that end, NLP and NLU are opposites of a lot of other data mining techniques. But that’s where the comparisons stop: NLU and NLP aren’t the same things.
POS Tagger : Part Of Speech tagging for a piece of text.
Sentiment Analysis (English) : Analyses the sentiment of the text and returns if it falls under the positive, neutral, or negative sentiment.
NER Tagger : Named Entity Recognition Tagging for a piece of text.
Dependency Parser : Dependency Parser represents the Grammatical Structure of the Sentence.
Tags : Tags Extractor for extracting keywords from a paragraph.
All URIs below are relative to https://prod-kong.dltk.ai
POS Tagger | POST /core/nlp/pos/ |
Sentiment Analysis | POST /core/nlp/sentiment/ |
NER Tagger | POST /core/nlp/ner/ |
Dependency Parser | POST /core/nlp/dependency-parser/ |
Tags | POST /core/nlp/tags/ |
Description
POST
/core/nlp/posapi-key | Your App’s API Key |
text | Text Sentence (String) |
{ "text": "He did a terrific job at the construction site" }Response:
{ "text": "He did a terrific job at the construction site.", "result": { "the": "DT", "a": "DT", "site": "NN", "at": "IN", "terrific": "JJ", "construction": "NN", "job": "NN", "He": "PRP", "did": "VBD" } }
POST
/core/nlp/sentimentapi-key | Your App’s API Key |
text | Text Sentence (String) |
{ "text": "He has been always cheerful ever since he moved to Hyderabad." }Response:
{ "scores": { "neu": 0.741, "pos": 0.259, "compound": 0.5423, "neg": 0 }, "text": "He has been always cheerful ever since he moved to Hyderabady", "emotion": "POSITIVE", "polarity": 3 }
POST
/core/nlp/nerapi-key | Your App’s API Key |
text | Text Sentence (String) |
{ "text": "Madan Puri bought 300 shares of Acme Corp. in 2006." }Response:
{ "result": { "300": "CARDINAL", "2006": "DATE", "Madan Puri": "PERSON", "Acme Corp.": "ORG" }, "persons": [ { "Link": "https://en.wikipedia.org/wiki/Madan_Puri", "Name": "Madan Puri", "Nationality": "Indian", "Occupation": "Actor" } ], "text": "Madan Puri bought 300 shares of Acme Corp. in 2006." }
URIPOST
/core/nlp/dependency-parser/
api-key | Your App’s API Key |
text | Text Sentence (String) |
{ "text": "He is a cheerful guy." }Response:
{ "cheerful": { "children": [], "headPOS": "NOUN", "dep": "amod", "headText": "leader" }, "is": { "children": [ "He", "leader", "." ], "headPOS": "VERB", "dep": "ROOT", "headText": "is" }, "He": { "children": [], "headPOS": "VERB", "dep": "nsubj", "headText": "is" }, ".": { "children": [], "headPOS": "VERB", "dep": "punct", "headText": "is" }, "a": { "children": [], "headPOS": "NOUN", "dep": "det", "headText": "leader" }, "leader": { "children": [ "a", "cheerful" ], "headPOS": "VERB", "dep": "attr", "headText": "is" } }
POST
/core/nlp/tags/api-key | Your App’s API Key |
text | Text Sentence (String) |
{ "text": "TweetDeck is a social media dashboard application for management of Twitter accounts. Originally an independent app, TweetDeck was subsequently acquired by Twitter Inc. and integrated into Twitter's interface." }Response:
{ "tags": [ "tweetdeck", "twitter" ], "text": "TweetDeck is a social media dashboard application for management of Twitter accounts. Originally an independent app, TweetDeck was subsequently acquired by Twitter Inc. and integrated into Twitter's interface." }
Type | Description |
PERSON | People, including fictional. |
NORP | Nationalities or religious or political groups. |
LANGUAGE | Any named language. |
QUANTITY | Measurements, as of weight or distance. |
ORDINAL | “First”, “second”, etc. |
CARDINAL | Numerals that do not fall under another type. |
MONEY | Monetary values, including unit. |
PERCENT | Percentage, including “%”. |
TIME | Times smaller than a day. |
DATE | Absolute or relative dates or periods. |
EVENT | Named hurricanes, battles, wars, sports events, etc. |
WORK_OF_ART | Titles of books, songs, etc. |
LAW | Named documents made into laws. |
LOC | Non-GPE locations, mountain ranges, bodies of water. |
PRODUCT | Objects, vehicles, foods, etc. (not services). |
FAC | Buildings, airports, highways, bridges, etc. |
ORG | Companies, agencies, institutions, etc. |
GPE | Countries, cities, states, etc. |
POS | Description |
PUNCT | Punctuations |
CD | Cardinal Number |
SYM | Symbol |
DT | Determiner |
NN, NNS | Noun |
NNP, NNPS | Proper Noun |
PRP | Pronoun |
UH | Interjection |
JJ, JJR, JJS, WDT | Adjective, Comparative and Superlative |
ADP | AdPosition like in, during |
VB, VBG, VBN, VBP, VBZ | Verb |
RB, RBR, RBS | Adverb |
AUX | Auxiliary |
CC | Conjunction |
CCONJ | Coordinating Conjunction |
IN | Subordinating Conjunction |
pip install dltk_ai
client = dltk_ai.DltkAiClient('Your API Key')To use these services, one needs to register to dltk website and create a project. Copy your API key to use different APIs.
sentiment_analysis_response = client.sentiment_analysis("The stay was great.") sentiment_analysis_responseTo use these services, one needs to register to dltk website and create a project. Copy your API key to use different APIs.
pos_tagging_response = client.pos_tagger("The stay was great.") pos_tagging_response
dependency_parser_response = client.dependency_parser('He is a cheerful guy.') dependency_parser_response
ner_tagger_response = client.ner_tagger('Madan Puri bought 300 shares of Acme Corp. in 2006.') ner_tagger_response
tagger_response = client.tags('TweetDeck is a social media dashboard application for management of Twitter accounts. Originally an independent app, TweetDeck was subsequently acquired by Twitter Inc. and integrated intoTwitter's interface..') tagger_response
sarcasm_analysis_response = client.sarcasm_analysis("I am not insulting you, I am describing you") sarcasm_analysis_response
abuse_analysis_response = client.abuse_analysis("You need to shut the fuck up") abuse_analysis_response
Following are the release notes as part of Release 1.0.0
POS Tagger tags supported are DT, NN, IN, JJ, PRP, VBD etc.
NER Tagger tags supported are PER, ORG, LOC, DATE, GPE, PRODUCT, LANGUAGE, TIME, MONEY, QUANTITY etc.
Sentiment Analysis is supported only in English.
Tags Extractor works on paragraphs and minimum frequency of any word to be detected as keyword must be at least two.
The Info of the person detected in NER is the nearest match.
Prof. Sanjay Verma is area chair for aligning IT Business at IIM-A and has been mentoring fortunate few on developing great IT products for business.
Dr. Sanjay Verma holds his doctorate in space of Artificial Intelligence and is mentoring CIOs of variety of businesses. Government has appointed him as Independent director for one of India’s largest Public sector bank.
Mr. Sada Iyer played pivotal role in establishing HPE in India. He redefined Service Integration space in India. Sada is considered encyclopaedia of Banking across the globe and has lead globally BFSI division in world class firms like HPE and Oracle.
Sada has been sounding board to several banking and Insurance policy makers.
Experienced in Internal Audits, Risk Management , Corporate Governance and Business Advisory Services. He is a Certified Internal Auditor from The Institute of Internal Auditors, (USA), Certified Information Systems Auditor from ISACA (USA) , Certified Fraud Examiner from Association of Certified Fraud Examiners, (USA) & Specializes in Organizational Transformation, Risk Management and Corporate Governance.
Prof. K.C. John established Qualcomm in India. He is associated to World Economic Forum’s Sustainability Chapter. He has demonstrated a massive success in startup space by establishing successful firms back to back.
Currently he is on advisory board at Qubit AI and mentoring startups associated to Great Lakes Institute of Management and considered finest Professor to impart leadership lessons to Chief Executives.
Highly’ experienced in Research & Development, Strong knowledge Systems, product development, interpretation of National & International standards. Identifying product requirements / risks. Can solve any mechanical & electrical problems related to product development. Very Good at learning new things & implementing. Have 3 international patents.
Skilled in Product Management, AI/ML/DL,Domain expertise in various domains,Design and Lead AI COE, Skilled AI Trainer, Designing courses, Graduated Business Analytics professional from ISB.
Professional Chartered Accountant with experience in both Audit and Finance.