createSpellConfig {Aspell}R Documentation

Create a new aspell configuration object.

Description

This function creates a new apsell configuration object and allows the caller to set options within that. Options can also be set later during the life of the configuration object. The configuration object is rarely needed directly by users who want to spell words. It is useful if one wants to customize how the speller functions.

Usage

createSpellConfig(..., .values = NULL, class = "AspellConfig")

Arguments

... the mechanism for specifying name-value options to se in the new configuration object. This is intended for interactive use.
.values a named list or character vector giving option values for the new configuration object. See getSpellConfig.
class the name of the class that will be instantiated and returned containing the reference to the C-level configuration value. This argument allows the caller to easily specify the type of object that is desired and so this function can be used for derived classes of AspellConfig-class.

Value

An object of class class.

Author(s)

Duncan Temple Lang <duncan@wald.ucdavis.edu>

References

http://aspell.sourceforge.net

See Also

getSpellInfo getSpellConfig

Examples


 conf = createSpellConfig()

 conf = createSpellConfig(lang = "en")
 conf = createSpellConfig(lang = "en", mode = "email")

[Package Aspell version 0.2-0 Index]