Programming

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

Chunking in OpenNLP

Written by on January 13, 2019 in Natural Language Processing, Programming with 0 Comments
Chunking in OpenNLP

In my previous post, I showed how to parse sentences using OpenNLP. Another useful feature supported by OpenNLP is “chunking”. That is the subject of today’s article. Chunking stands between part-of-speech tagging and full parse in terms of the information it captures. POS tagging assigns part of speech to individual tokens in a sentence. So, […]

Continue Reading

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

Book Review: Functional Programming in C++

Written by on December 2, 2018 in Book Review, C++, Programming with 1 Comment

Title: Functional Programming in C++: How to improve your C++ programs using functional techniques Author: Ivan Cukic Publisher: Manning Publications Co. Year: 2019 This book came out recently, about a week ago. I bought it immediately, and when I started to read it, I couldn’t put it down! Very informative and well written. If you […]

Continue Reading

Flora-2 and Acupuncture

Written by on November 21, 2018 in Acupuncture, Flora-2, Knowledge Representation, Programming with 0 Comments
Flora-2 and Acupuncture

In my previous post I gave examples of modeling homeopathy remedies using Flora-2. Today I want to show an example from a completely different domain namely, Acupuncture. Acupuncture is an ancient system of Chinese medicine and is practised in many countries. It is based on the principle that our body has several meridians, which are pathways for […]

Continue Reading

Simulating Possible Worlds in Flora-2

Written by on November 12, 2018 in Flora-2, Knowledge Representation, Programming with 0 Comments
Simulating Possible Worlds in Flora-2

The idea of encountering different worlds with varying truths is an interesting one. It has deep connections to philosophy and logic. For a nice discussion, see this article. Today, we are going to take advantage of Flora-2‘s module system to simulate possible worlds. Flora-2 allows us to dynamically associate any knowledge base (KB) with any […]

Continue Reading

Top