make ngramtokenizer a configurable option