ngram_proportion_same: Proportion n gram overlap

Description Usage Arguments Value Examples

Description

Proportion n gram overlap

Usage

1
ngram_proportion_same(a, b, n_grams, show = "none", meta = "none")

Arguments

a

character string of text

b

character string of text

n_grams

integer number of ngrams

Value

numeric proportion of ngram overlap

Examples

1
2
3
p1 <- "hello my name is someone someone"
p2 <- "my name is someone else"
ngram_proportion_same(p1,p2,2)

CrumpLab/playjareyesores documentation built on June 25, 2019, 8:29 a.m.