shingles: Function to shingle (token or gram) a string into its k...

Description Usage Arguments Value Examples

View source: R/minhash_v2.R

Description

Function to shingle (token or gram) a string into its k components

Usage

1

Arguments

record

String or record

k

Parameter k, which is the number of shingle, tokens, or grams to break the string into

Value

Computes the shingled (tokened or grammed) version of a string

Examples

1
2
shingles("Alexander",2)
shingles("Alexander Smith", 2)

tlsh documentation built on Nov. 16, 2020, 9:15 a.m.

Related to shingles in tlsh...