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

add_stems(fname)

Arguments

fname

Name of the file

Value

Nothing

Details

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

Examples

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