Rebased Ngram

`__get_ngram_lengths` -> `_get_ngram_lengths`. 2 underscores are reserved to Python built-ins.