add_stems: Add a file of new token-stems pairs

Description Usage Arguments Details Value Examples

Description

The file should have lines of the form <token>[whitespace]<stem>. Empty lines and lines starting with # will be ignored. An example of the correct format is system.file("extdata", "manual.dict", package = "Resha")

Usage

1
add_stems(fname)

Arguments

fname

Name of the file

Details

Note that changes to the token-stem mapping are not maintained between package loadings.

Value

None

Examples

1
2
newfile <- system.file("extdata", "manual.dict", package = "Resha")
add_stems(newfile)

conjugateprior/Resha documentation built on May 20, 2019, 5:20 p.m.