Learn R Programming

RTextTools (version 1.4.3)

getStemLanguages: Query the languages supported in this package

Description

This dynamically determines the names of the languages for which stemming is supported by this package. This is controlled when the package is created (not installed) by downloading the stemming algorithms for the different languages.

This language support requires more support for Unicode and more complex text than simple strings.

Usage

getStemLanguages()

Arguments

Value

A character vector giving the names of the languages.

Details

This queries the C code for the list of languages that were compiled when the package was installed which in turn is determined by the code that was included in the distributed package itself.

References

See http://snowball.tartarus.org/

See Also

wordStem inst/scripts/download in the source of the Rstem package.