Allow ngrams module to be used by other programs