NGgram extraction tools