Learn R Programming

wordnet (version 0.1-18)

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

wordnet::Wallace:2007

Examples

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

Run the code above in your browser using DataLab