Implement ngram tokenizer as per
https://github.com/olivernn/lunr.js/pull/63/files