Learn R Programming

wordnet (version 0.1-16)

getIndexTerms: Get Index Terms

Description

Get index terms from a WordNet dictionary as specified by a filter.

Usage

getIndexTerms(pos, maxLimit, filter)

Value

A list of index terms.

Arguments

pos

Part of speech type. Must be either "ADJECTIVE", "ADVERB", "NOUN", or "VERB".

maxLimit

Maximum number of results.

filter

A term filter (see getTermFilter).

Author

Ingo Feinerer

References

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

Examples

Run this code
if(initDict()) {
  filter <- getTermFilter("StartsWithFilter", "car", TRUE)
  getIndexTerms("NOUN", 5, filter)
}

Run the code above in your browser using DataLab