synonyms {wordnet}R Documentation

Get synonyms for a word

Description

Get synonyms for a given word.

Usage

synonyms(dict, word)

Arguments

dict A WordNet dictionary.
word The input word.

Value

A character vector holding the synonyms for the given word.

Author(s)

Ingo Feinerer

See Also

getSynonyms

Examples

validInstallation <- initDict()
if (validInstallation) {
    dict <- getDictInstance()
    synonyms(dict, "company")
}

[Package wordnet version 0.1-1 Index]