Learn R Programming

wordnet (version 0.1-18)

getTermFilter: Get a Term Filter

Description

Get a term filter.

Usage

getTermFilter(type, word, ignoreCase)

Value

A term filter.

Arguments

type

Filter type. Available filters are "ContainsFilter", "EndsWithFilter", "ExactMatchFilter", "RegexFilter", "SoundFilter", "StartsWithFilter", and "WildcardFilter". Can also be a unique abbreviation of an available filter name.

word

Term to be matched.

ignoreCase

Indicates whether lower and upper case are distinguished.

Author

Ingo Feinerer

References

wordnet::Wallace:2007

Examples

Run this code
if(initDict())
  getTermFilter("StartsWithFilter", "car", TRUE)

Run the code above in your browser using DataLab