Natural Language Processing

Parsing Text with MeaningCloud’s Text Analytics API

Written by on December 9, 2018 in LISP, Natural Language Processing, Programming with 0 Comments
Parsing Text with MeaningCloud’s Text Analytics API

There is wide-spread interest in Natural Language Processing (NLP) today, and there are several API services available to cater to this demand. See this article for a fairly detailed list of services. All of them support multiple languages, including English. Today, I am going to share my experience in working with MeaningCloud’s Text Analytics API, […]

Continue Reading

Modeling Homeopathic Remedy Keynotes in Flora-2

Modeling Homeopathic Remedy Keynotes in Flora-2

In my last post, I got started with Flora-2 and showed how we can model homeopathic remedies from a therapeutics perspective. Although such a limited view of remedies can be helpful in treating acute ailments, for treating chronic diseases, a comprehensive understanding of the various remedies from the perspective of keynotes, kingdom classification and miasms […]

Continue Reading

Dependency Graph to RDF – Part 2

Written by on September 30, 2018 in LISP, Natural Language Processing, Programming with 0 Comments
Dependency Graph to RDF – Part 2

In the last post, I outlined an approach to convert a dependency graph (the result of dependency parsing) to RDF. The particular RDF format I used is Turtle, which is widely supported. Today, I would like to show how to load this RDF data in a Semantic  Graph database and make queries on it. There […]

Continue Reading

Dependency Graph to RDF

Written by on September 16, 2018 in Natural Language Processing, Programming, Python with 0 Comments
Dependency Graph to RDF

Dependency parsing is widely used these days, and many NLP tools give a dependency graph as the parsed representation of the input text. See for example, SpacY and TextRazor.  The following is the dependency tree corresponding to the sentence Mary is drinking cold water: The above tree was generated using SpacY. You can see that […]

Continue Reading

Sicstus Prolog – Building a Windows Executable

Written by on August 19, 2018 in Natural Language Processing, Programming, Prolog with 0 Comments
Sicstus Prolog – Building a Windows Executable

In my previous post, I showed how to build a C-based Windows DLL to execute Prolog predicates in the Sicstus Prolog engine. Today, I want to show how to build an executable (on Windows) from a C/C++ program that uses Sicstus prolog engine. The process is quite simple. In order to make things interesting, I am […]

Continue Reading

Question Answering Using Dependency Trees

Written by on April 22, 2018 in LISP, Natural Language Processing, Programming with 0 Comments
Question Answering Using Dependency Trees

A few weeks ago I had written about my brief experiment with Mathematica’s new feature, which provides answers to questions based on given text. After that post, I spent some time thinking about how to implement something similar. In today’s post, I want to show you what I have been able to do in the […]

Continue Reading

Natural Language Generation

Written by on April 8, 2018 in LISP, Natural Language Processing, Programming with 0 Comments
Natural Language Generation

I had written a series of posts on my iLangGen framework last year. It aims to provide a flexible and expressive approach for building natural language generation systems. In today’s post, I would like to describe a concrete example of how iLangGen can be used for generating natural language text from structured data, aided by […]

Continue Reading

Question Answering in Mathematica

Written by on March 25, 2018 in Mathematica, Natural Language Processing, Programming with 0 Comments
Question Answering in Mathematica

About 10 days ago, I received an update for Mathematica. The latest version is 11.3.0. As usual, I looked through the list of new features in this release. There are several new features, but one of them attracted my attention immediately: There is a new function FindTextualAnswer that, given a piece of text and a question, can […]

Continue Reading

Kangaroo Words

Written by on March 11, 2018 in LISP, Natural Language Processing, Programming with 0 Comments

According to Wikipedia, “A kangaroo word is a word that contains letters of another word, in order, with the same meaning. For example: the word ‘masculine’ contains the word ‘male’, which is a synonym of the first word; similarly, the word ‘observe’ contains its synonym ‘see’.” Interesting idea. The key point to note is that […]

Continue Reading

Sentiments and Emotions in iLexicon

Written by on February 25, 2018 in LISP, Natural Language Processing, Programming with 0 Comments

Detecting sentiments and emotions in a piece of text are frequently performed activities in Text analysis. There are some API services available for this. For example, meaningcloud.com  has an API for detecting sentiments in the text submitted to it. Another API service provider is aylien.com . Emotion detection for text is supported by qemotion.com. Because […]

Continue Reading

Top