LISP

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

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

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

Experimenting with A Lisp-based Monadic Parser Combinator

Written by on September 2, 2018 in LISP, Programming with 0 Comments
Experimenting with A Lisp-based Monadic Parser Combinator

Recently I came across a nice Lisp-based Monadic Parser Combinator library written by Massung. Unlike the traditional parser generators such as ANTLR, this library allows us to embed the parser in Lisp. Similar libraries are available for other languages too (see, for example ParsecJ for Java). The original idea of Monadic parser is from Haskell’s Parsec […]

Continue Reading

Calling Go Functions from Lisp – Part 2

Written by on June 24, 2018 in Golang, LISP, Programming with 0 Comments
Calling Go Functions from Lisp – Part 2

In my earlier article Calling Go Functions from Lisp, I explained the steps for making calls to Go functions from another language, specifically LispWorks Lisp. Today, I want to give a slightly more  interesting example showing the use of Go channels through exported functions. Go is widely admired for its native support for concurrency via Goroutines. […]

Continue Reading

Calling Lisp Functions from Go Language

Written by on June 10, 2018 in Golang, LISP, Programming with 0 Comments
Calling Lisp Functions from Go Language

In the previous post, we saw how to invoke a Go function from Lisp. In today’s post, I would like to explain how to go in the other direction, namely, how to call Lisp functins from Go. There are two ways to do this. The first approach is to load the Lisp DLL (like any […]

Continue Reading

Calling Go Functions from Lisp

Written by on May 27, 2018 in Golang, LISP, Programming with 0 Comments
Calling Go Functions from Lisp

For the past few weeks I was travelling in the USA and had the pleasure of meeting several friends, some of whom are senior developers and architects. It was interesting to learn that many of them were either using Go language in their daily work, or were passionately endorsing the language! Due to lack of […]

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

Top