Queryable n-gram server for language models