Efficient n-gram, Skipgram and Flexgram Modelling with Colibri Core

Authors

DOI:

https://doi.org/10.5334/jors.105

Keywords:

Natural Language Processing, Computational Linguistics, n-grams, skipgrams, corpus frequency, corpus analysis

Abstract

Counting n-grams lies at the core of any frequentist corpus analysis and is often considered a trivial matter. Going beyond consecutive n-grams to patterns such as skipgrams and flexgrams increases the demand for efficient solutions. The need to operate on big corpus data does so even more. Lossless compression and non-trivial algorithms are needed to lower the memory demands, yet retain good speed. Colibri Core is software for the efficient computation and querying of n-grams, skipgrams and flexgrams from corpus data. The resulting pattern models can be analysed and compared in various ways. The software offers a programming library for C++ and Python, as well as command-line tools.

Downloads

Published

2016-08-02

Issue

Section

Software Metapapers