Add KneserNeySmoother for in-memory calculation (work in progress)