fake_simple: Calculate pseudowords by replacing bigrams/single letters

View source: R/fake_simple.R

fake_simpleR Documentation

Calculate pseudowords by replacing bigrams/single letters

Description

This function takes a list of tokens and returns a list of potential generated pseudowords by replacing characters based on legal bigrams within the word list set. Note: you should check the list, as random generation can generate a new real token.

Usage

fake_simple(wordlist)

Arguments

wordlist

a list of tokens you want to use to create your pseudowords.

Value

A dataset of original tokens and suggested pseudowords.

Examples

# af_top_sim$fake_cue <- fake_simple(af_top_sim$cue)


SemanticPriming/semanticprimeR documentation built on Dec. 5, 2024, 7:59 p.m.