Minor changes in ngram lira allowing to perform computations