Find the k-shingles of a document.

k
Document