out_of_vocabulary: Out Of Vocabulary

Description Usage Arguments Value Author(s) Examples

View source: R/out_of_vocabulary.R

Description

out_of_vocabulary replaces words that are not included in a given vocabulary.

Usage

1
out_of_vocabulary(text, v = vocabulary, replacement = "oov")

Arguments

text

The text variable.

v

Character vector of words.

replacement

Character string replacing the out of vocabulary words.

Value

Returns a character vector with out of vocabulary words replaced.

Author(s)

Achilleas Passias

Examples

1
2

achilleas-251/txtprocess documentation built on March 30, 2020, 12:43 a.m.