K-shingles of a document transforms the document into a set containing all windows of k contiguous terms.
For example:
"We dance around the ring", which use 3-shingles can be divided as follows:
"we dance around"
"dance around the"
"around the ring"
"we dance around"
"dance around the"
"around the ring"
--Shu Wang