Programming

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

OCR Using Azure Computer Vision API

Written by on March 28, 2019 in Image Processing, Programming, Python with 0 Comments
OCR Using Azure Computer Vision API

I have been getting some good feedback on Azure’s Computer Vision API, in particular, the OCR functionality. Although I am not working on any project that requires this functionality at the moment, I thought it would be a good idea to check out the service – just to be “future ready”! This article is not […]

Continue Reading

Controlling Reaktor from Opusmodus Using OSC

Written by on March 20, 2019 in LISP, Music, Programming with 0 Comments
Controlling Reaktor from Opusmodus Using OSC

I am a great fan of Opusmodus software. I have written many articles about it in the past. Owing to my several other commitments, I am not able to spend much time on it these days, but I keep checking the features in new releases regularly. The software has evolved substantially since its first release a […]

Continue Reading

Book Review: C++ Concurrency in Action

Written by on March 10, 2019 in Book Review, C++, Programming with 0 Comments

Title: C++ Concurrency in Action Author: Anthony Williams Publisher: Manning Publications Co. Year: 2019 (Second Edition)   The first edition of this book came out in the year 2012 and covered the concurrency features of C++ 11. Much has happened since then. The present C++17 is significantly richer in terms of concurrency support, especially in […]

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