compare_txt: Match cheaters

Description Usage Arguments Value Author(s)

View source: R/catch_em.R

Description

Match cheaters

Usage

1
compare_txt(txt1, txt2, n_grams = 10)

Arguments

txt1

a char vector of length 1 to compare to 'txt2'

txt2

a char vector of length 1 to compare to 'txt1'

n_grams

see ngram package.

Value

The percent (0-1) of overlap between the texts

Author(s)

Mattan S. Ben-Shachar


mattansb/cheatR documentation built on Dec. 24, 2019, 10:07 p.m.