getDict: Get Default Dictionary

View source: R/dictionary.R

getDictR Documentation

Get Default Dictionary

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. getDict returns this default reference.

Usage

getDict()

Details

You can manually point the package to the WordNet installation via setDict.

Value

A dictionary instance.

Author(s)

Ingo Feinerer

References

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

M. Wallace (2007). Jawbone Java WordNet API. https://sites.google.com/site/mfwallace/jawbone

Examples

if(initDict())
  getDict()

wordnet documentation built on Feb. 16, 2023, 10:19 p.m.