setDict: Set Default Dictionary

Description Usage Arguments Value Author(s) References Examples

View source: R/dictionary.R

Description

The package wordnet tries to locate a valid WordNet installation on start up by investigating the WNHOME environment variable and by trying default installation locations. On success it acquires a pointer to the actual WordNet dictionary and stores internally a reference to the dictionary instance. However, if this procedure does not work automatically in your environment, you can provide the path to the WordNet installation and set the internal default reference via this function.

Usage

1
setDict(pathData)

Arguments

pathData

Path to the WordNet data files.

Value

A dictionary instance.

Author(s)

Ingo Feinerer

References

C. Fellbaum (1998). WordNet: An Electronic Lexical Database. Cambridge, MA: MIT Press. http://mitpress.mit.edu/books/wordnet

M. Wallace (2007). Jawbone Java WordNet API. http://mfwallace.googlepages.com/jawbone

Examples

1
## Not run: setDict("/usr/local/WordNet-3.0/dict")

wordnet documentation built on Nov. 26, 2017, 5:06 p.m.