The sequence memoizer
A hierarchical dirichlet language model