Learn R Programming

wordnet (version 0.1-16)

initDict: Initialize Dictionary

Description

Initializes the WordNet dictionary using the Jawbone Java API to WordNet.

Usage

initDict(pathData = "")

Value

A logical value indicating whether a valid WordNet installation has been found.

Arguments

pathData

Path to the WordNet data files.

Author

Ingo Feinerer

Details

In case the user supplied path is invalid the function tries to find the installation itself by investigating the WNHOME environment variable and by trying default installation locations.

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

Run this code
if (FALSE) initDict("/usr/local/WordNet-3.0/dict")

Run the code above in your browser using DataLab