Natural Language Processing

Text Analysis Using MeaningCloud’s Deep Categorization API

Written by on June 24, 2019 in Homeopathy, Natural Language Processing, Programming with 0 Comments
Text Analysis Using MeaningCloud’s Deep Categorization API

MeaningCloud announced their premium offering “Deep Categorization” service quite recently. You can read about it in this nice blog by Blanca Galego. Compared to the canonical classification models that rely on machine learning using large data sets, MeaningCloud’s deep categorization models use hand-crafted rules that take advantage of “morphosyntactic, semantic and contextual information” to classify a piece […]

Continue Reading

TextContents[ ] Function in Mathematica 12

Written by on April 21, 2019 in Mathematica, Natural Language Processing, Programming with 0 Comments
TextContents[ ] Function in Mathematica 12

Mathematica 12 was released a few days ago.  It has been over a year since version 11.3 came out in March 2018. The long wait appears justified since the new release boasts of numerous improvements and new features across several areas. You may want to read this blog post by Stephen Wolfram. In the area of […]

Continue Reading

Book Review: Grammar as Science

Written by on April 7, 2019 in Book Review, Natural Language Processing, Uncategorized with 0 Comments

Title: Grammar as Science Author: Richard K. Larson Publisher: The MIT Press Year: 2010 I love studying English Grammar. That is one of the reasons I enjoy working in the area of NLP. Machine Learning techniques apart, I firmly believe that a good understanding of the conventional approaches to modelling syntax and semantics is essential […]

Continue Reading

Text Summarization APIs

Written by on March 3, 2019 in Natural Language Processing with 1 Comment

I talked about detecting Emotion from text in the last two articles. Another popular text analysis service is Text Summarization.  There are two approaches for summarization: Extractive summarization Abstractive summarization In the first approach, “Extractive Summarization”, the system extracts key sentences from the given text and puts them together to form a summary. There are no new […]

Continue Reading

Emotion Detection using ParallelDots API

Written by on February 24, 2019 in LISP, Natural Language Processing, Programming with 0 Comments
Emotion Detection using ParallelDots API

Last week, I showed how we can use IBM Natural Language Understanding API to identify emotions from given text. Today, I would like to run through the same examples, but using ParallelDots API service. There are wrappers in Java, Python, Ruby, C#, and PHP for accessing the REST service. However, I chose to write my own […]

Continue Reading

Identifying Emotions from Text

Written by on February 17, 2019 in Natural Language Processing, Programming, Python with 0 Comments
Identifying Emotions from Text

Identifying the predominant sentiment in unstructured text is used widely these days. There are several REST API services that allow you to submit a piece of text and get back the corresponding sentiment analysis. Meaningcloud, Aylien, Google’s Cloud Natural Language API, and  IBM Natural Language Understanding Service are just a few. Emotion detection, especially from facial […]

Continue Reading

Coreference Resolution in Stanford CoreNLP

Written by on February 10, 2019 in Natural Language Processing, Programming with 0 Comments
Coreference Resolution in Stanford CoreNLP

In the last article, I showed how we can use the neuralcoref library along with spaCy to do coreference resolution (examples involved anaphoric references). In today’s article, I want to try the same (well, almost) examples in Stanford CoreNLP engine and see how they compare. Since CoreNLP is a Java implementation, I chose to write the test […]

Continue Reading

Coreference Resolution Using spaCy

Coreference Resolution Using spaCy

According to Stanford NLP Group, “Coreference resolution is the task of finding all expressions that refer to the same entity in a text”.  You can also read this Wikipedia page. For example, in the sentence “Tom dropped the glass jar by accident and broke it”, what does “it” refer to? I am sure you will […]

Continue Reading

Generating Poetry Using iLangGen

Written by on January 27, 2019 in LISP, Natural Language Processing, Programming with 0 Comments
Generating Poetry Using iLangGen

In an earlier article, I wrote about using iLangGen to generate natural language text. iLangGen is a powerful text generation library that I have been working on over the years. Today, I would like to show how we can use that library to generate “poetry“. Be warned, however, that the generated poem is devoid of […]

Continue Reading

Named Entity Recognition (NER) with OpenNLP

Written by on January 20, 2019 in Natural Language Processing, Programming with 0 Comments
Named Entity Recognition (NER) with OpenNLP

In the earlier two articles, we looked at Sentence Parsing and Chunking as supported in OpenNLP. In today’s article, let us explore Named Entity Recognition, also known as NER. NER is a technique to identify special categories of noun phrases such as people, places, companies, money, etc., present in the given text. This is widely used as […]

Continue Reading

Top