Learn R Programming

wordnet (version 0.1-18)

getDict: 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()

Arguments

Value

A dictionary instance.

Author

Ingo Feinerer

Details

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

References

wordnet::Fellbaum:1998, wordnet::Wallace:2007

Examples

Run this code
if(initDict())
  getDict()

Run the code above in your browser using DataLab