Learn R Programming

wordnet (version 0.1-16)

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

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

Examples

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

Run the code above in your browser using DataLab