Tag: Pattern Matching

Pattern Matching: Comparing Elixir and Mathematica

Written by on August 16, 2020 in Elixir, Mathematica, Programming with 0 Comments
Pattern Matching: Comparing Elixir and Mathematica

One of the things I like about Elixir is its support for patterns at the core language level, not through library functions as in most other languages. This contributes to writing cleaner code, in my opinion.   Another environment that I am familiar with, namely Mathematica, boasts of (arguably) the most powerful symbolic programming language called […]

Continue Reading

Information Extraction Using spaCy’s Pattern Matcher

Written by on July 11, 2019 in Homeopathy, Natural Language Processing, Programming, Python with 0 Comments
Information Extraction Using spaCy’s Pattern Matcher

In the previous article, I explored the Deep Categorization capabilities of MeaningCloud. We saw how a powerful rule-based pattern matching language allowed us to map fragments of unstructured text to custom categories. In today’s post, I want to go through spaCy’s pattern matching capabilities. The version I am using is 2.0.13. Some newer features are available […]

Continue Reading

Pattern Matching with Optima Lisp Library – Part 3

Written by on June 29, 2016 in LISP, Music, Programming with 0 Comments
Pattern Matching with Optima Lisp Library – Part 3

In the previous two posts on this topic, I explained some of the basic pattern matching facilities of Optima library. There are many more advanced features in the library and I will try to discuss them in future posts. In today’s post, I will outline a straightforward application of the library for processing scores in Opusmodus. In […]

Continue Reading

Pattern Matching with Optima Lisp Library – Part 2

Written by on June 17, 2016 in LISP, Programming with 0 Comments

Let us continue where we left off last time. List Patterns If the incoming argument is a list, then we can use two types of list patterns to match the list elements, namely, list and list*. (match ‘(a b c)  ((list ‘a ‘b X) X)) => c This list pattern begins with the list keyword. […]

Continue Reading

Pattern Matching with Optima Lisp Library

Written by on June 9, 2016 in LISP, Programming with 0 Comments

In the previous two posts, we looked at external tools and libraries that can be used along with Opusmodus for algorithmic composition. In this post, I want to introduce another interesting Lisp library called Optima. Optima is a powerful library for pattern matching. Often, when we talk of pattern matching, the topic revolves around regular expressions. […]

Continue Reading

Top