find_words: Prints out location for each _word_ in a character vector

Description Usage Arguments

Description

Prints out location for each word in a character vector

Usage

1
find_words(words, text, found_words)

Arguments

words

charcter vector of words

text

character vector of length 1 that is being searched

found_words

dataframe of words found with three columns: n_word – integer order of the word found, original_word – the word searched for and found with original case retained. starts_at – characer position of the first letter of the found word within the text provided.


rmsharp/wordPuzzle documentation built on May 26, 2019, 10:36 a.m.