add a n-gram extractor (needs to be tested)