Natural Language Processing

Parsing Text with Apache OpenNLP

Written by on January 8, 2019 in Natural Language Processing, Programming with 0 Comments
Parsing Text with Apache OpenNLP

In my earlier posts I have written about parsing text using spaCy and MeaningCloud’s parsing API. For today’s article, I decided to take a look at OpenNLP, an open-source ML-based Java toolkit for parsing natural language text. OpenNLP is a fairly mature library and has been around since 2004 (source: Wikipedia). It is actively maintained and […]

Continue Reading

Natural Language Interaction with iLexicon Using LUIS

Written by on December 30, 2018 in LISP, Natural Language Processing, Programming with 0 Comments
Natural Language Interaction with iLexicon Using LUIS

Some time ago, I had written a series of articles on my iLexicon project. It is a Lisp package that supports many interesting queries on English words. When I was discussing this project with a client recently, she asked me if it was possible to query the system in natural language instead of through Lisp. […]

Continue Reading

Generating Poetry Using RiTa

Written by on December 16, 2018 in Natural Language Processing, Programming with 0 Comments
Generating Poetry Using RiTa

A few days ago, I came across a nice library called RiTa, which is described as a software toolkit for computational literature. Its two major features are text analysis and text generation.  The text analysis module parses given text to extract sentences, tokens, POS, stresses, and phonemes. There is also interesting functionality to conjugate verbs, […]

Continue Reading

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

Top